Devops services

download Devops services

of 16

  • date post

    15-Apr-2017
  • Category

    Technology

  • view

    486
  • download

    1

Embed Size (px)

Transcript of Devops services

DevOps Services

PREPARED BY:Mykola Zolotarov DevOps Engineer30 July 2015

Case: Automated tests with CI server

Run tests based on schedulerSingle point of reports and analyzing Notifications

2

CI JenkinsTerminology

3

Slave

Executes tasks (jobs)

Generates reports

Master

Provides WEB and API interfaces

Stores tasks (jobs)

Analyses reports, generates notifications

CI JenkinsArchitecture

4

Master

Slave

Slave

SlaveRun multiple tasks in parallelRun tasks in different geographical locationsHigh available in case of slave node failure

CI JenkinsArchitecture

Master

Master uses minimum resources, no licence neededUtilize maximum resources of windows machine with multiple slaves

Slave

RDP

Slave

RDP

Slave

RDP

5

CI JenkinsArchitecture

6

MasterUtilize all possible hosting platforms

Case: Infrastructure improvements

Client: SavvyMoney (CA, USA) company providing financial management services. There are several different web applications and environments.

Problem statement: Increasing total cost of ownership (TCO)Low SLA because of environmental problemsManually configured machines and servicesPoor hardware/software monitoring

Approach:Automatic fault toleranceAutomatic application scalingAutomatic configuration and server provisioningAutomatic application deploymentsSecurityContinuous monitoring and notificationsBackup and restore strategies

7

Infrastructure before improvements

8

db1db2clients

app1app2app3Numerous points of failureCost ineffectiveUnreliableManually configuredOnly vertical scaling is possibleSecurity issues

frontend server

mgmt

Infrastructure after improvements

9

app1 sg

app2 sg

app3 sg

frontend sg

load balancers

clientsmgmtdb1db1rdb2db2r

ACSmonitoringCIbastionDMZ

Redundancy N+1Cost effectiveReliableAutomatically configuredHorizontal scaling Advanced Security

High Availability (HA)Automatic fault toleranceGoals:No single point of failureTwo small are always better than one large

10

Lost one of production servers?Not a big deal, if you have configured HA

Automatic scalingCost saving and effectivenessGoals:Increase number of running machines on high load to get more capacityReduce number of machines when load decreases to save money

11

Without autoscalingWith autoscaling

Automatic server configuration

Automatically deploy and track servicesDefine desired state of infrastructure, not the way how to configure itManage infrastructure from single pointKeep infrastructure as code:

DevOps EngineerConfigurationServer

node 'www1.example.com' {package{nginx: ensure => installed }file {nginx.conf: content => template(nginx/nginx.conf.erb) }}

12

Continuous development & deployment

BuildTestDeploy

Commitcode to VCSPullChangesCI ServerCheckoutDevelopersSend notification

Deploy to repo13

Run automated tests

Real-time system health monitoring

14

Realtime statsHardware monitoringSoftware monitoringNotifications & Alerts

Advantages of DevOps services

SLA > 99.95% Up to 30% of TCO savingsFlow automationCost effective environmentsReliable infrastructureAutomatically configured instancesHorizontal auto scaling Advanced Security

15

?