SlideShare ist ein Scribd-Unternehmen logo
1 von 113
Downloaden Sie, um offline zu lesen
Agility Through
Infrastructure Automation
George Miranda
gmiranda@opscode.com
Austin Agile Conference 2012
November 16, 2012
Friday, November 16, 12
Introductions
# finger $(whoami)
Login: gmiranda! ! ! ! ! ! ! Name: George Miranda
Directory: /home/gmiranda! ! ! Shell: /bin/bash
On since Mon 14 Apr 1997 18:01 (GMT) on tty1 from :0
No mail on gmiranda@opscode.com
Plan:
twitter:! gmiranda23
github:!! gmiranda23
irc:!! ! gmiranda23! (irc.freenode.net - #chef)
community:!gmiranda23! (community.opscode.com)
role:! ! consultant, evangelist, trainer, *:*
Friday, November 16, 12
Scope
Friday, November 16, 12
Scope
Automation + Culture = Agility
Friday, November 16, 12
Scope
Automation + Culture = Agility
• Infrastructure Automation Approaches
Friday, November 16, 12
Scope
Automation + Culture = Agility
• Infrastructure Automation Approaches
• Infrastructure & Automation Best
Practices
Friday, November 16, 12
Scope
Automation + Culture = Agility
• Infrastructure Automation Approaches
• Infrastructure & Automation Best
Practices
• Cultural Pitfalls
Friday, November 16, 12
Scope
Automation + Culture = Agility
• Infrastructure Automation Approaches
• Infrastructure & Automation Best
Practices
• Cultural Pitfalls
• Making more awesome
Friday, November 16, 12
Scope
Automation + Culture = Agility
• Infrastructure Automation Approaches
• Infrastructure & Automation Best
Practices
• Cultural Pitfalls
• Making more awesome
What this talk is not
• Chef vs. Puppet
• Cloud All The Things!!!
• How to structure your
Organization
• Which Development Model to
adopt
Friday, November 16, 12
System Build Approaches
http://www.flickr.com/photos/dancedaoc/3083836988/sizes/z/in/photostream/
Friday, November 16, 12
Complications
• “That one host” you know you can’t rebuild
• Untracked configuration change
• Collections of Bash, PERL, Python, ???
• Rebuild from: wiki, cheatsheets, folklore
http://www.flickr.com/photos/humblog/4996661110/sizes/l/in/photostream/
Friday, November 16, 12
Unprecedented Growth
1990 1991 1992 1993 1994 1995 1996 1997 1998 1999 2000 2001 2002 2003 2004 2005 2006 2007 2008 2009 2010 2011 2012 2013 2014 201980 1981 1982 1983 1984 1985 1986 1987 1988 1989
Virtual Nodes
Physical Hardware
1980 1981 1982 1983 1984 1985 1986 1987 1988 1989 1990 1991 1992 1993 1994 1995 1996 1997 1998 1999 2000 2001 2002 2003 2004 2005 2006 2007 2008 2009 2010 2011 2012 2013 2014 2015
Friday, November 16, 12
Unprecedented Growth
1990 1991 1992 1993 1994 1995 1996 1997 1998 1999 2000 2001 2002 2003 2004 2005 2006 2007 2008 2009 2010 2011 2012 2013 2014 201980 1981 1982 1983 1984 1985 1986 1987 1988 1989
Virtual Nodes
Physical Hardware
1980
Mainframe
1980 1981 1982 1983 1984 1985 1986 1987 1988 1989 1990 1991 1992 1993 1994 1995 1996 1997 1998 1999 2000 2001 2002 2003 2004 2005 2006 2007 2008 2009 2010 2011 2012 2013 2014 2015
Friday, November 16, 12
Unprecedented Growth
1990 1991 1992 1993 1994 1995 1996 1997 1998 1999 2000 2001 2002 2003 2004 2005 2006 2007 2008 2009 2010 2011 2012 2013 2014 201980 1981 1982 1983 1984 1985 1986 1987 1988 1989
Virtual Nodes
Physical Hardware
1980
Mainframe
1990
Client/Server
1980 1981 1982 1983 1984 1985 1986 1987 1988 1989 1990 1991 1992 1993 1994 1995 1996 1997 1998 1999 2000 2001 2002 2003 2004 2005 2006 2007 2008 2009 2010 2011 2012 2013 2014 2015
Friday, November 16, 12
Unprecedented Growth
1990 1991 1992 1993 1994 1995 1996 1997 1998 1999 2000 2001 2002 2003 2004 2005 2006 2007 2008 2009 2010 2011 2012 2013 2014 201980 1981 1982 1983 1984 1985 1986 1987 1988 1989
Virtual Nodes
Physical Hardware
1980
Mainframe
1990
Client/Server
2000
Datacenter
1980 1981 1982 1983 1984 1985 1986 1987 1988 1989 1990 1991 1992 1993 1994 1995 1996 1997 1998 1999 2000 2001 2002 2003 2004 2005 2006 2007 2008 2009 2010 2011 2012 2013 2014 2015
Friday, November 16, 12
Unprecedented Growth
1990 1991 1992 1993 1994 1995 1996 1997 1998 1999 2000 2001 2002 2003 2004 2005 2006 2007 2008 2009 2010 2011 2012 2013 2014 201980 1981 1982 1983 1984 1985 1986 1987 1988 1989
Virtual Nodes
Physical Hardware
1980
Mainframe
1990
Client/Server
2000
Datacenter
2010+
Cloud
1980 1981 1982 1983 1984 1985 1986 1987 1988 1989 1990 1991 1992 1993 1994 1995 1996 1997 1998 1999 2000 2001 2002 2003 2004 2005 2006 2007 2008 2009 2010 2011 2012 2013 2014 2015
Friday, November 16, 12
Unprecedented Growth
1990 1991 1992 1993 1994 1995 1996 1997 1998 1999 2000 2001 2002 2003 2004 2005 2006 2007 2008 2009 2010 2011 2012 2013 2014 201980 1981 1982 1983 1984 1985 1986 1987 1988 1989
Virtual Nodes
Physical Hardware
1980
Mainframe
1990
Client/Server
2000
Datacenter
2010+
Cloud
The things that got us here…
…must change to get us here!
1980 1981 1982 1983 1984 1985 1986 1987 1988 1989 1990 1991 1992 1993 1994 1995 1996 1997 1998 1999 2000 2001 2002 2003 2004 2005 2006 2007 2008 2009 2010 2011 2012 2013 2014 2015
Friday, November 16, 12
The Rise of Configuration Management
http://www.flickr.com/photos/24375810@N06/6611017007
Friday, November 16, 12
We have a problem at scale
Friday, November 16, 12
Here’s a hint
Friday, November 16, 12
Cabling?
Friday, November 16, 12
Close...
Friday, November 16, 12
http://www.flickr.com/photos/michaelheiss/3090102907/
Complexity
Friday, November 16, 12
Infrastructure
Friday, November 16, 12
Items we manipulate
• Routes
• Users
• Groups
• Tasks
• Packages
• Software
• Services
• Nodes
• Networking
• Files
• Directories
• Symlinks
• Mounts
• Ruby Gems
• Python Modules
• Java Artifacts
• Disks
• Volumes
• Filesystems
• Firewall Rules
Friday, November 16, 12
See Node
Application
Friday, November 16, 12
See Nodes
Application
Application Database
Friday, November 16, 12
See Nodes Grow
Application
Application Databases
Friday, November 16, 12
Grow Nodes
App Servers
Application Databases
Friday, November 16, 12
...Grow
Load Balancer
Application Databases
App Servers
Friday, November 16, 12
Grow Nodes, Grow
Load Balancers
Application Databases
App Servers
Friday, November 16, 12
Grow Nodes, Grow
Load Balancers
App DB Cache
App Servers
Application Databases
Friday, November 16, 12
Infrastructure has a Topology
Load Balancers
App DB Cache
App Servers
Application Databases
Friday, November 16, 12
Infrastructure IS a Snowflake
Load Balancers
App DB Cache
App Servers
Application Databases
Floating IP?
Friday, November 16, 12
Complexity Increases Quickly
App LBs
App Servers
NoSQL
DB slaves
Cache
DB Cache
DBs
Friday, November 16, 12
... Increases Very Quickly
DC1 DC3
DC2
Friday, November 16, 12
Configuration Management
http://www.flickr.com/photos/philliecasablanca/3354734116/
Friday, November 16, 12
Sysadmins
Friday, November 16, 12
The Past
Friday, November 16, 12
• Labor intensive
• Error prone
• Hard to reproduce
• Unsustainable
http://www.flickr.com/photos/pureimaginations/4805330106/
Manual Configuration
Friday, November 16, 12
• Typically very brittle
• Throw away, one off scripts
• grep sed awk perl
• curl | bash
http://www.flickr.com/photos/40389360@N00/2428706650/
Scripting
Friday, November 16, 12
• NFS mounts
• rdist
• scp-on-a-for-loop
• rsync on cron
http://www.flickr.com/photos/walkadog/4317655660
File Distribution
Friday, November 16, 12
for i in `cat servers.txt` ;
do scp ntp.conf root@
$i:/etc/ntpd.conf ; done
for i in `cat servers.txt` ;
do ssh root@$i /etc/
init.d/ntpd restart ; done
for i in `cat servers.txt` ;
do ssh root@$i
chkconfig ntpd on ; done
• ^ does not scale
http://www.flickr.com/photos/alexerde/3479006495
This used to be awesome.
Friday, November 16, 12
• Cluster SSH
• ISConf
• Golden Images
Execution Management
Friday, November 16, 12
Typical Boring Infrastructure
Jboss App
Memcache
Postgres Slaves
Postgres Master
NagiosGraphite
Friday, November 16, 12
Typical Boring Infrastructure
Jboss App
Memcache
Postgres Slaves
Postgres Master
NagiosGraphite
• Move SSH off port 22
• Lets put it on 2022
Friday, November 16, 12
Typical Boring Infrastructure
Jboss App
Memcache
Postgres Slaves
Postgres Master
NagiosGraphite
• Move SSH off port 22
• Lets put it on 2022
• edit /etc/ssh/sshd_config
Friday, November 16, 12
Typical Boring Infrastructure
Jboss App
Memcache
Postgres Slaves
Postgres Master
NagiosGraphite
• Move SSH off port 22
• Lets put it on 2022
• edit /etc/ssh/sshd_config
1 2
3
4
5
6
Friday, November 16, 12
Maintenance Window
Jboss App
Memcache
Postgres Slaves
Postgres Master
NagiosGraphite
Friday, November 16, 12
Maintenance Window
Jboss App
Memcache
Postgres Slaves
Postgres Master
NagiosGraphite 1 2
3
8
5 64 7
9
10 11
12
• Launch, Delete
• Repeat
• Typically manually
Friday, November 16, 12
Maintenance Window
Jboss App
Memcache
Postgres Slaves
Postgres Master
NagiosGraphite 1 2
3
8
5 64 7
9
10 11
12
• Launch, Delete
• Repeat
• Typically manually
• Don’t break anything!
• Bob just got fired =(
Friday, November 16, 12
Different IP Addresses?
Jboss App
Memcache
Postgres Slaves
Postgres Master
NagiosGraphite
• Invalid configs!
Friday, November 16, 12
Systems Integration
• Keep a list of current
resources
• Collect vast amounts of data
on those resources
• Quickly search through stacks
of current resource data
• Generate your Infrastructure
Topology from a current
source of truth
http://www.flickr.com/photos/fotos_medem/3399096196/
Friday, November 16, 12
So when this...
Jboss App
Memcache
Postgres Slaves
Postgres Master
NagiosGraphite
Friday, November 16, 12
... becomes this...
Jboss App
Memcache
Postgres Slaves
Postgres Master
NagiosGraphite
Friday, November 16, 12
That can happen automatically
Jboss App
Memcache
Postgres Slaves
Postgres Master
NagiosGraphite
Friday, November 16, 12
Copyright © 2010 Opscode, Inc - All Rights Reserved 41
Friday, November 16, 12
Copyright © 2010 Opscode, Inc - All Rights Reserved 41
Friday, November 16, 12
Managing Complexity Today
Friday, November 16, 12
Managing Complexity Today
How Do we Manage This
at Cloud Scale?
• Thousands of infrastructure
dependencies and
configurations needed for
each change.
• Huge Amounts of Time
• Increased Cost of
Correction of Manual Errors
• Huge Need for Talent
• Risk of Critical Skills
Shortage
Friday, November 16, 12
Google,Amazon, Microsoft,Yahoo
built their own tools
Friday, November 16, 12
but it was “secret sauce”
Friday, November 16, 12
everyone else was here
... inexperienced & poorly equipped
for the world they must now
operate in.
Friday, November 16, 12
everyone else was here
... inexperienced & poorly equipped
for the world they must now
operate in.
Friday, November 16, 12
Infrastructure
"It is common to think in terms of individual
machines rather than view an entire
infrastructure as a combined whole"
“A good infrastructure, whether departmental,
divisional, or enterprise-wide, is a single loosely-
coupled virtual machine, with hundreds or
thousands of hard drives and CPU's.”
-- Bootstrapping an Infrastructure USENIX LISA ’98
Friday, November 16, 12
Infrastructure as Code
• Programmatically provision and
configure
• Treat like any other code base
• Gives you tools to manage
complexity while being flexible
enough to evolve with your
Infrastructure
• Reconstruct the business from
code repository, data backup, and
baremetal resources
Friday, November 16, 12
Declarative Syntax
• Define policy
• Say what, not how
• Abstraction between platforms
• Many positive side effects
Friday, November 16, 12
Idempotence
• You’ll hear this a lot
• Property of declarative interface
• Eliminates brittleness of
scripting
• Identity function: f(x)=x
• Safe to repeat
Friday, November 16, 12
Chef is a Tool
http://www.flickr.com/photos/wessexandy/7690486884/sizes/c/in/pool-96164123@N00/
Friday, November 16, 12
Wax Philosophical
• We are artists & masters of our
craft
• Everyone needs great tools
• Nobody remember’s Picasso’s
paintbrush
http://www.flickr.com/photos/vgm8383/2686128924/sizes/l/
Friday, November 16, 12
The core ideas in this talk:
Automation + Culture =
AGILITY!
Friday, November 16, 12
The core ideas in this talk:
Automation + Culture =
AGILITY!
Friday, November 16, 12
Pitfalls
http://www.flickr.com/photos/nesposit/2787559303/sizes/o/in/photostream/
Friday, November 16, 12
This should sound familiar...
Friday, November 16, 12
Friday, November 16, 12
Friday, November 16, 12
Traditional thinking
Dev’s job is to add new features
Ops’ job is to keep the site stable and fast
http://www.flickr.com/photos/stewart/461099066/
Slide Courtesy of John Allspaw - http://www.slideshare.net/jallspaw/10-deploys-per-day-dev-and-ops-cooperation-at-flickr
Friday, November 16, 12
Ops’ job is NOT to keep the site
stable and fast
Dev’s job is NOT to add new
features
Friday, November 16, 12
OUR job
is to ENABLE our business
Friday, November 16, 12
Our business
REQUIRES change
Friday, November 16, 12
BUT CHANGE IS THE CAUSE
OF MOST OUTAGES!
Friday, November 16, 12
Choose:
Discourage change in the interests of
stability
OR
Allow change to happen as often as it
needs to
Friday, November 16, 12
http://www.flickr.com/photos/gsfc/6795048198/sizes/o/in/photostream/
The Great Abyss
Friday, November 16, 12
The right culture is a requirement
for survival & success at web
scale.
Friday, November 16, 12
Lessons Learned:
Every Post-mortem
Friday, November 16, 12
Lessons Learned:
Every Post-mortem
Ever...
Friday, November 16, 12
Friday, November 16, 12
Root Cause:
“Bad Luck... it was a perfect
storm of impossible events”
Friday, November 16, 12
Lesson #1
“We have a bunch of manual
processes which we need to
automate”
Friday, November 16, 12
Copyright © 2010 Opscode, Inc - All Rights Reserved 70
Friday, November 16, 12
Lesson #2
“We introduced too many changes
at once”
Friday, November 16, 12
Friday, November 16, 12
Slide Courtesy of John Allspaw - http://www.slideshare.net/jallspaw/ops-metametrics-the-currency-you-pay-for-change
Friday, November 16, 12
Image Courtesy of John Allspaw - http://www.slideshare.net/jallspaw/ops-metametrics-the-currency-you-pay-for-change
RAAAWR!!!
I’m SCARY!
Friday, November 16, 12
Slide Courtesy of John Allspaw - http://www.slideshare.net/jallspaw/ops-metametrics-the-currency-you-pay-for-change
Friday, November 16, 12
Slide Courtesy of John Allspaw - http://www.slideshare.net/jallspaw/ops-metametrics-the-currency-you-pay-for-change
Friday, November 16, 12
Images Courtesy of John Allspaw - http://www.slideshare.net/jallspaw/ops-metametrics-the-currency-you-pay-for-change
I can haz
cuddle?
Friday, November 16, 12
Friday, November 16, 12
MAKE
MORE
AWESOME!!!
Friday, November 16, 12
Continuous Delivery
Faster Time toValue
Higher Availability
Happier Teams
More Cool Stuff
Friday, November 16, 12
Friday, November 16, 12
Stuff Suits Care About
• Visibility & Accountability
• Reduce Risk
• Business Agility
Friday, November 16, 12
Stuff Engineers care about
• Change when we need it
• Innovate Faster
• Constant Improvements
• Application & Site Resiliency
Friday, November 16, 12
Recap
Friday, November 16, 12
Recap
•Step 1) Automate your Infrastructure
Friday, November 16, 12
Recap
•Step 1) Automate your Infrastructure
•Step 2) Bridge the Cultural Divide
Friday, November 16, 12
Recap
•Step 1) Automate your Infrastructure
•Step 2) Bridge the Cultural Divide
•Step 3) Profit!
Friday, November 16, 12
Recap
•Step 1) Automate your Infrastructure
•Step 2) Bridge the Cultural Divide
•Step 3) Profit!
•Automation + Culture = Agility
Friday, November 16, 12
Try it out!
• Hosted Chef is a SaaS product hosted by Opscode
• http://manage.opscode.com
• Our wiki: http://wiki.opscode.com
• Fast start guide:
• http://wiki.opscode.com/display/chef/Fast+Start+Guide
• Our Community site: http://community.opscode.com
• Cookbooks in our Github account: http://github.com/opscode/cookbooks
• The materials for our 3-day Chef Fundamentals class are online:
• https://github.com/opscode/chef-fundamentals
Friday, November 16, 12
Supported Platforms
• Ubuntu (10.04, 10.10, 11.04, 11.10, 12.04)
• Debian (5.x, 6.x)
• RHEL & CentOS (5.x, 6.x)
• Fedora 10+
• SUSE Enterprise (11.2)
• openSUSE (12.1)
• Solaris (5.9, 5.10, 5.11 -- x86 and SPARC)
• Mac OS X (10.4, 10.5, 10.6, 10.7)
• Windows 7
• Windows Server 2003 R2, 2008, 2008 R2
Friday, November 16, 12
Additional Resources
• OpscodeYoutube Channel:
• http://www.youtube.com/opscode
• Jesse Robbins, Changing Culture & Being a force for Awesome
• http://www.youtube.com/watch?v=OU8ihx3nT6I
• Matt Ray on Automating Continuous Deployment
• http://www.opscode.com/blog/2012/11/13/automating-continuous-
deployment-wchef/
• Continuous Delivery by Jez Humble & David Farley
• http://continuousdelivery.com/
Friday, November 16, 12
Thanks!
• George Miranda
• gmiranda@opscode.com
• @gmiranda23
Friday, November 16, 12
Questions?
• On freenode: #chef and #chef-hacking
• http://lists.opscode.com
• http://tickets.opscode.com
• http://help.opscode.com
• @opscode and @opscode_status on Twitter
Friday, November 16, 12

Weitere ähnliche Inhalte

Andere mochten auch

Infrastructure Automation with Chef
Infrastructure Automation with ChefInfrastructure Automation with Chef
Infrastructure Automation with ChefJonathan Weiss
 
Case Study: How CA’s IT Automated Salesforce Deployments with CA Release Auto...
Case Study: How CA’s IT Automated Salesforce Deployments with CA Release Auto...Case Study: How CA’s IT Automated Salesforce Deployments with CA Release Auto...
Case Study: How CA’s IT Automated Salesforce Deployments with CA Release Auto...CA Technologies
 
Continuous Delivery - The ING Story: Improving time to market with DevOps and...
Continuous Delivery - The ING Story: Improving time to market with DevOps and...Continuous Delivery - The ING Story: Improving time to market with DevOps and...
Continuous Delivery - The ING Story: Improving time to market with DevOps and...CA Technologies
 
Continuous Integration (Jenkins/Hudson)
Continuous Integration (Jenkins/Hudson)Continuous Integration (Jenkins/Hudson)
Continuous Integration (Jenkins/Hudson)Dennys Hsieh
 
Jenkins - From Continuous Integration to Continuous Delivery
Jenkins - From Continuous Integration to Continuous DeliveryJenkins - From Continuous Integration to Continuous Delivery
Jenkins - From Continuous Integration to Continuous DeliveryVirendra Bhalothia
 
CI and CD with Jenkins
CI and CD with JenkinsCI and CD with Jenkins
CI and CD with JenkinsMartin Málek
 
Infrastructure Automation with Chef
Infrastructure Automation with ChefInfrastructure Automation with Chef
Infrastructure Automation with ChefAdam Jacob
 
DevOps and Continuous Delivery Reference Architectures - Volume 2
DevOps and Continuous Delivery Reference Architectures - Volume 2DevOps and Continuous Delivery Reference Architectures - Volume 2
DevOps and Continuous Delivery Reference Architectures - Volume 2Sonatype
 
DevOps and Continuous Delivery Reference Architectures (including Nexus and o...
DevOps and Continuous Delivery Reference Architectures (including Nexus and o...DevOps and Continuous Delivery Reference Architectures (including Nexus and o...
DevOps and Continuous Delivery Reference Architectures (including Nexus and o...Sonatype
 
Anatomy of a Continuous Integration and Delivery (CICD) Pipeline
Anatomy of a Continuous Integration and Delivery (CICD) PipelineAnatomy of a Continuous Integration and Delivery (CICD) Pipeline
Anatomy of a Continuous Integration and Delivery (CICD) PipelineRobert McDermott
 
Test Automation Strategies For Agile
Test Automation Strategies For AgileTest Automation Strategies For Agile
Test Automation Strategies For AgileNaresh Jain
 

Andere mochten auch (13)

Infrastructure Automation with Chef
Infrastructure Automation with ChefInfrastructure Automation with Chef
Infrastructure Automation with Chef
 
Continuous Delivery of Success
Continuous Delivery of SuccessContinuous Delivery of Success
Continuous Delivery of Success
 
Case Study: How CA’s IT Automated Salesforce Deployments with CA Release Auto...
Case Study: How CA’s IT Automated Salesforce Deployments with CA Release Auto...Case Study: How CA’s IT Automated Salesforce Deployments with CA Release Auto...
Case Study: How CA’s IT Automated Salesforce Deployments with CA Release Auto...
 
Continuous Delivery - The ING Story: Improving time to market with DevOps and...
Continuous Delivery - The ING Story: Improving time to market with DevOps and...Continuous Delivery - The ING Story: Improving time to market with DevOps and...
Continuous Delivery - The ING Story: Improving time to market with DevOps and...
 
Jenkins CI
Jenkins CIJenkins CI
Jenkins CI
 
Continuous Integration (Jenkins/Hudson)
Continuous Integration (Jenkins/Hudson)Continuous Integration (Jenkins/Hudson)
Continuous Integration (Jenkins/Hudson)
 
Jenkins - From Continuous Integration to Continuous Delivery
Jenkins - From Continuous Integration to Continuous DeliveryJenkins - From Continuous Integration to Continuous Delivery
Jenkins - From Continuous Integration to Continuous Delivery
 
CI and CD with Jenkins
CI and CD with JenkinsCI and CD with Jenkins
CI and CD with Jenkins
 
Infrastructure Automation with Chef
Infrastructure Automation with ChefInfrastructure Automation with Chef
Infrastructure Automation with Chef
 
DevOps and Continuous Delivery Reference Architectures - Volume 2
DevOps and Continuous Delivery Reference Architectures - Volume 2DevOps and Continuous Delivery Reference Architectures - Volume 2
DevOps and Continuous Delivery Reference Architectures - Volume 2
 
DevOps and Continuous Delivery Reference Architectures (including Nexus and o...
DevOps and Continuous Delivery Reference Architectures (including Nexus and o...DevOps and Continuous Delivery Reference Architectures (including Nexus and o...
DevOps and Continuous Delivery Reference Architectures (including Nexus and o...
 
Anatomy of a Continuous Integration and Delivery (CICD) Pipeline
Anatomy of a Continuous Integration and Delivery (CICD) PipelineAnatomy of a Continuous Integration and Delivery (CICD) Pipeline
Anatomy of a Continuous Integration and Delivery (CICD) Pipeline
 
Test Automation Strategies For Agile
Test Automation Strategies For AgileTest Automation Strategies For Agile
Test Automation Strategies For Agile
 

Ähnlich wie Austin agile conf 2012 infrastructure automation-gmiranda

Las maravillas de Google App Engine
Las maravillas de Google App EngineLas maravillas de Google App Engine
Las maravillas de Google App Enginecoto
 
Drupal 8 for site builders
Drupal 8 for site buildersDrupal 8 for site builders
Drupal 8 for site buildersswentel
 
History of database monitoring
History of database monitoringHistory of database monitoring
History of database monitoringKyle Hailey
 
Telco: Voice-Command Personal Agent Service with AWS Cloud (MBL202) | AWS re:...
Telco: Voice-Command Personal Agent Service with AWS Cloud (MBL202) | AWS re:...Telco: Voice-Command Personal Agent Service with AWS Cloud (MBL202) | AWS re:...
Telco: Voice-Command Personal Agent Service with AWS Cloud (MBL202) | AWS re:...Amazon Web Services
 
Operations Delivery Business Value
Operations Delivery Business ValueOperations Delivery Business Value
Operations Delivery Business ValueSonatype
 
Enabling Microservice @ Orbitz - GOTO Chicago 2016
Enabling Microservice @ Orbitz - GOTO Chicago 2016Enabling Microservice @ Orbitz - GOTO Chicago 2016
Enabling Microservice @ Orbitz - GOTO Chicago 2016Steve Hoffman
 
Overview of the Kaggle platform and its competitions
Overview of the Kaggle platform and its competitionsOverview of the Kaggle platform and its competitions
Overview of the Kaggle platform and its competitionsAlessandra Bilardi
 
Overboard.js - where are we going with with jsconfasia / devfestasia
Overboard.js - where are we going with with jsconfasia / devfestasiaOverboard.js - where are we going with with jsconfasia / devfestasia
Overboard.js - where are we going with with jsconfasia / devfestasiaChristian Heilmann
 
PyData: Past, Present Future (PyData SV 2014 Keynote)
PyData: Past, Present Future (PyData SV 2014 Keynote)PyData: Past, Present Future (PyData SV 2014 Keynote)
PyData: Past, Present Future (PyData SV 2014 Keynote)Peter Wang
 
Cassandra Meetup: Real-time Analytics using Cassandra, Spark and Shark at Ooyala
Cassandra Meetup: Real-time Analytics using Cassandra, Spark and Shark at OoyalaCassandra Meetup: Real-time Analytics using Cassandra, Spark and Shark at Ooyala
Cassandra Meetup: Real-time Analytics using Cassandra, Spark and Shark at OoyalaDataStax Academy
 
IoT, computer intelligence and javascript in the physical world
IoT, computer intelligence and javascript in the physical worldIoT, computer intelligence and javascript in the physical world
IoT, computer intelligence and javascript in the physical worldIvo Andreev
 
Finding Cars and Hunting Down Logs - ElasticSearch @AutoScout24
Finding Cars and Hunting Down Logs - ElasticSearch @AutoScout24Finding Cars and Hunting Down Logs - ElasticSearch @AutoScout24
Finding Cars and Hunting Down Logs - ElasticSearch @AutoScout24Philipp Garbe
 
What Ops Can Learn From Design
What Ops Can Learn From DesignWhat Ops Can Learn From Design
What Ops Can Learn From DesignRobert Treat
 
RobotsConf 2013 - 3d Printing - @skanik and @noopkat (previously known as @s...
RobotsConf 2013 -  3d Printing - @skanik and @noopkat (previously known as @s...RobotsConf 2013 -  3d Printing - @skanik and @noopkat (previously known as @s...
RobotsConf 2013 - 3d Printing - @skanik and @noopkat (previously known as @s...Suz Hinton
 
Scaling Django to the sky
Scaling Django to the skyScaling Django to the sky
Scaling Django to the skyNaren Arya
 
Moore vs. May - everything is faster and better: we can fix that
Moore vs. May - everything is faster and better: we can fix thatMoore vs. May - everything is faster and better: we can fix that
Moore vs. May - everything is faster and better: we can fix thatChristian Heilmann
 
Scaling Pinterest
Scaling PinterestScaling Pinterest
Scaling PinterestC4Media
 
State of Drupal keynote, DrupalCon Austin
State of Drupal keynote, DrupalCon AustinState of Drupal keynote, DrupalCon Austin
State of Drupal keynote, DrupalCon AustinDries Buytaert
 
Google Cloud: Next'19 Extended Hanoi
Google Cloud: Next'19 Extended HanoiGoogle Cloud: Next'19 Extended Hanoi
Google Cloud: Next'19 Extended HanoiGCPUserGroupVietnam
 
Cal Summit Small
Cal Summit SmallCal Summit Small
Cal Summit Smallmclee
 

Ähnlich wie Austin agile conf 2012 infrastructure automation-gmiranda (20)

Las maravillas de Google App Engine
Las maravillas de Google App EngineLas maravillas de Google App Engine
Las maravillas de Google App Engine
 
Drupal 8 for site builders
Drupal 8 for site buildersDrupal 8 for site builders
Drupal 8 for site builders
 
History of database monitoring
History of database monitoringHistory of database monitoring
History of database monitoring
 
Telco: Voice-Command Personal Agent Service with AWS Cloud (MBL202) | AWS re:...
Telco: Voice-Command Personal Agent Service with AWS Cloud (MBL202) | AWS re:...Telco: Voice-Command Personal Agent Service with AWS Cloud (MBL202) | AWS re:...
Telco: Voice-Command Personal Agent Service with AWS Cloud (MBL202) | AWS re:...
 
Operations Delivery Business Value
Operations Delivery Business ValueOperations Delivery Business Value
Operations Delivery Business Value
 
Enabling Microservice @ Orbitz - GOTO Chicago 2016
Enabling Microservice @ Orbitz - GOTO Chicago 2016Enabling Microservice @ Orbitz - GOTO Chicago 2016
Enabling Microservice @ Orbitz - GOTO Chicago 2016
 
Overview of the Kaggle platform and its competitions
Overview of the Kaggle platform and its competitionsOverview of the Kaggle platform and its competitions
Overview of the Kaggle platform and its competitions
 
Overboard.js - where are we going with with jsconfasia / devfestasia
Overboard.js - where are we going with with jsconfasia / devfestasiaOverboard.js - where are we going with with jsconfasia / devfestasia
Overboard.js - where are we going with with jsconfasia / devfestasia
 
PyData: Past, Present Future (PyData SV 2014 Keynote)
PyData: Past, Present Future (PyData SV 2014 Keynote)PyData: Past, Present Future (PyData SV 2014 Keynote)
PyData: Past, Present Future (PyData SV 2014 Keynote)
 
Cassandra Meetup: Real-time Analytics using Cassandra, Spark and Shark at Ooyala
Cassandra Meetup: Real-time Analytics using Cassandra, Spark and Shark at OoyalaCassandra Meetup: Real-time Analytics using Cassandra, Spark and Shark at Ooyala
Cassandra Meetup: Real-time Analytics using Cassandra, Spark and Shark at Ooyala
 
IoT, computer intelligence and javascript in the physical world
IoT, computer intelligence and javascript in the physical worldIoT, computer intelligence and javascript in the physical world
IoT, computer intelligence and javascript in the physical world
 
Finding Cars and Hunting Down Logs - ElasticSearch @AutoScout24
Finding Cars and Hunting Down Logs - ElasticSearch @AutoScout24Finding Cars and Hunting Down Logs - ElasticSearch @AutoScout24
Finding Cars and Hunting Down Logs - ElasticSearch @AutoScout24
 
What Ops Can Learn From Design
What Ops Can Learn From DesignWhat Ops Can Learn From Design
What Ops Can Learn From Design
 
RobotsConf 2013 - 3d Printing - @skanik and @noopkat (previously known as @s...
RobotsConf 2013 -  3d Printing - @skanik and @noopkat (previously known as @s...RobotsConf 2013 -  3d Printing - @skanik and @noopkat (previously known as @s...
RobotsConf 2013 - 3d Printing - @skanik and @noopkat (previously known as @s...
 
Scaling Django to the sky
Scaling Django to the skyScaling Django to the sky
Scaling Django to the sky
 
Moore vs. May - everything is faster and better: we can fix that
Moore vs. May - everything is faster and better: we can fix thatMoore vs. May - everything is faster and better: we can fix that
Moore vs. May - everything is faster and better: we can fix that
 
Scaling Pinterest
Scaling PinterestScaling Pinterest
Scaling Pinterest
 
State of Drupal keynote, DrupalCon Austin
State of Drupal keynote, DrupalCon AustinState of Drupal keynote, DrupalCon Austin
State of Drupal keynote, DrupalCon Austin
 
Google Cloud: Next'19 Extended Hanoi
Google Cloud: Next'19 Extended HanoiGoogle Cloud: Next'19 Extended Hanoi
Google Cloud: Next'19 Extended Hanoi
 
Cal Summit Small
Cal Summit SmallCal Summit Small
Cal Summit Small
 

Kürzlich hochgeladen

How to convert PDF to text with Nanonets
How to convert PDF to text with NanonetsHow to convert PDF to text with Nanonets
How to convert PDF to text with Nanonetsnaman860154
 
Pigging Solutions in Pet Food Manufacturing
Pigging Solutions in Pet Food ManufacturingPigging Solutions in Pet Food Manufacturing
Pigging Solutions in Pet Food ManufacturingPigging Solutions
 
Maximizing Board Effectiveness 2024 Webinar.pptx
Maximizing Board Effectiveness 2024 Webinar.pptxMaximizing Board Effectiveness 2024 Webinar.pptx
Maximizing Board Effectiveness 2024 Webinar.pptxOnBoard
 
08448380779 Call Girls In Diplomatic Enclave Women Seeking Men
08448380779 Call Girls In Diplomatic Enclave Women Seeking Men08448380779 Call Girls In Diplomatic Enclave Women Seeking Men
08448380779 Call Girls In Diplomatic Enclave Women Seeking MenDelhi Call girls
 
AI as an Interface for Commercial Buildings
AI as an Interface for Commercial BuildingsAI as an Interface for Commercial Buildings
AI as an Interface for Commercial BuildingsMemoori
 
Neo4j - How KGs are shaping the future of Generative AI at AWS Summit London ...
Neo4j - How KGs are shaping the future of Generative AI at AWS Summit London ...Neo4j - How KGs are shaping the future of Generative AI at AWS Summit London ...
Neo4j - How KGs are shaping the future of Generative AI at AWS Summit London ...Neo4j
 
Tech-Forward - Achieving Business Readiness For Copilot in Microsoft 365
Tech-Forward - Achieving Business Readiness For Copilot in Microsoft 365Tech-Forward - Achieving Business Readiness For Copilot in Microsoft 365
Tech-Forward - Achieving Business Readiness For Copilot in Microsoft 3652toLead Limited
 
Beyond Boundaries: Leveraging No-Code Solutions for Industry Innovation
Beyond Boundaries: Leveraging No-Code Solutions for Industry InnovationBeyond Boundaries: Leveraging No-Code Solutions for Industry Innovation
Beyond Boundaries: Leveraging No-Code Solutions for Industry InnovationSafe Software
 
From Event to Action: Accelerate Your Decision Making with Real-Time Automation
From Event to Action: Accelerate Your Decision Making with Real-Time AutomationFrom Event to Action: Accelerate Your Decision Making with Real-Time Automation
From Event to Action: Accelerate Your Decision Making with Real-Time AutomationSafe Software
 
08448380779 Call Girls In Friends Colony Women Seeking Men
08448380779 Call Girls In Friends Colony Women Seeking Men08448380779 Call Girls In Friends Colony Women Seeking Men
08448380779 Call Girls In Friends Colony Women Seeking MenDelhi Call girls
 
04-2024-HHUG-Sales-and-Marketing-Alignment.pptx
04-2024-HHUG-Sales-and-Marketing-Alignment.pptx04-2024-HHUG-Sales-and-Marketing-Alignment.pptx
04-2024-HHUG-Sales-and-Marketing-Alignment.pptxHampshireHUG
 
Key Features Of Token Development (1).pptx
Key  Features Of Token  Development (1).pptxKey  Features Of Token  Development (1).pptx
Key Features Of Token Development (1).pptxLBM Solutions
 
A Domino Admins Adventures (Engage 2024)
A Domino Admins Adventures (Engage 2024)A Domino Admins Adventures (Engage 2024)
A Domino Admins Adventures (Engage 2024)Gabriella Davis
 
Transforming Data Streams with Kafka Connect: An Introduction to Single Messa...
Transforming Data Streams with Kafka Connect: An Introduction to Single Messa...Transforming Data Streams with Kafka Connect: An Introduction to Single Messa...
Transforming Data Streams with Kafka Connect: An Introduction to Single Messa...HostedbyConfluent
 
My Hashitalk Indonesia April 2024 Presentation
My Hashitalk Indonesia April 2024 PresentationMy Hashitalk Indonesia April 2024 Presentation
My Hashitalk Indonesia April 2024 PresentationRidwan Fadjar
 
08448380779 Call Girls In Greater Kailash - I Women Seeking Men
08448380779 Call Girls In Greater Kailash - I Women Seeking Men08448380779 Call Girls In Greater Kailash - I Women Seeking Men
08448380779 Call Girls In Greater Kailash - I Women Seeking MenDelhi Call girls
 
IAC 2024 - IA Fast Track to Search Focused AI Solutions
IAC 2024 - IA Fast Track to Search Focused AI SolutionsIAC 2024 - IA Fast Track to Search Focused AI Solutions
IAC 2024 - IA Fast Track to Search Focused AI SolutionsEnterprise Knowledge
 
Scaling API-first – The story of a global engineering organization
Scaling API-first – The story of a global engineering organizationScaling API-first – The story of a global engineering organization
Scaling API-first – The story of a global engineering organizationRadu Cotescu
 
08448380779 Call Girls In Civil Lines Women Seeking Men
08448380779 Call Girls In Civil Lines Women Seeking Men08448380779 Call Girls In Civil Lines Women Seeking Men
08448380779 Call Girls In Civil Lines Women Seeking MenDelhi Call girls
 
Handwritten Text Recognition for manuscripts and early printed texts
Handwritten Text Recognition for manuscripts and early printed textsHandwritten Text Recognition for manuscripts and early printed texts
Handwritten Text Recognition for manuscripts and early printed textsMaria Levchenko
 

Kürzlich hochgeladen (20)

How to convert PDF to text with Nanonets
How to convert PDF to text with NanonetsHow to convert PDF to text with Nanonets
How to convert PDF to text with Nanonets
 
Pigging Solutions in Pet Food Manufacturing
Pigging Solutions in Pet Food ManufacturingPigging Solutions in Pet Food Manufacturing
Pigging Solutions in Pet Food Manufacturing
 
Maximizing Board Effectiveness 2024 Webinar.pptx
Maximizing Board Effectiveness 2024 Webinar.pptxMaximizing Board Effectiveness 2024 Webinar.pptx
Maximizing Board Effectiveness 2024 Webinar.pptx
 
08448380779 Call Girls In Diplomatic Enclave Women Seeking Men
08448380779 Call Girls In Diplomatic Enclave Women Seeking Men08448380779 Call Girls In Diplomatic Enclave Women Seeking Men
08448380779 Call Girls In Diplomatic Enclave Women Seeking Men
 
AI as an Interface for Commercial Buildings
AI as an Interface for Commercial BuildingsAI as an Interface for Commercial Buildings
AI as an Interface for Commercial Buildings
 
Neo4j - How KGs are shaping the future of Generative AI at AWS Summit London ...
Neo4j - How KGs are shaping the future of Generative AI at AWS Summit London ...Neo4j - How KGs are shaping the future of Generative AI at AWS Summit London ...
Neo4j - How KGs are shaping the future of Generative AI at AWS Summit London ...
 
Tech-Forward - Achieving Business Readiness For Copilot in Microsoft 365
Tech-Forward - Achieving Business Readiness For Copilot in Microsoft 365Tech-Forward - Achieving Business Readiness For Copilot in Microsoft 365
Tech-Forward - Achieving Business Readiness For Copilot in Microsoft 365
 
Beyond Boundaries: Leveraging No-Code Solutions for Industry Innovation
Beyond Boundaries: Leveraging No-Code Solutions for Industry InnovationBeyond Boundaries: Leveraging No-Code Solutions for Industry Innovation
Beyond Boundaries: Leveraging No-Code Solutions for Industry Innovation
 
From Event to Action: Accelerate Your Decision Making with Real-Time Automation
From Event to Action: Accelerate Your Decision Making with Real-Time AutomationFrom Event to Action: Accelerate Your Decision Making with Real-Time Automation
From Event to Action: Accelerate Your Decision Making with Real-Time Automation
 
08448380779 Call Girls In Friends Colony Women Seeking Men
08448380779 Call Girls In Friends Colony Women Seeking Men08448380779 Call Girls In Friends Colony Women Seeking Men
08448380779 Call Girls In Friends Colony Women Seeking Men
 
04-2024-HHUG-Sales-and-Marketing-Alignment.pptx
04-2024-HHUG-Sales-and-Marketing-Alignment.pptx04-2024-HHUG-Sales-and-Marketing-Alignment.pptx
04-2024-HHUG-Sales-and-Marketing-Alignment.pptx
 
Key Features Of Token Development (1).pptx
Key  Features Of Token  Development (1).pptxKey  Features Of Token  Development (1).pptx
Key Features Of Token Development (1).pptx
 
A Domino Admins Adventures (Engage 2024)
A Domino Admins Adventures (Engage 2024)A Domino Admins Adventures (Engage 2024)
A Domino Admins Adventures (Engage 2024)
 
Transforming Data Streams with Kafka Connect: An Introduction to Single Messa...
Transforming Data Streams with Kafka Connect: An Introduction to Single Messa...Transforming Data Streams with Kafka Connect: An Introduction to Single Messa...
Transforming Data Streams with Kafka Connect: An Introduction to Single Messa...
 
My Hashitalk Indonesia April 2024 Presentation
My Hashitalk Indonesia April 2024 PresentationMy Hashitalk Indonesia April 2024 Presentation
My Hashitalk Indonesia April 2024 Presentation
 
08448380779 Call Girls In Greater Kailash - I Women Seeking Men
08448380779 Call Girls In Greater Kailash - I Women Seeking Men08448380779 Call Girls In Greater Kailash - I Women Seeking Men
08448380779 Call Girls In Greater Kailash - I Women Seeking Men
 
IAC 2024 - IA Fast Track to Search Focused AI Solutions
IAC 2024 - IA Fast Track to Search Focused AI SolutionsIAC 2024 - IA Fast Track to Search Focused AI Solutions
IAC 2024 - IA Fast Track to Search Focused AI Solutions
 
Scaling API-first – The story of a global engineering organization
Scaling API-first – The story of a global engineering organizationScaling API-first – The story of a global engineering organization
Scaling API-first – The story of a global engineering organization
 
08448380779 Call Girls In Civil Lines Women Seeking Men
08448380779 Call Girls In Civil Lines Women Seeking Men08448380779 Call Girls In Civil Lines Women Seeking Men
08448380779 Call Girls In Civil Lines Women Seeking Men
 
Handwritten Text Recognition for manuscripts and early printed texts
Handwritten Text Recognition for manuscripts and early printed textsHandwritten Text Recognition for manuscripts and early printed texts
Handwritten Text Recognition for manuscripts and early printed texts
 

Austin agile conf 2012 infrastructure automation-gmiranda

  • 1. Agility Through Infrastructure Automation George Miranda gmiranda@opscode.com Austin Agile Conference 2012 November 16, 2012 Friday, November 16, 12
  • 2. Introductions # finger $(whoami) Login: gmiranda! ! ! ! ! ! ! Name: George Miranda Directory: /home/gmiranda! ! ! Shell: /bin/bash On since Mon 14 Apr 1997 18:01 (GMT) on tty1 from :0 No mail on gmiranda@opscode.com Plan: twitter:! gmiranda23 github:!! gmiranda23 irc:!! ! gmiranda23! (irc.freenode.net - #chef) community:!gmiranda23! (community.opscode.com) role:! ! consultant, evangelist, trainer, *:* Friday, November 16, 12
  • 4. Scope Automation + Culture = Agility Friday, November 16, 12
  • 5. Scope Automation + Culture = Agility • Infrastructure Automation Approaches Friday, November 16, 12
  • 6. Scope Automation + Culture = Agility • Infrastructure Automation Approaches • Infrastructure & Automation Best Practices Friday, November 16, 12
  • 7. Scope Automation + Culture = Agility • Infrastructure Automation Approaches • Infrastructure & Automation Best Practices • Cultural Pitfalls Friday, November 16, 12
  • 8. Scope Automation + Culture = Agility • Infrastructure Automation Approaches • Infrastructure & Automation Best Practices • Cultural Pitfalls • Making more awesome Friday, November 16, 12
  • 9. Scope Automation + Culture = Agility • Infrastructure Automation Approaches • Infrastructure & Automation Best Practices • Cultural Pitfalls • Making more awesome What this talk is not • Chef vs. Puppet • Cloud All The Things!!! • How to structure your Organization • Which Development Model to adopt Friday, November 16, 12
  • 11. Complications • “That one host” you know you can’t rebuild • Untracked configuration change • Collections of Bash, PERL, Python, ??? • Rebuild from: wiki, cheatsheets, folklore http://www.flickr.com/photos/humblog/4996661110/sizes/l/in/photostream/ Friday, November 16, 12
  • 12. Unprecedented Growth 1990 1991 1992 1993 1994 1995 1996 1997 1998 1999 2000 2001 2002 2003 2004 2005 2006 2007 2008 2009 2010 2011 2012 2013 2014 201980 1981 1982 1983 1984 1985 1986 1987 1988 1989 Virtual Nodes Physical Hardware 1980 1981 1982 1983 1984 1985 1986 1987 1988 1989 1990 1991 1992 1993 1994 1995 1996 1997 1998 1999 2000 2001 2002 2003 2004 2005 2006 2007 2008 2009 2010 2011 2012 2013 2014 2015 Friday, November 16, 12
  • 13. Unprecedented Growth 1990 1991 1992 1993 1994 1995 1996 1997 1998 1999 2000 2001 2002 2003 2004 2005 2006 2007 2008 2009 2010 2011 2012 2013 2014 201980 1981 1982 1983 1984 1985 1986 1987 1988 1989 Virtual Nodes Physical Hardware 1980 Mainframe 1980 1981 1982 1983 1984 1985 1986 1987 1988 1989 1990 1991 1992 1993 1994 1995 1996 1997 1998 1999 2000 2001 2002 2003 2004 2005 2006 2007 2008 2009 2010 2011 2012 2013 2014 2015 Friday, November 16, 12
  • 14. Unprecedented Growth 1990 1991 1992 1993 1994 1995 1996 1997 1998 1999 2000 2001 2002 2003 2004 2005 2006 2007 2008 2009 2010 2011 2012 2013 2014 201980 1981 1982 1983 1984 1985 1986 1987 1988 1989 Virtual Nodes Physical Hardware 1980 Mainframe 1990 Client/Server 1980 1981 1982 1983 1984 1985 1986 1987 1988 1989 1990 1991 1992 1993 1994 1995 1996 1997 1998 1999 2000 2001 2002 2003 2004 2005 2006 2007 2008 2009 2010 2011 2012 2013 2014 2015 Friday, November 16, 12
  • 15. Unprecedented Growth 1990 1991 1992 1993 1994 1995 1996 1997 1998 1999 2000 2001 2002 2003 2004 2005 2006 2007 2008 2009 2010 2011 2012 2013 2014 201980 1981 1982 1983 1984 1985 1986 1987 1988 1989 Virtual Nodes Physical Hardware 1980 Mainframe 1990 Client/Server 2000 Datacenter 1980 1981 1982 1983 1984 1985 1986 1987 1988 1989 1990 1991 1992 1993 1994 1995 1996 1997 1998 1999 2000 2001 2002 2003 2004 2005 2006 2007 2008 2009 2010 2011 2012 2013 2014 2015 Friday, November 16, 12
  • 16. Unprecedented Growth 1990 1991 1992 1993 1994 1995 1996 1997 1998 1999 2000 2001 2002 2003 2004 2005 2006 2007 2008 2009 2010 2011 2012 2013 2014 201980 1981 1982 1983 1984 1985 1986 1987 1988 1989 Virtual Nodes Physical Hardware 1980 Mainframe 1990 Client/Server 2000 Datacenter 2010+ Cloud 1980 1981 1982 1983 1984 1985 1986 1987 1988 1989 1990 1991 1992 1993 1994 1995 1996 1997 1998 1999 2000 2001 2002 2003 2004 2005 2006 2007 2008 2009 2010 2011 2012 2013 2014 2015 Friday, November 16, 12
  • 17. Unprecedented Growth 1990 1991 1992 1993 1994 1995 1996 1997 1998 1999 2000 2001 2002 2003 2004 2005 2006 2007 2008 2009 2010 2011 2012 2013 2014 201980 1981 1982 1983 1984 1985 1986 1987 1988 1989 Virtual Nodes Physical Hardware 1980 Mainframe 1990 Client/Server 2000 Datacenter 2010+ Cloud The things that got us here… …must change to get us here! 1980 1981 1982 1983 1984 1985 1986 1987 1988 1989 1990 1991 1992 1993 1994 1995 1996 1997 1998 1999 2000 2001 2002 2003 2004 2005 2006 2007 2008 2009 2010 2011 2012 2013 2014 2015 Friday, November 16, 12
  • 18. The Rise of Configuration Management http://www.flickr.com/photos/24375810@N06/6611017007 Friday, November 16, 12
  • 19. We have a problem at scale Friday, November 16, 12
  • 20. Here’s a hint Friday, November 16, 12
  • 25. Items we manipulate • Routes • Users • Groups • Tasks • Packages • Software • Services • Nodes • Networking • Files • Directories • Symlinks • Mounts • Ruby Gems • Python Modules • Java Artifacts • Disks • Volumes • Filesystems • Firewall Rules Friday, November 16, 12
  • 28. See Nodes Grow Application Application Databases Friday, November 16, 12
  • 29. Grow Nodes App Servers Application Databases Friday, November 16, 12
  • 30. ...Grow Load Balancer Application Databases App Servers Friday, November 16, 12
  • 31. Grow Nodes, Grow Load Balancers Application Databases App Servers Friday, November 16, 12
  • 32. Grow Nodes, Grow Load Balancers App DB Cache App Servers Application Databases Friday, November 16, 12
  • 33. Infrastructure has a Topology Load Balancers App DB Cache App Servers Application Databases Friday, November 16, 12
  • 34. Infrastructure IS a Snowflake Load Balancers App DB Cache App Servers Application Databases Floating IP? Friday, November 16, 12
  • 35. Complexity Increases Quickly App LBs App Servers NoSQL DB slaves Cache DB Cache DBs Friday, November 16, 12
  • 36. ... Increases Very Quickly DC1 DC3 DC2 Friday, November 16, 12
  • 40. • Labor intensive • Error prone • Hard to reproduce • Unsustainable http://www.flickr.com/photos/pureimaginations/4805330106/ Manual Configuration Friday, November 16, 12
  • 41. • Typically very brittle • Throw away, one off scripts • grep sed awk perl • curl | bash http://www.flickr.com/photos/40389360@N00/2428706650/ Scripting Friday, November 16, 12
  • 42. • NFS mounts • rdist • scp-on-a-for-loop • rsync on cron http://www.flickr.com/photos/walkadog/4317655660 File Distribution Friday, November 16, 12
  • 43. for i in `cat servers.txt` ; do scp ntp.conf root@ $i:/etc/ntpd.conf ; done for i in `cat servers.txt` ; do ssh root@$i /etc/ init.d/ntpd restart ; done for i in `cat servers.txt` ; do ssh root@$i chkconfig ntpd on ; done • ^ does not scale http://www.flickr.com/photos/alexerde/3479006495 This used to be awesome. Friday, November 16, 12
  • 44. • Cluster SSH • ISConf • Golden Images Execution Management Friday, November 16, 12
  • 45. Typical Boring Infrastructure Jboss App Memcache Postgres Slaves Postgres Master NagiosGraphite Friday, November 16, 12
  • 46. Typical Boring Infrastructure Jboss App Memcache Postgres Slaves Postgres Master NagiosGraphite • Move SSH off port 22 • Lets put it on 2022 Friday, November 16, 12
  • 47. Typical Boring Infrastructure Jboss App Memcache Postgres Slaves Postgres Master NagiosGraphite • Move SSH off port 22 • Lets put it on 2022 • edit /etc/ssh/sshd_config Friday, November 16, 12
  • 48. Typical Boring Infrastructure Jboss App Memcache Postgres Slaves Postgres Master NagiosGraphite • Move SSH off port 22 • Lets put it on 2022 • edit /etc/ssh/sshd_config 1 2 3 4 5 6 Friday, November 16, 12
  • 49. Maintenance Window Jboss App Memcache Postgres Slaves Postgres Master NagiosGraphite Friday, November 16, 12
  • 50. Maintenance Window Jboss App Memcache Postgres Slaves Postgres Master NagiosGraphite 1 2 3 8 5 64 7 9 10 11 12 • Launch, Delete • Repeat • Typically manually Friday, November 16, 12
  • 51. Maintenance Window Jboss App Memcache Postgres Slaves Postgres Master NagiosGraphite 1 2 3 8 5 64 7 9 10 11 12 • Launch, Delete • Repeat • Typically manually • Don’t break anything! • Bob just got fired =( Friday, November 16, 12
  • 52. Different IP Addresses? Jboss App Memcache Postgres Slaves Postgres Master NagiosGraphite • Invalid configs! Friday, November 16, 12
  • 53. Systems Integration • Keep a list of current resources • Collect vast amounts of data on those resources • Quickly search through stacks of current resource data • Generate your Infrastructure Topology from a current source of truth http://www.flickr.com/photos/fotos_medem/3399096196/ Friday, November 16, 12
  • 54. So when this... Jboss App Memcache Postgres Slaves Postgres Master NagiosGraphite Friday, November 16, 12
  • 55. ... becomes this... Jboss App Memcache Postgres Slaves Postgres Master NagiosGraphite Friday, November 16, 12
  • 56. That can happen automatically Jboss App Memcache Postgres Slaves Postgres Master NagiosGraphite Friday, November 16, 12
  • 57. Copyright © 2010 Opscode, Inc - All Rights Reserved 41 Friday, November 16, 12
  • 58. Copyright © 2010 Opscode, Inc - All Rights Reserved 41 Friday, November 16, 12
  • 60. Managing Complexity Today How Do we Manage This at Cloud Scale? • Thousands of infrastructure dependencies and configurations needed for each change. • Huge Amounts of Time • Increased Cost of Correction of Manual Errors • Huge Need for Talent • Risk of Critical Skills Shortage Friday, November 16, 12
  • 61. Google,Amazon, Microsoft,Yahoo built their own tools Friday, November 16, 12
  • 62. but it was “secret sauce” Friday, November 16, 12
  • 63. everyone else was here ... inexperienced & poorly equipped for the world they must now operate in. Friday, November 16, 12
  • 64. everyone else was here ... inexperienced & poorly equipped for the world they must now operate in. Friday, November 16, 12
  • 65. Infrastructure "It is common to think in terms of individual machines rather than view an entire infrastructure as a combined whole" “A good infrastructure, whether departmental, divisional, or enterprise-wide, is a single loosely- coupled virtual machine, with hundreds or thousands of hard drives and CPU's.” -- Bootstrapping an Infrastructure USENIX LISA ’98 Friday, November 16, 12
  • 66. Infrastructure as Code • Programmatically provision and configure • Treat like any other code base • Gives you tools to manage complexity while being flexible enough to evolve with your Infrastructure • Reconstruct the business from code repository, data backup, and baremetal resources Friday, November 16, 12
  • 67. Declarative Syntax • Define policy • Say what, not how • Abstraction between platforms • Many positive side effects Friday, November 16, 12
  • 68. Idempotence • You’ll hear this a lot • Property of declarative interface • Eliminates brittleness of scripting • Identity function: f(x)=x • Safe to repeat Friday, November 16, 12
  • 69. Chef is a Tool http://www.flickr.com/photos/wessexandy/7690486884/sizes/c/in/pool-96164123@N00/ Friday, November 16, 12
  • 70. Wax Philosophical • We are artists & masters of our craft • Everyone needs great tools • Nobody remember’s Picasso’s paintbrush http://www.flickr.com/photos/vgm8383/2686128924/sizes/l/ Friday, November 16, 12
  • 71. The core ideas in this talk: Automation + Culture = AGILITY! Friday, November 16, 12
  • 72. The core ideas in this talk: Automation + Culture = AGILITY! Friday, November 16, 12
  • 74. This should sound familiar... Friday, November 16, 12
  • 77. Traditional thinking Dev’s job is to add new features Ops’ job is to keep the site stable and fast http://www.flickr.com/photos/stewart/461099066/ Slide Courtesy of John Allspaw - http://www.slideshare.net/jallspaw/10-deploys-per-day-dev-and-ops-cooperation-at-flickr Friday, November 16, 12
  • 78. Ops’ job is NOT to keep the site stable and fast Dev’s job is NOT to add new features Friday, November 16, 12
  • 79. OUR job is to ENABLE our business Friday, November 16, 12
  • 81. BUT CHANGE IS THE CAUSE OF MOST OUTAGES! Friday, November 16, 12
  • 82. Choose: Discourage change in the interests of stability OR Allow change to happen as often as it needs to Friday, November 16, 12
  • 84. The right culture is a requirement for survival & success at web scale. Friday, November 16, 12
  • 88. Root Cause: “Bad Luck... it was a perfect storm of impossible events” Friday, November 16, 12
  • 89. Lesson #1 “We have a bunch of manual processes which we need to automate” Friday, November 16, 12
  • 90. Copyright © 2010 Opscode, Inc - All Rights Reserved 70 Friday, November 16, 12
  • 91. Lesson #2 “We introduced too many changes at once” Friday, November 16, 12
  • 93. Slide Courtesy of John Allspaw - http://www.slideshare.net/jallspaw/ops-metametrics-the-currency-you-pay-for-change Friday, November 16, 12
  • 94. Image Courtesy of John Allspaw - http://www.slideshare.net/jallspaw/ops-metametrics-the-currency-you-pay-for-change RAAAWR!!! I’m SCARY! Friday, November 16, 12
  • 95. Slide Courtesy of John Allspaw - http://www.slideshare.net/jallspaw/ops-metametrics-the-currency-you-pay-for-change Friday, November 16, 12
  • 96. Slide Courtesy of John Allspaw - http://www.slideshare.net/jallspaw/ops-metametrics-the-currency-you-pay-for-change Friday, November 16, 12
  • 97. Images Courtesy of John Allspaw - http://www.slideshare.net/jallspaw/ops-metametrics-the-currency-you-pay-for-change I can haz cuddle? Friday, November 16, 12
  • 100. Continuous Delivery Faster Time toValue Higher Availability Happier Teams More Cool Stuff Friday, November 16, 12
  • 102. Stuff Suits Care About • Visibility & Accountability • Reduce Risk • Business Agility Friday, November 16, 12
  • 103. Stuff Engineers care about • Change when we need it • Innovate Faster • Constant Improvements • Application & Site Resiliency Friday, November 16, 12
  • 105. Recap •Step 1) Automate your Infrastructure Friday, November 16, 12
  • 106. Recap •Step 1) Automate your Infrastructure •Step 2) Bridge the Cultural Divide Friday, November 16, 12
  • 107. Recap •Step 1) Automate your Infrastructure •Step 2) Bridge the Cultural Divide •Step 3) Profit! Friday, November 16, 12
  • 108. Recap •Step 1) Automate your Infrastructure •Step 2) Bridge the Cultural Divide •Step 3) Profit! •Automation + Culture = Agility Friday, November 16, 12
  • 109. Try it out! • Hosted Chef is a SaaS product hosted by Opscode • http://manage.opscode.com • Our wiki: http://wiki.opscode.com • Fast start guide: • http://wiki.opscode.com/display/chef/Fast+Start+Guide • Our Community site: http://community.opscode.com • Cookbooks in our Github account: http://github.com/opscode/cookbooks • The materials for our 3-day Chef Fundamentals class are online: • https://github.com/opscode/chef-fundamentals Friday, November 16, 12
  • 110. Supported Platforms • Ubuntu (10.04, 10.10, 11.04, 11.10, 12.04) • Debian (5.x, 6.x) • RHEL & CentOS (5.x, 6.x) • Fedora 10+ • SUSE Enterprise (11.2) • openSUSE (12.1) • Solaris (5.9, 5.10, 5.11 -- x86 and SPARC) • Mac OS X (10.4, 10.5, 10.6, 10.7) • Windows 7 • Windows Server 2003 R2, 2008, 2008 R2 Friday, November 16, 12
  • 111. Additional Resources • OpscodeYoutube Channel: • http://www.youtube.com/opscode • Jesse Robbins, Changing Culture & Being a force for Awesome • http://www.youtube.com/watch?v=OU8ihx3nT6I • Matt Ray on Automating Continuous Deployment • http://www.opscode.com/blog/2012/11/13/automating-continuous- deployment-wchef/ • Continuous Delivery by Jez Humble & David Farley • http://continuousdelivery.com/ Friday, November 16, 12
  • 112. Thanks! • George Miranda • gmiranda@opscode.com • @gmiranda23 Friday, November 16, 12
  • 113. Questions? • On freenode: #chef and #chef-hacking • http://lists.opscode.com • http://tickets.opscode.com • http://help.opscode.com • @opscode and @opscode_status on Twitter Friday, November 16, 12