15
Agile Devops in the Cloud Chamith J Kumarage Member, Cloud Devops Team WSO2

WSO2Con Asia 2014 - Agile DevOps in the Cloud

  • Upload
    wso2

  • View
    241

  • Download
    3

Embed Size (px)

DESCRIPTION

 

Citation preview

Page 1: WSO2Con Asia 2014 - Agile DevOps in the Cloud

Agile Devops in the Cloud

Chamith J Kumarage

Member, Cloud Devops Team

WSO2

Page 2: WSO2Con Asia 2014 - Agile DevOps in the Cloud

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

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 4: WSO2Con Asia 2014 - Agile DevOps in the Cloud

source: https://xkcd.com/1319/

Page 5: WSO2Con Asia 2014 - Agile DevOps in the Cloud

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

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

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

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

Source: http://blog.crisp.se/2013/02/05/yassalsundman/continuous-delivery-vs-continuous-deployment

Page 10: WSO2Con Asia 2014 - Agile DevOps in the Cloud

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

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

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
Page 14: WSO2Con Asia 2014 - Agile DevOps in the Cloud

Devops at WSO2 contd.

● Primarily use AWS infrastructure technologies

● ~100 EC2 instance

● ~15 RDS instances

● ~140 services

● Ownership: ~65 resources/person