fo automation platform

26
Speaker’s Infomation Name : Dinh Nhat An. Birthday : 12/03/1983. Position : Technical Manager Email: [email protected] History : 2007 - 2011: Senior SE at VNG 2011- 2012:Technical Leader at TX-INC 2012 - Current: Technical Manager at FO

Upload: nhat-an-dinh

Post on 24-Jan-2018

239 views

Category:

Technology


0 download

TRANSCRIPT

Speaker’s Infomation

Name: Dinh Nhat An.

Birthday: 12/03/1983.

Position: Technical Manager

Email: [email protected]

History:

2007 - 2011: Senior SE at VNG

2011- 2012:Technical Leader at TX-INC

2012 - Current: Technical Manager at FO

Introduction

FO Automation Platform

– FO automation Requirements

– Web Admin

– Core Workers

Demo

Agenda

Introduction

Multi Servies, Platforms

Advertising System

FPT Online’s System Architecture

News System

FPT Online’s System Architecture

Multi stage Application life cycles

OPs teams that need to manage the deployment, patching, monitoring…

Run tasks(bash shell, paramiko, fabric …) in serial for multiple hosts.

Can’t tracking all operations of system team.

FPT Online’s System Architecture

IT Automation System Software

Pricing and Licensing

Manage up to 100 nodes => 10.000$ / year

Up to 250 nodes => 20.000$ / year.

Up to 500 nodes => 35.000$./.year.

6$ / node / month.

Manage 1000+ nodes.

Annual subscription price: Contact.

1 – 99 nodes : $112.

1.000 – 2.499 nodes : $93.

Your IT Automation System ???

( Do it yourself )

Ansible, Saltstack… => Python !?

Farbic – is python library and command-line tool for streamlining the use of SSH for

application deployment or system administration task .

Paramiko itself is a pure Python interface around SSH networking concepts.

Web Framework + Template engine (Bottle,Flask,Django, Yaml , Jinja2…).

Web Deployment V1

Web Deployment V1

FPT Online Automation Platform

FPT Online Automation - Requirements

Installation and Configuration of services.

Monitoring status server or service when deployment.

Collect all info log deployment service or hardware form central.

Task is module - scalable.

Centralization configuration management.

Run tasks in parallel for multiple hosts

FO automation has an agentless architecture

It integrates with third party such as: Kibana, Shinken, ES …

FPT Online Automation - Workflow

FPT Online Automation - Components

Build-in with multi module on backend.

Show all information to monitor.

Permission to user and project.

Watch jobs run in real time.

Statistic server : report chart,monitor server with api of kibana,shinken…

Deployment application and code,services,collect data…

Create,update,delete tasks,template,user,inventory…

FPT Online Automation - Web Admin

FPT Online Automation - Web Admin

Tasks module: Create / Edit / Delete task.

Inventory module: Create / Edit / Delete host.

FPT Online Automation - Web Admin

Jobs Template module: Create / Edit / Delete / Run jobs template.

FPT Online Automation - Web Admin

API center: allow all component connect to GET / UPDATE / SHARING component

operation – make data consistency between component.

Poller: polling data from task executing , arrange data and update to Redis.

Crawler: get data from redis and update to mongodb in real time for reporting.

Exec worker module: running task and update data to Redis

FPT Online Automation – Core Workers

FPT Online Automation – Core Workers

Flow Diagram.

Deploy Modules

Commands Modules

Files Modules

Inventory Modules

Monitoring Modules

Network Modules

Notification Modules

Packaging Modules

Source Control Modules

System Modules

FPT Online Automation – Core Workers

Core Modules

Parallel execution across multiple machines.

Automatic step-by-step reporting.

Consistent server environments.

Low overhead, templates based.

Quickly roll out updates.

Allow your ops team to focus on real problems.

The Benefits

Reference

http://www.ansible.com http://puppetlabs.com/

https://www.chef.io/ http://www.saltstack.com/

http://dev2ops.org/ http://devops.com/

Q&A

The End

Tel: +84 8 7300 9999Fax: +84 8 3929 1758

[email protected]