modern infrastructure automation
TRANSCRIPT
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
Dynamic infrastructureMigrateapplica:onstothecloudandsupporthybridandmul:-cloudenvironments.Automatethemanagementofheterogeneousnetworks,includinglegacysystems.
• ProvisioningandseUngupenvironments
• Dynamicscalingofcomputeresources• Migra:nglegacyworkloadstothecloud• Mul:cloudandhybridcloud
deployment• Supportforheterogeneous
environments
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
• 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
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
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
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
DEVOPS
A cultural and professional movement, focused on how we build and operate high velocity organizations, born from the experiences of its practitioners.
November15,2016
NathenHarveyVP,CommunityDevelopmentatChefCo-hostoftheFoodFightShowPodcastOccasionalfarmer–hNp://ei.chef.ioLoveeggs–hNp://eggs.chef.io#hugops–hNp://hugops.chef.io@[email protected]