advertisement

Ansible ALLTHETHINGS

43 %
57 %
advertisement
Information about Ansible ALLTHETHINGS
Software

Published on October 14, 2014

Author: chuparkoff

Source: slideshare.net

Description

Learn how in less than 6 months and with a 1-person team, they went from no infrastructure automation, to having all of their infrastructure automated with Ansible. Learn how BigPanda handles zero-downtime infrastructure updates and connects Ansible with their chat infrastructure, and some strategies on managing automation projects with very small teams.
advertisement

1. #automateALLTHETHINGS with a one-man Ops team Dan Chuparkoff WIFI: ansi14 @chuparkoff http://bigpanda.io 1

2. Dan Chuparkoff Director of Growth & Engagement @chuparkoff http://bigpanda.io 2

3. Feb 1, 2009 @chuparkoff http://bigpanda.io 3

4. @chuparkoff http://bigpanda.io 4

5. @chuparkoff http://bigpanda.io 5

6. @chuparkoff http://bigpanda.io 6

7. What percentage of 140 million people will go to a website for free tickets? @chuparkoff http://bigpanda.io 7

8. @chuparkoff http://bigpanda.io ? 8

9. 100,000 free trips in 42 seconds @chuparkoff http://bigpanda.io 9

10. ..,:::,,,:::,.. ...,::,,,,::,... .,, ,8MMMMMMMMMN, ,,. .:. IMMMMMMMMMMI :. .,, +MMMMMMMMMMMMMMMMM$ :.. .: MMMMMMMMMMMMMMMMMM :. .: IMMMMMMMMMMMMMMMMMMMMM+ ., ., MMMMMMMMMMMMMMMMMMMMMM ... ., .MMMMMMMMMMMMMMMMMMMMMMMMM . ZMMMMMMMMMMMMMMMMMMMMMMMMM :. .: DMMMMMMMMMMMMMMMMMMMMMMMMMMM. NMMMMMMMMMMMMMMMMMMMMMMMMMMM. , .: 7MMMMMMMMMMMMMMMMMMMMMMMMMMMMM 8MMMMMMMMMMMMMMMMMMMMMMMMMMMMM ., . =MMMMMMMMMMMMMMMMMMMMMMMMMMMMMMM$MMMMMMMMMMMMMMMMMMMMMMMMMMMMMMM :. .: MMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMM? .. ., MMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMM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.., NMMMMMMMMMMMMM MMMMMMMMMMM MMMMMMMMMMMMMM. .,. ... MMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMM. .:. .,. MMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMM~ :. .,. MMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMM. :.. .,. NMMMMMMMMMMMMMMMMMMMMMMMMMMM .:.. .:. MMMMMMMMMMMMMMMMMMMMMMMM .:. .,. DMMMMMMMMMMMMMMMMMMM .:. .,, 8MMMMMMMMMMMMMMM. .:. .,. MMMMMMMMMMMM7 :. .,. MMMMMMMMN :. .: ZMMMMM .,. ., ,MM7 :. .: :. .,. .:. .. @chuparkoff http://bigpanda.io 10

11. @chuparkoff http://bigpanda.io 11

12. @chuparkoff http://bigpanda.io 12

13. @chuparkoff http://bigpanda.io 13 a one-man Ops team

14. No matter what the complexity of the tasks, it all boils down to running an Ansible module, which makes playbooks easy to @chuparkoff http://bigpanda.io 14 write and easy to review later.

15. 1 Simplicity • All you need is Python + a playground server with SSHD • Ansible is agentless, so setup can be done in minutes • Playbooks are intuitive • Ansible is rich with built-in modules for trivial to complex tasks @chuparkoff http://bigpanda.io 15

16. 2 IDEMPOTENCE • Idempotence enables Ansible to be declarative & also reliable • We can run multiple times without changing the result beyond the initial execution @chuparkoff http://bigpanda.io 16

17. 3 REUSABLE • Every script we write is used two times • once, when deploying a new version • and again when provisioning a new server • Using tags we run or skip tasks or plays as needed. @chuparkoff http://bigpanda.io 17 ./playbook.yml -i hosts -- --tags infra

18. 4 EXTENSIBLE • Ansible can be easily extended with JSON • Correlating monitoring alerts with application deployments significantly reduces MTTR @chuparkoff http://bigpanda.io 18

19. http://bigpanda.io We mean ALL THE THINGS!!

20. for @chuparkoff http://bigpanda.io 20 server provisioning server orchestration application deployment

21. everything using Ansible 6 steps to automating 21

22. 1 22 Ansible Workshop

23. 1 Ansible Workshop Chapter 1 - Basic Setup Chapter 2 - My First Playbook Chapter 3 - Nginx Chapter 4 - Handlers Chapter 5 - Application Deployments Chapter 6 - Roles Chapter 7 - Role Dependencies Chapter 8 - Advanced Inventory Chapter 9 - Variable Precedence @chuparkoff http://bigpanda.io 23

24. 1 github.com/bigpandaio/ansible-workshop @chuparkoff http://bigpanda.io 24 Ansible Workshop

25. 2Playbook Playbooks 25

26. 2 Playbook Playbooks @chuparkoff http://bigpanda.io 26

27. 2 Playbook Playbooks @chuparkoff http://bigpanda.io 27

28. 2 Playbook Playbooks github.com/bigpandaio/ansible-exec @chuparkoff http://bigpanda.io 28

29. 3Make the scariest part of the build, the easiest. 29

30. @chuparkoff http://bigpanda.io 30 deploy bigpanda

31. Ansible is so intuitive & easy @chuparkoff http://bigpanda.io 31 we no longer bother connecting to servers & running commands manually.

32. 4Meet Beanbot 32

33. @chuparkoff http://bigpanda.io 33

34. @chuparkoff http://bigpanda.io 34

35. @chuparkoff http://bigpanda.io 35

36. 4 Meet Beanbot @chuparkoff http://bigpanda.io 36 github.com/github/hubot https://github.com/hipchat/hubot-hipchat

37. 4 Meet Beanbot @chuparkoff http://bigpanda.io 37 BigPanda HipChat Beanbot Ansible

38. 5Infrastructure Confidence 38

39. 5 Infrastructure Confidence • We were able to redeploy ALLTHETHINGS. • We ensured that everything was configured exactly as intended and we ensured that we had 100% Ansible infrastructure coverage. • With zero downtime. @chuparkoff http://bigpanda.io 39

40. @chuparkoff http://bigpanda.io 40

41. 6Connect Alerts & Changes 41

42. 9) Easily correla.ng Ansible changes with alerts @chuparkoff http://bigpanda.io 42

43. 9) Easily correla.ng Ansible changes with alerts @chuparkoff http://bigpanda.io 43

44. We hear a lot of talk about Lifecycle Management @chuparkoff http://bigpanda.io 44

45. We hear a lot of talk about Lifecycle Management @chuparkoff http://bigpanda.io 45

46. The scale & speed of Modern Ops requires Lifecycle Automation @chuparkoff http://bigpanda.io 46

47. The scale & speed of Modern Ops requires Lifecycle Automation @chuparkoff http://bigpanda.io 47

48. Thanks! #automateALLTHETHINGS Dan Chuparkoff @chuparkoff http://bigpanda.io 48

Add a comment

Related presentations

Speaker: Matt Stine Developing for the Cloud Track Marc Andressen has famou...

This presentation explains how to develop a Web API in Java using (JAX-RS or Restl...

1 App,

1 App,

November 10, 2014

How to bring innovation to your organization by streamlining the deployment proces...

Cisco Call-control solutions can handle voice, video and data

Nathan Sharp of Siemens Energy recently spoke at the SAP Project Management in Atl...

Related pages

Ansible ALLTHETHINGS - Software - documents.mx

Learn how in less than 6 months and with a 1-person team, they went from no infrastructure automation, to having all of their infrastructure automated with ...
Read more

Ansible - Documents

Ansible. by afroz-hussain. on Aug 18, 2015. Report Category: Documents
Read more

Ansible - Technology - documents.mx

Ansible ALLTHETHINGS. Ansible - Crash course. Application Deployment Using Ansible. Vagrant and ansible. Login or Join. Processing Login successful.
Read more

[ansible-devel] task local vars? - Grokbase

... all vars: allthethings: - foo - bar tasks: - shell ... You received this message because you are subscribed to the Google Groups "Ansible ...
Read more

Ansible - tkalci.cz

ansible webservers -m service -a "name=httpd state=restarted" Informace o mašinách ansible all -m setup ...
Read more

#ansible IRC Archive for 2016-02-07 - mattzone.com

FreeNode #ansible irc chat logs for 2016-02-07. #ansible IRC ... learn to survive with what you love most, In my case its emacs, my editor for allthethings :D:
Read more

Ansible Howto - Documents

Ansible itself can manage earlier operating systems that contain Python 2.4 or higher (so also EL5). Fedora users can install Ansible directly, ...
Read more

Ansible & Cobbler - Documents

Ansible & Cobbler. Triangle Devops, Feb 2013. About Me. NCSU 2001 IBM / Adaptec, Integrian Red Hat Puppet Labs, WebAssign, rPath, Cisco. Ansible & Cobbler ...
Read more