modern infrastructure automation

45
November 15, 2016 Modern Infrastructure Automa:on Nathen Harvey, VP Community Development, Chef | @nathenharvey

Upload: sonatype

Post on 15-Apr-2017

173 views

Category:

Software


0 download

TRANSCRIPT

November15,2016

ModernInfrastructureAutoma:onNathenHarvey,VPCommunityDevelopment,Chef|@nathenharvey

November15,2016

NathenHarveyVP,CommunityDevelopmentatChefCo-hostoftheFoodFightShowPodcastOccasionalfarmer–hNp://ei.chef.ioLoveeggs–hNp://eggs.chef.io#hugops–hNp://hugops.chef.io@[email protected]

November15,2016

We’re no longer an airline. We’re a software company with wings.

– Veresh Sita, CIO, Alaska Airlines

Now every business is a software business

November15,2016

No high velocity company

has gotten there without automation at scale as a

foundation

Automation at scale is required for high velocity IT

ContinuousImprovement

Citi relies on Chef as the automation platform used to help transform over 3,000 application teams. Chef is important enough to Citi that Citi became an investor in Chef.

Chef is the platform for a continuous delivery pipeline empowering application teams to ship a thousand plus changes per day across “Carl Sagan size deployments.”

GE touts Chef as the most rapidly adopted technology in the history of GE.

idea ship

November15,2016

Automation at Scale

DynamicInfrastructure

November15,2016

Dynamic infrastructureMigrateapplica:onstothecloudandsupporthybridandmul:-cloudenvironments.Automatethemanagementofheterogeneousnetworks,includinglegacysystems.

•  ProvisioningandseUngupenvironments

•  Dynamicscalingofcomputeresources•  Migra:nglegacyworkloadstothecloud•  Mul:cloudandhybridcloud

deployment•  Supportforheterogeneous

environments

November15,2016

DynamicInfrastructure

Infrastructure as Code

+

Automation at Scale

November15,2016

Infrastructure as CodeTurninfrastructureintocode—infrastructureascodeisversionable,testableandrepeatable.Manualprocessesbecomeathingofthepast.

•  Automated,full-stackapplica:onpolicies•  Packageandserviceinstalla:on•  Versionable,testable,repeatableworkflow•  Scalableapplica:onpolicies•  Managementofinterdependenciesacross

nodes

November15,2016

InfrastructureasCode•  Programma:callyprovisionandconfigurecomponents

November15,2016

InfrastructureasCode•  Programma:callyprovisionandconfigurecomponents

•  Treatlikeanyothercodebase

November15,2016

InfrastructureasCode•  Programma:callyprovisionandconfigurecomponents

•  Treatlikeanyothercodebase

•  Reconstructbusinessfromcoderepository,databackup,andcomputeresources

November15,2016

Infrastructureascodeanddeliveryatscale

●  Manages deployment and on-going automation

●  Define reusable resources and infrastructure state as code

●  Scale elegantly from one to tens of thousands of managed nodes across multiple complex environments

November15,2016

TesttheCodedescribe'apache::default'docontext'Whenallattributesaredefault,onanunspecifiedplatform'dolet(:chef_run)dorunner=ChefSpec::ServerRunner.new(platform:'ubuntu',version:'16.04')runner.converge(described_recipe)endit'installsapache'doexpect(chef_run).toinstall_package'apache2'endendend

November15,2016

VersiontheCode&theAr:factname'all_day_devops'maintainer'NathenHarvey'maintainer_email'[email protected]'license'apache2'description'Installs/Configuresdevopsalldaylong'long_description'Installs/Configuresdevopsallday'version'0.1.0'

November15,2016

InfrastructureCode

SourceCodeRepo

ArtifactArtifact Repo

November15,2016

PipelinetoProduc:on

Test the �code

November15,2016

PipelinetoProduc:on

APPROVE

Test the �code

Does thiscode changelook good?

November15,2016

PipelinetoProduc:on

APPROVE

Test the �code

Build an artifact

Does thiscode changelook good?

November15,2016

PipelinetoProduc:on

APPROVE

Test the �code

Build an artifact

Test the �artifact

Does thiscode changelook good?

November15,2016

PipelinetoProduc:on

APPROVE DELIVER

Test the �code

Build an artifact

Test the �artifact

Does thiscode changelook good?

Do we wantto ship this?

November15,2016

PipelinetoProduc:on

APPROVE DELIVER

Test the �code

Build an artifact

Test the �artifact

Ship to customersDoes this

code changelook good?

Do we wantto ship this?

November15,2016

What’sNext?

November15,2016

Infrastructure Automation

InfrastructureAutoma:onisNOTEnough

November15,2016

November15,2016

Communications Problem

November15,2016

MappingComplianceDocumenttoInSpeccontrol'ssh-6.2.1'dotitle'SetSSHProtocolto2'end

November15,2016

MappingComplianceDocumenttoInSpeccontrol'ssh-6.2.1'dotitle'SetSSHProtocolto2'desc"SSHsupportstwodifferent..."end

November15,2016

MappingComplianceDocumenttoInSpeccontrol'ssh-6.2.1'dotitle'SetSSHProtocolto2'desc"SSHsupportstwodifferent..."describesshd_configdoits('Protocol'){shouldcmp('2')}endend

November15,2016

MappingComplianceDocumenttoInSpeccontrol'ssh-6.2.1'doimpact1.0title'SetSSHProtocolto2'desc"SSHsupportstwodifferent..."describesshd_configdoits('Protocol'){shouldcmp('2')}endend

November15,2016

Infrastructure Automation

Compliance Automation

November15,2016

November15,2016

Applica:ons

November15,2016

ModernApplica:ons

SourceCodeRepo

Artifact

Bare Metal

Containers

Cloud Instance

VM

Artifact Repo

November15,2016

OperableApplica:ons•  Isolated•  Immutable•  Configurable•  Commoninterfaceformonitoringhealth•  Rebuildfromsource•  Commonpackaging•  Run:meIndependence

November15,2016

FreedomtoFocus

• Createfeaturestodrivethebusinessanddelightcustomers

• Baremetal,virtualiza:on,cloud,PaaS?

• Deferchoicesaboutinfrastructureun:llateinthedevelopmentlifecycle

November15,2016

Infrastructure Automation

Application Automation

Compliance Automation

November15,2016

Infrastructure Automation Application Automation Compliance Automation

November15,2016

DEVOPS

A cultural and professional movement, focused on how we build and operate high velocity organizations, born from the experiences of its practitioners.

PeopleProducts

Companies

Non-bullet slideNon-bullet slide subtitle

CommunityOur Foundation

November15,2016

November15,2016

November15,2016

NathenHarveyVP,CommunityDevelopmentatChefCo-hostoftheFoodFightShowPodcastOccasionalfarmer–hNp://ei.chef.ioLoveeggs–hNp://eggs.chef.io#hugops–hNp://hugops.chef.io@[email protected]