SlideShare a Scribd company logo
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

More Related Content

Viewers also liked

Infrastructure Automation with Chef
Infrastructure Automation with ChefInfrastructure Automation with Chef
Infrastructure Automation with Chef
Jonathan Weiss
 
Continuous Delivery of Success
Continuous Delivery of SuccessContinuous Delivery of Success
Continuous Delivery of Success
Alexander Sutherland
 
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
 
Jenkins CI
Jenkins CIJenkins CI
Jenkins CI
haochenglee
 
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 Delivery
Virendra Bhalothia
 
CI and CD with Jenkins
CI and CD with JenkinsCI and CD with Jenkins
CI and CD with Jenkins
Martin Málek
 
Infrastructure Automation with Chef
Infrastructure Automation with ChefInfrastructure Automation with Chef
Infrastructure Automation with Chef
Adam 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 2
Sonatype
 
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) Pipeline
Robert McDermott
 
Test Automation Strategies For Agile
Test Automation Strategies For AgileTest Automation Strategies For Agile
Test Automation Strategies For Agile
Naresh Jain
 

Viewers also liked (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
 

Similar to 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 Engine
coto
 
Drupal 8 for site builders
Drupal 8 for site buildersDrupal 8 for site builders
Drupal 8 for site builders
swentel
 
History of database monitoring
History of database monitoringHistory of database monitoring
History of database monitoring
Kyle 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 Value
Sonatype
 
Enabling Microservice @ Orbitz - GOTO Chicago 2016
Enabling Microservice @ Orbitz - GOTO Chicago 2016Enabling Microservice @ Orbitz - GOTO Chicago 2016
Enabling Microservice @ Orbitz - GOTO Chicago 2016
Steve 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 competitions
Alessandra 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 / devfestasia
Christian 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 Ooyala
DataStax 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 world
Ivo 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 @AutoScout24
Philipp Garbe
 
What Ops Can Learn From Design
What Ops Can Learn From DesignWhat Ops Can Learn From Design
What Ops Can Learn From Design
Robert 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 sky
Naren 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 that
Christian Heilmann
 
Scaling Pinterest
Scaling PinterestScaling Pinterest
Scaling Pinterest
C4Media
 
State of Drupal keynote, DrupalCon Austin
State of Drupal keynote, DrupalCon AustinState of Drupal keynote, DrupalCon Austin
State of Drupal keynote, DrupalCon Austin
Dries Buytaert
 
Google Cloud: Next'19 Extended Hanoi
Google Cloud: Next'19 Extended HanoiGoogle Cloud: Next'19 Extended Hanoi
Google Cloud: Next'19 Extended Hanoi
GCPUserGroupVietnam
 
Cal Summit Small
Cal Summit SmallCal Summit Small
Cal Summit Small
mclee
 

Similar to 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
 

Recently uploaded

Digital Banking in the Cloud: How Citizens Bank Unlocked Their Mainframe
Digital Banking in the Cloud: How Citizens Bank Unlocked Their MainframeDigital Banking in the Cloud: How Citizens Bank Unlocked Their Mainframe
Digital Banking in the Cloud: How Citizens Bank Unlocked Their Mainframe
Precisely
 
Nordic Marketo Engage User Group_June 13_ 2024.pptx
Nordic Marketo Engage User Group_June 13_ 2024.pptxNordic Marketo Engage User Group_June 13_ 2024.pptx
Nordic Marketo Engage User Group_June 13_ 2024.pptx
MichaelKnudsen27
 
Freshworks Rethinks NoSQL for Rapid Scaling & Cost-Efficiency
Freshworks Rethinks NoSQL for Rapid Scaling & Cost-EfficiencyFreshworks Rethinks NoSQL for Rapid Scaling & Cost-Efficiency
Freshworks Rethinks NoSQL for Rapid Scaling & Cost-Efficiency
ScyllaDB
 
What is an RPA CoE? Session 1 – CoE Vision
What is an RPA CoE?  Session 1 – CoE VisionWhat is an RPA CoE?  Session 1 – CoE Vision
What is an RPA CoE? Session 1 – CoE Vision
DianaGray10
 
Astute Business Solutions | Oracle Cloud Partner |
Astute Business Solutions | Oracle Cloud Partner |Astute Business Solutions | Oracle Cloud Partner |
Astute Business Solutions | Oracle Cloud Partner |
AstuteBusiness
 
Biomedical Knowledge Graphs for Data Scientists and Bioinformaticians
Biomedical Knowledge Graphs for Data Scientists and BioinformaticiansBiomedical Knowledge Graphs for Data Scientists and Bioinformaticians
Biomedical Knowledge Graphs for Data Scientists and Bioinformaticians
Neo4j
 
Deep Dive: AI-Powered Marketing to Get More Leads and Customers with HyperGro...
Deep Dive: AI-Powered Marketing to Get More Leads and Customers with HyperGro...Deep Dive: AI-Powered Marketing to Get More Leads and Customers with HyperGro...
Deep Dive: AI-Powered Marketing to Get More Leads and Customers with HyperGro...
saastr
 
FREE A4 Cyber Security Awareness Posters-Social Engineering part 3
FREE A4 Cyber Security Awareness  Posters-Social Engineering part 3FREE A4 Cyber Security Awareness  Posters-Social Engineering part 3
FREE A4 Cyber Security Awareness Posters-Social Engineering part 3
Data Hops
 
WeTestAthens: Postman's AI & Automation Techniques
WeTestAthens: Postman's AI & Automation TechniquesWeTestAthens: Postman's AI & Automation Techniques
WeTestAthens: Postman's AI & Automation Techniques
Postman
 
Driving Business Innovation: Latest Generative AI Advancements & Success Story
Driving Business Innovation: Latest Generative AI Advancements & Success StoryDriving Business Innovation: Latest Generative AI Advancements & Success Story
Driving Business Innovation: Latest Generative AI Advancements & Success Story
Safe Software
 
9 CEO's who hit $100m ARR Share Their Top Growth Tactics Nathan Latka, Founde...
9 CEO's who hit $100m ARR Share Their Top Growth Tactics Nathan Latka, Founde...9 CEO's who hit $100m ARR Share Their Top Growth Tactics Nathan Latka, Founde...
9 CEO's who hit $100m ARR Share Their Top Growth Tactics Nathan Latka, Founde...
saastr
 
5th LF Energy Power Grid Model Meet-up Slides
5th LF Energy Power Grid Model Meet-up Slides5th LF Energy Power Grid Model Meet-up Slides
5th LF Energy Power Grid Model Meet-up Slides
DanBrown980551
 
Choosing The Best AWS Service For Your Website + API.pptx
Choosing The Best AWS Service For Your Website + API.pptxChoosing The Best AWS Service For Your Website + API.pptx
Choosing The Best AWS Service For Your Website + API.pptx
Brandon Minnick, MBA
 
TrustArc Webinar - 2024 Global Privacy Survey
TrustArc Webinar - 2024 Global Privacy SurveyTrustArc Webinar - 2024 Global Privacy Survey
TrustArc Webinar - 2024 Global Privacy Survey
TrustArc
 
HCL Notes und Domino Lizenzkostenreduzierung in der Welt von DLAU
HCL Notes und Domino Lizenzkostenreduzierung in der Welt von DLAUHCL Notes und Domino Lizenzkostenreduzierung in der Welt von DLAU
HCL Notes und Domino Lizenzkostenreduzierung in der Welt von DLAU
panagenda
 
Columbus Data & Analytics Wednesdays - June 2024
Columbus Data & Analytics Wednesdays - June 2024Columbus Data & Analytics Wednesdays - June 2024
Columbus Data & Analytics Wednesdays - June 2024
Jason Packer
 
[OReilly Superstream] Occupy the Space: A grassroots guide to engineering (an...
[OReilly Superstream] Occupy the Space: A grassroots guide to engineering (an...[OReilly Superstream] Occupy the Space: A grassroots guide to engineering (an...
[OReilly Superstream] Occupy the Space: A grassroots guide to engineering (an...
Jason Yip
 
Digital Marketing Trends in 2024 | Guide for Staying Ahead
Digital Marketing Trends in 2024 | Guide for Staying AheadDigital Marketing Trends in 2024 | Guide for Staying Ahead
Digital Marketing Trends in 2024 | Guide for Staying Ahead
Wask
 
The Microsoft 365 Migration Tutorial For Beginner.pptx
The Microsoft 365 Migration Tutorial For Beginner.pptxThe Microsoft 365 Migration Tutorial For Beginner.pptx
The Microsoft 365 Migration Tutorial For Beginner.pptx
operationspcvita
 
Monitoring and Managing Anomaly Detection on OpenShift.pdf
Monitoring and Managing Anomaly Detection on OpenShift.pdfMonitoring and Managing Anomaly Detection on OpenShift.pdf
Monitoring and Managing Anomaly Detection on OpenShift.pdf
Tosin Akinosho
 

Recently uploaded (20)

Digital Banking in the Cloud: How Citizens Bank Unlocked Their Mainframe
Digital Banking in the Cloud: How Citizens Bank Unlocked Their MainframeDigital Banking in the Cloud: How Citizens Bank Unlocked Their Mainframe
Digital Banking in the Cloud: How Citizens Bank Unlocked Their Mainframe
 
Nordic Marketo Engage User Group_June 13_ 2024.pptx
Nordic Marketo Engage User Group_June 13_ 2024.pptxNordic Marketo Engage User Group_June 13_ 2024.pptx
Nordic Marketo Engage User Group_June 13_ 2024.pptx
 
Freshworks Rethinks NoSQL for Rapid Scaling & Cost-Efficiency
Freshworks Rethinks NoSQL for Rapid Scaling & Cost-EfficiencyFreshworks Rethinks NoSQL for Rapid Scaling & Cost-Efficiency
Freshworks Rethinks NoSQL for Rapid Scaling & Cost-Efficiency
 
What is an RPA CoE? Session 1 – CoE Vision
What is an RPA CoE?  Session 1 – CoE VisionWhat is an RPA CoE?  Session 1 – CoE Vision
What is an RPA CoE? Session 1 – CoE Vision
 
Astute Business Solutions | Oracle Cloud Partner |
Astute Business Solutions | Oracle Cloud Partner |Astute Business Solutions | Oracle Cloud Partner |
Astute Business Solutions | Oracle Cloud Partner |
 
Biomedical Knowledge Graphs for Data Scientists and Bioinformaticians
Biomedical Knowledge Graphs for Data Scientists and BioinformaticiansBiomedical Knowledge Graphs for Data Scientists and Bioinformaticians
Biomedical Knowledge Graphs for Data Scientists and Bioinformaticians
 
Deep Dive: AI-Powered Marketing to Get More Leads and Customers with HyperGro...
Deep Dive: AI-Powered Marketing to Get More Leads and Customers with HyperGro...Deep Dive: AI-Powered Marketing to Get More Leads and Customers with HyperGro...
Deep Dive: AI-Powered Marketing to Get More Leads and Customers with HyperGro...
 
FREE A4 Cyber Security Awareness Posters-Social Engineering part 3
FREE A4 Cyber Security Awareness  Posters-Social Engineering part 3FREE A4 Cyber Security Awareness  Posters-Social Engineering part 3
FREE A4 Cyber Security Awareness Posters-Social Engineering part 3
 
WeTestAthens: Postman's AI & Automation Techniques
WeTestAthens: Postman's AI & Automation TechniquesWeTestAthens: Postman's AI & Automation Techniques
WeTestAthens: Postman's AI & Automation Techniques
 
Driving Business Innovation: Latest Generative AI Advancements & Success Story
Driving Business Innovation: Latest Generative AI Advancements & Success StoryDriving Business Innovation: Latest Generative AI Advancements & Success Story
Driving Business Innovation: Latest Generative AI Advancements & Success Story
 
9 CEO's who hit $100m ARR Share Their Top Growth Tactics Nathan Latka, Founde...
9 CEO's who hit $100m ARR Share Their Top Growth Tactics Nathan Latka, Founde...9 CEO's who hit $100m ARR Share Their Top Growth Tactics Nathan Latka, Founde...
9 CEO's who hit $100m ARR Share Their Top Growth Tactics Nathan Latka, Founde...
 
5th LF Energy Power Grid Model Meet-up Slides
5th LF Energy Power Grid Model Meet-up Slides5th LF Energy Power Grid Model Meet-up Slides
5th LF Energy Power Grid Model Meet-up Slides
 
Choosing The Best AWS Service For Your Website + API.pptx
Choosing The Best AWS Service For Your Website + API.pptxChoosing The Best AWS Service For Your Website + API.pptx
Choosing The Best AWS Service For Your Website + API.pptx
 
TrustArc Webinar - 2024 Global Privacy Survey
TrustArc Webinar - 2024 Global Privacy SurveyTrustArc Webinar - 2024 Global Privacy Survey
TrustArc Webinar - 2024 Global Privacy Survey
 
HCL Notes und Domino Lizenzkostenreduzierung in der Welt von DLAU
HCL Notes und Domino Lizenzkostenreduzierung in der Welt von DLAUHCL Notes und Domino Lizenzkostenreduzierung in der Welt von DLAU
HCL Notes und Domino Lizenzkostenreduzierung in der Welt von DLAU
 
Columbus Data & Analytics Wednesdays - June 2024
Columbus Data & Analytics Wednesdays - June 2024Columbus Data & Analytics Wednesdays - June 2024
Columbus Data & Analytics Wednesdays - June 2024
 
[OReilly Superstream] Occupy the Space: A grassroots guide to engineering (an...
[OReilly Superstream] Occupy the Space: A grassroots guide to engineering (an...[OReilly Superstream] Occupy the Space: A grassroots guide to engineering (an...
[OReilly Superstream] Occupy the Space: A grassroots guide to engineering (an...
 
Digital Marketing Trends in 2024 | Guide for Staying Ahead
Digital Marketing Trends in 2024 | Guide for Staying AheadDigital Marketing Trends in 2024 | Guide for Staying Ahead
Digital Marketing Trends in 2024 | Guide for Staying Ahead
 
The Microsoft 365 Migration Tutorial For Beginner.pptx
The Microsoft 365 Migration Tutorial For Beginner.pptxThe Microsoft 365 Migration Tutorial For Beginner.pptx
The Microsoft 365 Migration Tutorial For Beginner.pptx
 
Monitoring and Managing Anomaly Detection on OpenShift.pdf
Monitoring and Managing Anomaly Detection on OpenShift.pdfMonitoring and Managing Anomaly Detection on OpenShift.pdf
Monitoring and Managing Anomaly Detection on OpenShift.pdf
 

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