0
DevOps, beyond Agile
Julien Pivotto

Agile Tour Louvain-la-Neuve 2013
October 31, 2013

;
whoami
sysadmin @ inuits
• open-source defender for 7+ years
• devops believer
• @roidelapluie on twitter/github
•

Julien...
What is DevOps?

Julien Pivotto

DevOps 101

;
A dev shop
• Friday 5 pm: put this tarball live, NOW
• It works on my machine
• We need this yesterday
• You must have the...
An ops shop
•
•
•
•
•

What are the dependencies?
No machines available. . .
Which database?
High availability?
Scalabilit...
Dev

Ops

• New releases

• Stability

• New features

• Availability

• Speed of change

• Security

Julien Pivotto

DevO...
Dev vs Ops

http://www.flickr.com/photos/lisadragon/3830252720/

Julien Pivotto

DevOps 101

;
But. . .
•

Ops code too
• Bash scripting, python
• IAC

•

Dev do sysadmin work
• Testing
• Database migrations

Julien P...
But. . .
•
•
•
•
•
•
•

IT evolves
More velocity
More changes
Volative env
Large scale apps
No space for old teams
No spac...
So, what is DevOps?

Julien Pivotto

DevOps 101

;
DevOps days
•

200X-2009: World
Patrick Debois, Gildas Le Nadan, Andrew Clay Shafer, Kris
Buytaert, Jezz Humble, Lindsay H...
DevOps is a cultural and
professional movement
Adam Jacob, OpsCode

Julien Pivotto

DevOps 101

;
•
•
•
•

Culture
Automation
Measurement
Sharing
John Willis and Damon Edwards

Julien Pivotto

DevOps 101

;
What it will bring you
•
•
•
•
•

Faster time to market
Deploy often
A reliable way
Automated
Everyone is happy

Julien Pi...
Culture
Automation
Measurement
Sharing

Julien Pivotto

DevOps 101

;
Burn the Silos

http://www.flickr.com/photos/tinou/178796318/
Julien Pivotto

DevOps 101

;
Build one team
•

People with different skills
•
•
•
•
•

•

Development
CI, CD
Testing
Infrastructure
Monitoring

One goal...
Enable communication

http://www.flickr.com/photos/shelleygibb/3372412222/
Julien Pivotto

DevOps 101

;
Communication
•
•
•
•
•

Sit together
Standup (virtual, physical)
Mails, XMPP
Enable direct communication
One language

Ju...
Build Trust
•
•
•
•
•

Experiment
Measure success
Measure failure
Automate the things
Trust between people

Julien Pivotto...
Play together

http://www.flickr.com/photos/kona99/3987853510/
Julien Pivotto

DevOps 101

;
Play together
•
•
•
•

More ideas
Sharing responsability
Different approaches
More fun

Julien Pivotto

DevOps 101

;
Taking responsabilities

http://www.flickr.com/photos/pointshoot/1144799868/
Julien Pivotto

DevOps 101

;
Give Access
•
•
•
•

Shared goal, problems, responsabilities
Everyone is on call
Full platform access: logs/metrics/tools
...
Agile?
•
•
•
•

DevOps is not against agile
Not a reaction to agile
Pushing Agile to its limits
Definition of done
•
•
•
•
...
A software project is NOT done
until your last user is dead
Kris Buytaert

Julien Pivotto

DevOps 101

;
Culture
Automation
Measurement
Sharing

Julien Pivotto

DevOps 101

;
Automate all the things
•

Reproducable build
• Build on a prod-like environment
• No more "works on my machine"

•

Test
...
Continuous integration
•
•
•
•

Build each commit
Nightly, weekly
Integrate, deploy and deliver
Git push and get feedback
...
Test automation
•
•
•
•
•

Unit tests
Regression tests
Compatibility tests
Selenium, cucumber, . . .
TTD

Julien Pivotto

...
CI CD CD
•
•
•
•

Continuous integration (>dev)
Continuous deployment (>uat)
Continuous delivery (>prod)
Deploying to prod...
IAC
•
•
•
•
•
•

Infrastructure as Code
Put infra under version control
History, amend, modelize your infra
Deploy monitor...
Orchestration
•
•
•
•
•

Restart all httpd
Which servers have php 53 installed?
Configure db, trigger commands..
On multipl...
Culture
Automation
Measurement
Sharing

Julien Pivotto

DevOps 101

;
Feedback
Feedback
Feedback

Julien Pivotto

DevOps 101

;
Metrics
•
•
•
•

Easily create new metrics
Build dashboards
Learn from logs
Learn from *

Julien Pivotto

DevOps 101

;
Monitor every platform
•
•
•
•

Dev
Uat
Prod
See the troubles early

Julien Pivotto

DevOps 101

;
Start with development

Julien Pivotto

DevOps 101

;
Then runtime
•

OS
• disk, cpu, i/o, memory

•

Middleware
• queues
• API calls
• connections

•

Application
•
•
•
•

res...
Measure everything
•
•
•
•

Deployments
Commits
Tickets
...

Julien Pivotto

DevOps 101

;
Julien Pivotto

DevOps 101

;
Read metrics
•
•
•
•

Get business keys
Share dashboards with dev ops mgmt
Find metrics that matter
Learn from metrics

Ju...
Culture
Automation
Measurement
Sharing

Julien Pivotto

DevOps 101

;
Share
• Open Source
• Talk about experience
• Publsh code
• Backlog
• Avoid lock-ins

Julien Pivotto

DevOps 101

;
DevOps is NOT about tools

Julien Pivotto

DevOps 101

;
DevOps is NOT adding a new team

Julien Pivotto

DevOps 101

;
DevOps is NOT a job title

Julien Pivotto

DevOps 101

;
You need to make it work for you

Julien Pivotto

DevOps 101

;
Backlog and participate
•
•
•
•
•

http://www.devopsdays.org/
http://devopscafe.org/
http://jedi.be/blog/
http://codeascra...
Thank you
Any question?

Julien Pivotto

DevOps 101

;
Contact
Julien Pivotto
julien@inuits.eu
@roidelapluie

INUITS bvba
INUITS bvba
Belgium
Belgium
+32 473 441 636
+32 473 441...
Upcoming SlideShare
Loading in...5
×

DevOps, beyond agile

5,835

Published on

Conference given at la Journée de l'agile 2013 Louvain La Neuve
http://journeeagile.be

Published in: Technology

Transcript of "DevOps, beyond agile"

  1. 1. DevOps, beyond Agile Julien Pivotto Agile Tour Louvain-la-Neuve 2013 October 31, 2013 ;
  2. 2. whoami sysadmin @ inuits • open-source defender for 7+ years • devops believer • @roidelapluie on twitter/github • Julien Pivotto DevOps 101 ;
  3. 3. What is DevOps? Julien Pivotto DevOps 101 ;
  4. 4. A dev shop • Friday 5 pm: put this tarball live, NOW • It works on my machine • We need this yesterday • You must have the wrong version Julien Pivotto DevOps 101 ;
  5. 5. An ops shop • • • • • What are the dependencies? No machines available. . . Which database? High availability? Scalability? Julien Pivotto DevOps 101 ;
  6. 6. Dev Ops • New releases • Stability • New features • Availability • Speed of change • Security Julien Pivotto DevOps 101 ;
  7. 7. Dev vs Ops http://www.flickr.com/photos/lisadragon/3830252720/ Julien Pivotto DevOps 101 ;
  8. 8. But. . . • Ops code too • Bash scripting, python • IAC • Dev do sysadmin work • Testing • Database migrations Julien Pivotto DevOps 101 ;
  9. 9. But. . . • • • • • • • IT evolves More velocity More changes Volative env Large scale apps No space for old teams No space for slow moves Julien Pivotto DevOps 101 ;
  10. 10. So, what is DevOps? Julien Pivotto DevOps 101 ;
  11. 11. DevOps days • 200X-2009: World Patrick Debois, Gildas Le Nadan, Andrew Clay Shafer, Kris Buytaert, Jezz Humble, Lindsay Holmwood, John Willis, Chris Read, Julian Simpson, Luke Kanies, John Allspaw and lots of others. . . • • • • 2009: Ghent Dozens of others since then Conferences and open-spaces A lot of backlog available Julien Pivotto DevOps 101 ;
  12. 12. DevOps is a cultural and professional movement Adam Jacob, OpsCode Julien Pivotto DevOps 101 ;
  13. 13. • • • • Culture Automation Measurement Sharing John Willis and Damon Edwards Julien Pivotto DevOps 101 ;
  14. 14. What it will bring you • • • • • Faster time to market Deploy often A reliable way Automated Everyone is happy Julien Pivotto DevOps 101 ;
  15. 15. Culture Automation Measurement Sharing Julien Pivotto DevOps 101 ;
  16. 16. Burn the Silos http://www.flickr.com/photos/tinou/178796318/ Julien Pivotto DevOps 101 ;
  17. 17. Build one team • People with different skills • • • • • • Development CI, CD Testing Infrastructure Monitoring One goal = help the business Julien Pivotto DevOps 101 ;
  18. 18. Enable communication http://www.flickr.com/photos/shelleygibb/3372412222/ Julien Pivotto DevOps 101 ;
  19. 19. Communication • • • • • Sit together Standup (virtual, physical) Mails, XMPP Enable direct communication One language Julien Pivotto DevOps 101 ;
  20. 20. Build Trust • • • • • Experiment Measure success Measure failure Automate the things Trust between people Julien Pivotto DevOps 101 ;
  21. 21. Play together http://www.flickr.com/photos/kona99/3987853510/ Julien Pivotto DevOps 101 ;
  22. 22. Play together • • • • More ideas Sharing responsability Different approaches More fun Julien Pivotto DevOps 101 ;
  23. 23. Taking responsabilities http://www.flickr.com/photos/pointshoot/1144799868/ Julien Pivotto DevOps 101 ;
  24. 24. Give Access • • • • Shared goal, problems, responsabilities Everyone is on call Full platform access: logs/metrics/tools Do you let a blind paint your house? Julien Pivotto DevOps 101 ;
  25. 25. Agile? • • • • DevOps is not against agile Not a reaction to agile Pushing Agile to its limits Definition of done • • • • Tested In prod Monitored and in prod ... Julien Pivotto DevOps 101 ;
  26. 26. A software project is NOT done until your last user is dead Kris Buytaert Julien Pivotto DevOps 101 ;
  27. 27. Culture Automation Measurement Sharing Julien Pivotto DevOps 101 ;
  28. 28. Automate all the things • Reproducable build • Build on a prod-like environment • No more "works on my machine" • Test • Testing reduces risk • Make you more confident • Deploy Julien Pivotto DevOps 101 ;
  29. 29. Continuous integration • • • • Build each commit Nightly, weekly Integrate, deploy and deliver Git push and get feedback Julien Pivotto DevOps 101 ;
  30. 30. Test automation • • • • • Unit tests Regression tests Compatibility tests Selenium, cucumber, . . . TTD Julien Pivotto DevOps 101 ;
  31. 31. CI CD CD • • • • Continuous integration (>dev) Continuous deployment (>uat) Continuous delivery (>prod) Deploying to prod = business decision Julien Pivotto DevOps 101 ;
  32. 32. IAC • • • • • • Infrastructure as Code Put infra under version control History, amend, modelize your infra Deploy monitoring, backups, apps It is NOT scripting Think puppet, chef, . . . Julien Pivotto DevOps 101 ;
  33. 33. Orchestration • • • • • Restart all httpd Which servers have php 53 installed? Configure db, trigger commands.. On multiple server at the same time Think mcollective, ansible, . . . Julien Pivotto DevOps 101 ;
  34. 34. Culture Automation Measurement Sharing Julien Pivotto DevOps 101 ;
  35. 35. Feedback Feedback Feedback Julien Pivotto DevOps 101 ;
  36. 36. Metrics • • • • Easily create new metrics Build dashboards Learn from logs Learn from * Julien Pivotto DevOps 101 ;
  37. 37. Monitor every platform • • • • Dev Uat Prod See the troubles early Julien Pivotto DevOps 101 ;
  38. 38. Start with development Julien Pivotto DevOps 101 ;
  39. 39. Then runtime • OS • disk, cpu, i/o, memory • Middleware • queues • API calls • connections • Application • • • • response time users objects usage Julien Pivotto DevOps 101 ;
  40. 40. Measure everything • • • • Deployments Commits Tickets ... Julien Pivotto DevOps 101 ;
  41. 41. Julien Pivotto DevOps 101 ;
  42. 42. Read metrics • • • • Get business keys Share dashboards with dev ops mgmt Find metrics that matter Learn from metrics Julien Pivotto DevOps 101 ;
  43. 43. Culture Automation Measurement Sharing Julien Pivotto DevOps 101 ;
  44. 44. Share • Open Source • Talk about experience • Publsh code • Backlog • Avoid lock-ins Julien Pivotto DevOps 101 ;
  45. 45. DevOps is NOT about tools Julien Pivotto DevOps 101 ;
  46. 46. DevOps is NOT adding a new team Julien Pivotto DevOps 101 ;
  47. 47. DevOps is NOT a job title Julien Pivotto DevOps 101 ;
  48. 48. You need to make it work for you Julien Pivotto DevOps 101 ;
  49. 49. Backlog and participate • • • • • http://www.devopsdays.org/ http://devopscafe.org/ http://jedi.be/blog/ http://codeascraft.com/ http://krisbuytaert.be/ Julien Pivotto DevOps 101 ;
  50. 50. Thank you Any question? Julien Pivotto DevOps 101 ;
  51. 51. Contact Julien Pivotto julien@inuits.eu @roidelapluie INUITS bvba INUITS bvba Belgium Belgium +32 473 441 636 +32 473 441 636 https://inuits.eu https://inuits.eu Julien Pivotto DevOps 101 ;
  1. A particular slide catching your eye?

    Clipping is a handy way to collect important slides you want to go back to later.

×