WSO2Con Asia 2014 - Agile DevOps in the Cloud
-
Upload
wso2 -
Category
Technology
-
view
240 -
download
3
description
Transcript of WSO2Con Asia 2014 - Agile DevOps in the Cloud
![Page 1: WSO2Con Asia 2014 - Agile DevOps in the Cloud](https://reader033.fdocuments.in/reader033/viewer/2022051611/54b5a55b4a7959f3678b4677/html5/thumbnails/1.jpg)
Agile Devops in the Cloud
Chamith J Kumarage
Member, Cloud Devops Team
WSO2
![Page 2: WSO2Con Asia 2014 - Agile DevOps in the Cloud](https://reader033.fdocuments.in/reader033/viewer/2022051611/54b5a55b4a7959f3678b4677/html5/thumbnails/2.jpg)
Outline
• Automation• Monitoring and Analytics• Agile Delivery• Tools and Utilities• Scaling into the cloud• Devops at WSO2
![Page 3: WSO2Con Asia 2014 - Agile DevOps in the Cloud](https://reader033.fdocuments.in/reader033/viewer/2022051611/54b5a55b4a7959f3678b4677/html5/thumbnails/3.jpg)
Automation
● Tools that perform functions otherwise done by
humans.
● Task execution ○ Repetitive tasks
● Process flow○ Connects tasks and decisions
● Decision trigger○ When and Why to take action
![Page 5: WSO2Con Asia 2014 - Agile DevOps in the Cloud](https://reader033.fdocuments.in/reader033/viewer/2022051611/54b5a55b4a7959f3678b4677/html5/thumbnails/5.jpg)
Automation contd.
● Design for failure
● Validate every operation
● Enforce discipline ( and process )
● Accelerates execution
● Improves agility
Be the automator, without being automated!
![Page 6: WSO2Con Asia 2014 - Agile DevOps in the Cloud](https://reader033.fdocuments.in/reader033/viewer/2022051611/54b5a55b4a7959f3678b4677/html5/thumbnails/6.jpg)
Monitoring and Analytics
● Discovery
○ Normal vs abnormal
● Communication
○ Do you understand what it say?
● The big picture
● Root cause analysis
Hint: #monitoringsucks
![Page 7: WSO2Con Asia 2014 - Agile DevOps in the Cloud](https://reader033.fdocuments.in/reader033/viewer/2022051611/54b5a55b4a7959f3678b4677/html5/thumbnails/7.jpg)
source: http://www.teachthought.com/technology/the-relationship-between-confusion-and-information/
source: http://www.philcallaway.ab.ca/images/Cartoons/privacy%20cartoon2.jpg
![Page 8: WSO2Con Asia 2014 - Agile DevOps in the Cloud](https://reader033.fdocuments.in/reader033/viewer/2022051611/54b5a55b4a7959f3678b4677/html5/thumbnails/8.jpg)
Agile Delivery
● Discoverability
○ Create, Test and Deploy in smaller increments
● Quality
○ Frequent testing, Catch bugs when they are small
● Operations is the first customer
● Continuous delivery or Continuous deployment
![Page 9: WSO2Con Asia 2014 - Agile DevOps in the Cloud](https://reader033.fdocuments.in/reader033/viewer/2022051611/54b5a55b4a7959f3678b4677/html5/thumbnails/9.jpg)
Source: http://blog.crisp.se/2013/02/05/yassalsundman/continuous-delivery-vs-continuous-deployment
![Page 10: WSO2Con Asia 2014 - Agile DevOps in the Cloud](https://reader033.fdocuments.in/reader033/viewer/2022051611/54b5a55b4a7959f3678b4677/html5/thumbnails/10.jpg)
Tools and Utilities
● Shorten the pipeline from dev -> production
● Enforce best practices and standards
● No need to reinvent the wheel
● Each tool can be a component of a framework
● Documentation is a must
● Has to comply with the ‘bus monkey’ test
![Page 11: WSO2Con Asia 2014 - Agile DevOps in the Cloud](https://reader033.fdocuments.in/reader033/viewer/2022051611/54b5a55b4a7959f3678b4677/html5/thumbnails/11.jpg)
Scaling into the Cloud
● Automatic failure detection and prediction
● Self healing at all possible levels
● Use native cloud offerings
● One-Click operations
● Design for failure
● Kill instance test (chaos monkey test) is a must!
![Page 12: WSO2Con Asia 2014 - Agile DevOps in the Cloud](https://reader033.fdocuments.in/reader033/viewer/2022051611/54b5a55b4a7959f3678b4677/html5/thumbnails/12.jpg)
Devops at WSO2
● Focused on “one-click” deployments
● Use Puppet and a few homemade tools for automation
● Icinga and Heartbeat Checker for first-level monitoring
● Heavily use Python for automation
● Ruby to extend Puppet features
● Working on getting Continuous deployment to action
We are not there yet :)
![Page 13: WSO2Con Asia 2014 - Agile DevOps in the Cloud](https://reader033.fdocuments.in/reader033/viewer/2022051611/54b5a55b4a7959f3678b4677/html5/thumbnails/13.jpg)
![Page 14: WSO2Con Asia 2014 - Agile DevOps in the Cloud](https://reader033.fdocuments.in/reader033/viewer/2022051611/54b5a55b4a7959f3678b4677/html5/thumbnails/14.jpg)
Devops at WSO2 contd.
● Primarily use AWS infrastructure technologies
● ~100 EC2 instance
● ~15 RDS instances
● ~140 services
● Ownership: ~65 resources/person