Stathy DevOps in MSP / MKE on IACPresentation Transcript
Milwaukee DevOps MeetupDecember 5, 2012
“We are at our most productive when we share our thinking.One night of crazy brain-storming over a few beers is morelikely to produce more exciting results than 20 years’solitary study in the lab.”–Professor Howard Trevor Jacobs, Descartes Prize Winner Read more at redmonk.com - http://goo.gl/FEJyI http://redmonk.com/jgovernor/2004/12/15/the-pub-is-the-place-for-creativity-and-innovation/
Who am I?Solution Engineer and EvangelistMy agenda Bootstrap Meetups Learn more Share experiences with people from diverse backgroundsIntroductions … ~ 1m round the room brief intro, don’t be too shy
“Rules of Engagement”3 Rules of DevOps Meetup
“Rules of Engagement”1 st Rule:Talk about DevOpsMeetup
“Rules of Engagement”Collaboration & Community
“Rules of Engagement”2 nd Rule:TALK aboutDevOps Meetup
“Rules of Engagement”3 rd Rule:No Assholes
“Rules of Engagement”Collaborate and debate NO disrespect
“Rules of Engagement”DevOps = Community
Logistics• Topic coverage? topic focus? • Lightning talks, 4-5, 5-10m each • Unmeeting – Larger group • Presentations – Intro & Advanced • Demo & Tutorial • Case studies and experience sharing.• Monthly? Bi-monthly? Quarterly?
“In God we Trust, all others bring DATA!!!” VS http://radar.oreilly.com/2007/10/operations-is-a-competitive-ad.html
“Infrastructure As Code” Mantra“Infrastructure As Code” … The business, not just a tool Enable the reconstruction of the business from nothing but a configuration repository, an application data backup, and bare resources. As rapidly and elegantly as possible.
“Infrastructure As Code”• A configuration management system (DSL)• A library for configuration management• A community, contributing to library and expertise• A systems integration platform (API) http://www.flickr.com/photos/asten/2159525309/sizes/l/
Some Samplespackage "apache2" do package_name node[:apache][:package] action :installendtemplate "/etc/www/configures-apache.conf" do notifies :restart, "service[apache2]”endservice “apache2”
The players Dev & OpsMetaphor Attribution – Andrew Shafer, now of Rackspace
Meet Dev • Little bit weird • Sits closer to the boss • Thinks too hard Don’t hate the player …Metaphor Attribution – Andrew Shafer, now of Rackspace
Meet Ops • Pulls levers & turns knobs • Easily excited • Yells a lot in emergencies Why you be hatin ?!?Metaphor Attribution – Andrew Shafer, now of Rackspace
Traditional ProcessDev’s job is to add newfeatures.Ops’ job is to keep the sitestable and fast
Agility - Design vs Manufacturing Load Load Load Balancer Balancer Balancer App Server App Server App Server App Server Database Database DatabaseDev (shared) QA Dev - QA - UAT - Prod How ?
Agility - Design vs Manufacturing Goal = Increase Velocity Load Load Load Balancer Balancer Balancer App App App App App App Server Server Server Server Server Server Database Database Database Dev QA ProdWhat ?
Step 1 – SCM and DevelopersApplication Software Devs Configuration Management (SCM)Infrastructur e Devs
Step 2 – Introducing the Build Stage Build Changes in SCM triggers builds and Payload N testsApplication Software Devs Configuration Management (SCM) Payload 3 Payload 2 Payload 1Infrastructur e Devs
Step 3 – “Infrastructure As Code” and the CD Process Latest Codebase and Build Create Data (#) Upload Policies Build Update DEV DEV Autodeploy to IACApplication Devs localhost Promote Infrastructure Devs Payload Request Portal QA N 1, 2, … N Software Autodeploy Promote Configuration N PROD Management (SCM) Payload 3 ….. ….. Payload 2 2 …. Payload Builds 1 1