continuous delivery in enterprise agile ncr 2014 new delhi
TRANSCRIPT
![Page 1: Continuous delivery in enterprise agile NCR 2014 New Delhi](https://reader034.vdocuments.site/reader034/viewer/2022052522/554a3d8db4c90582328b4e7e/html5/thumbnails/1.jpg)
Continuous Delivery in Enterprise
anirudh bhatnagar@anirudh_bh
![Page 2: Continuous delivery in enterprise agile NCR 2014 New Delhi](https://reader034.vdocuments.site/reader034/viewer/2022052522/554a3d8db4c90582328b4e7e/html5/thumbnails/2.jpg)
Amazon’s web infrastructure guru James Hamilton uses Facebook’s recently released energy data to make an educated guess for how many servers
Facebook now has: potentially 180,000. That’s up from an estimated 30,000 in the winter of 2009, and 60,000 by the Summer of 2010.
google has more than one million servers
10 releases per day!
● 3 engineers● over 14 million users● no hardware● +100 instances on Amazon EC2
![Page 3: Continuous delivery in enterprise agile NCR 2014 New Delhi](https://reader034.vdocuments.site/reader034/viewer/2022052522/554a3d8db4c90582328b4e7e/html5/thumbnails/3.jpg)
- competition - Reduce Time to Market - Increasing users and traffic. - Huge amount of servers on cloud. - Zero downtime. - Huge data - Cost!More Servers, More Releases, More Data!
![Page 4: Continuous delivery in enterprise agile NCR 2014 New Delhi](https://reader034.vdocuments.site/reader034/viewer/2022052522/554a3d8db4c90582328b4e7e/html5/thumbnails/4.jpg)
Need of the hour!
FASTER, EFFICIENT, ERROR-FREE, AUTOMATED DELIVERY OF
SOFTWARE
![Page 5: Continuous delivery in enterprise agile NCR 2014 New Delhi](https://reader034.vdocuments.site/reader034/viewer/2022052522/554a3d8db4c90582328b4e7e/html5/thumbnails/5.jpg)
Introducing Continuous Delivery
![Page 6: Continuous delivery in enterprise agile NCR 2014 New Delhi](https://reader034.vdocuments.site/reader034/viewer/2022052522/554a3d8db4c90582328b4e7e/html5/thumbnails/6.jpg)
From Idea to Product
![Page 7: Continuous delivery in enterprise agile NCR 2014 New Delhi](https://reader034.vdocuments.site/reader034/viewer/2022052522/554a3d8db4c90582328b4e7e/html5/thumbnails/7.jpg)
agile methodologies
![Page 8: Continuous delivery in enterprise agile NCR 2014 New Delhi](https://reader034.vdocuments.site/reader034/viewer/2022052522/554a3d8db4c90582328b4e7e/html5/thumbnails/8.jpg)
From the beginning!
Clean testable code.Use of tools like ant, maven.Unit test coverage.Code Quality.
![Page 9: Continuous delivery in enterprise agile NCR 2014 New Delhi](https://reader034.vdocuments.site/reader034/viewer/2022052522/554a3d8db4c90582328b4e7e/html5/thumbnails/9.jpg)
Source Control Management
Branching strategy and tools
![Page 10: Continuous delivery in enterprise agile NCR 2014 New Delhi](https://reader034.vdocuments.site/reader034/viewer/2022052522/554a3d8db4c90582328b4e7e/html5/thumbnails/10.jpg)
Continuous Integration
![Page 11: Continuous delivery in enterprise agile NCR 2014 New Delhi](https://reader034.vdocuments.site/reader034/viewer/2022052522/554a3d8db4c90582328b4e7e/html5/thumbnails/11.jpg)
Automated testing
Automated Functional and acceptance Testing.
![Page 12: Continuous delivery in enterprise agile NCR 2014 New Delhi](https://reader034.vdocuments.site/reader034/viewer/2022052522/554a3d8db4c90582328b4e7e/html5/thumbnails/12.jpg)
But what about Release?
![Page 13: Continuous delivery in enterprise agile NCR 2014 New Delhi](https://reader034.vdocuments.site/reader034/viewer/2022052522/554a3d8db4c90582328b4e7e/html5/thumbnails/13.jpg)
Definition of done
Committed and Compiled Unit TestedDeployed on QA/UATAutomated Functional Test for acceptance testing
![Page 14: Continuous delivery in enterprise agile NCR 2014 New Delhi](https://reader034.vdocuments.site/reader034/viewer/2022052522/554a3d8db4c90582328b4e7e/html5/thumbnails/14.jpg)
Early Feedback
Introduce Dev/QA/UAT environment early in the project
![Page 15: Continuous delivery in enterprise agile NCR 2014 New Delhi](https://reader034.vdocuments.site/reader034/viewer/2022052522/554a3d8db4c90582328b4e7e/html5/thumbnails/15.jpg)
Automated Deployment
![Page 16: Continuous delivery in enterprise agile NCR 2014 New Delhi](https://reader034.vdocuments.site/reader034/viewer/2022052522/554a3d8db4c90582328b4e7e/html5/thumbnails/16.jpg)
Build pipelines
t makes every part of the process of building, deploying, testing, and releasing software visible to everybody involved, aiding collaboration.
Increases visibility of each step.Early feedback.Automate deploy and release any version to any environment.
![Page 17: Continuous delivery in enterprise agile NCR 2014 New Delhi](https://reader034.vdocuments.site/reader034/viewer/2022052522/554a3d8db4c90582328b4e7e/html5/thumbnails/17.jpg)
Sample Jenkins Build pipeline
![Page 18: Continuous delivery in enterprise agile NCR 2014 New Delhi](https://reader034.vdocuments.site/reader034/viewer/2022052522/554a3d8db4c90582328b4e7e/html5/thumbnails/18.jpg)
Provisioning and On demand Infrastructure
![Page 19: Continuous delivery in enterprise agile NCR 2014 New Delhi](https://reader034.vdocuments.site/reader034/viewer/2022052522/554a3d8db4c90582328b4e7e/html5/thumbnails/19.jpg)
Configuration Management
● How soon can you write this script?● How maintainable is it?● Can you write test cases for it?● Can you have versioning?● Can you have reusability?● Risk????● Idempotency
![Page 20: Continuous delivery in enterprise agile NCR 2014 New Delhi](https://reader034.vdocuments.site/reader034/viewer/2022052522/554a3d8db4c90582328b4e7e/html5/thumbnails/20.jpg)
![Page 21: Continuous delivery in enterprise agile NCR 2014 New Delhi](https://reader034.vdocuments.site/reader034/viewer/2022052522/554a3d8db4c90582328b4e7e/html5/thumbnails/21.jpg)
Infrastructure as codeEvolving from Scripts to code
"a flexible model for reuse by enabling users to model infrastructure as code to easily and consistently configure and deploy infrastructure across any platform.
Create a blueprint of your infrastructure that enables you to build or rebuild, automatically in minutes or hours – not weeks or months."
![Page 22: Continuous delivery in enterprise agile NCR 2014 New Delhi](https://reader034.vdocuments.site/reader034/viewer/2022052522/554a3d8db4c90582328b4e7e/html5/thumbnails/22.jpg)
Tools of the game
![Page 23: Continuous delivery in enterprise agile NCR 2014 New Delhi](https://reader034.vdocuments.site/reader034/viewer/2022052522/554a3d8db4c90582328b4e7e/html5/thumbnails/23.jpg)
What is Chef?
Chef is a configuration management tool.Using its cookbooks and recipes we can provisions VMs, environments.
Community maintained code, almost everything is prebuilt (cookbooks and recipes), need not reinvent the wheel, just modify as per the need.
![Page 24: Continuous delivery in enterprise agile NCR 2014 New Delhi](https://reader034.vdocuments.site/reader034/viewer/2022052522/554a3d8db4c90582328b4e7e/html5/thumbnails/24.jpg)
Cloud Support : EC2$ knife ec2 server create "role[Demo] -N "demo.example.net" -i ami -3e02f257
![Page 25: Continuous delivery in enterprise agile NCR 2014 New Delhi](https://reader034.vdocuments.site/reader034/viewer/2022052522/554a3d8db4c90582328b4e7e/html5/thumbnails/25.jpg)
Production
Deployment tool
![Page 26: Continuous delivery in enterprise agile NCR 2014 New Delhi](https://reader034.vdocuments.site/reader034/viewer/2022052522/554a3d8db4c90582328b4e7e/html5/thumbnails/26.jpg)
Impediments
![Page 27: Continuous delivery in enterprise agile NCR 2014 New Delhi](https://reader034.vdocuments.site/reader034/viewer/2022052522/554a3d8db4c90582328b4e7e/html5/thumbnails/27.jpg)
Silos, departments and Corporates
![Page 28: Continuous delivery in enterprise agile NCR 2014 New Delhi](https://reader034.vdocuments.site/reader034/viewer/2022052522/554a3d8db4c90582328b4e7e/html5/thumbnails/28.jpg)
1 : Inside the team
![Page 29: Continuous delivery in enterprise agile NCR 2014 New Delhi](https://reader034.vdocuments.site/reader034/viewer/2022052522/554a3d8db4c90582328b4e7e/html5/thumbnails/29.jpg)
The Division Wall!
![Page 30: Continuous delivery in enterprise agile NCR 2014 New Delhi](https://reader034.vdocuments.site/reader034/viewer/2022052522/554a3d8db4c90582328b4e7e/html5/thumbnails/30.jpg)
The Dev world
Write CodeWrite Unit Test Cases
![Page 31: Continuous delivery in enterprise agile NCR 2014 New Delhi](https://reader034.vdocuments.site/reader034/viewer/2022052522/554a3d8db4c90582328b4e7e/html5/thumbnails/31.jpg)
The Ops WorldIT buyingInstallation of server hardware and OSConfiguration of servers, networks, storage, etc…Monitoring of serversRespond to outagesIT securityManaging phone systems, networkChange controlBackup and disaster recovery planningManage active directoryAsset tracking
Software deploymentsApplication support
![Page 32: Continuous delivery in enterprise agile NCR 2014 New Delhi](https://reader034.vdocuments.site/reader034/viewer/2022052522/554a3d8db4c90582328b4e7e/html5/thumbnails/32.jpg)
Developer vs IT Operations
![Page 33: Continuous delivery in enterprise agile NCR 2014 New Delhi](https://reader034.vdocuments.site/reader034/viewer/2022052522/554a3d8db4c90582328b4e7e/html5/thumbnails/33.jpg)
Bridging the gap- devOps!
![Page 34: Continuous delivery in enterprise agile NCR 2014 New Delhi](https://reader034.vdocuments.site/reader034/viewer/2022052522/554a3d8db4c90582328b4e7e/html5/thumbnails/34.jpg)
its a culture... its a movement.. Started as devOps days in Belgium in 2009.
Developers interested in cloud, clusters, servers, deployments, databases learn to write code to maintain them.
Ops people evolve and start developing the code to maintain infrastructure.
And they are all in one same dev team trying to achieve one goal!
![Page 35: Continuous delivery in enterprise agile NCR 2014 New Delhi](https://reader034.vdocuments.site/reader034/viewer/2022052522/554a3d8db4c90582328b4e7e/html5/thumbnails/35.jpg)
Collaboration -> Best practices
Ops learn from developers - > Coding principles,managed code, versioning.
Dev learn from Ops -> Insights of environment and deployments, their problems.
![Page 36: Continuous delivery in enterprise agile NCR 2014 New Delhi](https://reader034.vdocuments.site/reader034/viewer/2022052522/554a3d8db4c90582328b4e7e/html5/thumbnails/36.jpg)
Introducing Mr. DevOps
Mr. Sacha Noam Baron CohenDesignation : Senior DevOps Engineer
![Page 37: Continuous delivery in enterprise agile NCR 2014 New Delhi](https://reader034.vdocuments.site/reader034/viewer/2022052522/554a3d8db4c90582328b4e7e/html5/thumbnails/37.jpg)
2. Outside the team
![Page 38: Continuous delivery in enterprise agile NCR 2014 New Delhi](https://reader034.vdocuments.site/reader034/viewer/2022052522/554a3d8db4c90582328b4e7e/html5/thumbnails/38.jpg)
But, the Management?
![Page 39: Continuous delivery in enterprise agile NCR 2014 New Delhi](https://reader034.vdocuments.site/reader034/viewer/2022052522/554a3d8db4c90582328b4e7e/html5/thumbnails/39.jpg)
The boss is always right!
![Page 40: Continuous delivery in enterprise agile NCR 2014 New Delhi](https://reader034.vdocuments.site/reader034/viewer/2022052522/554a3d8db4c90582328b4e7e/html5/thumbnails/40.jpg)
The long wait for approvals...
![Page 41: Continuous delivery in enterprise agile NCR 2014 New Delhi](https://reader034.vdocuments.site/reader034/viewer/2022052522/554a3d8db4c90582328b4e7e/html5/thumbnails/41.jpg)
Open source vs Proprietary!
![Page 42: Continuous delivery in enterprise agile NCR 2014 New Delhi](https://reader034.vdocuments.site/reader034/viewer/2022052522/554a3d8db4c90582328b4e7e/html5/thumbnails/42.jpg)
Business Involvement
![Page 43: Continuous delivery in enterprise agile NCR 2014 New Delhi](https://reader034.vdocuments.site/reader034/viewer/2022052522/554a3d8db4c90582328b4e7e/html5/thumbnails/43.jpg)
Case Study : Implementing Continuous Delivery for a big Retail Company
![Page 44: Continuous delivery in enterprise agile NCR 2014 New Delhi](https://reader034.vdocuments.site/reader034/viewer/2022052522/554a3d8db4c90582328b4e7e/html5/thumbnails/44.jpg)
Building a PAAS solution for service orchestration for services like Payment,Fraud Check,Fulfillment.
Technology : ESB MuleDeployed on : EC2 and Cloud hubBuild tools: Jenkins, Maven, JGit plugin,SCM : GitArtifact repository : NexusLogging : Elastic search , LogStash with Kibana System Monitoring : Icinga.Test Automation: -Functional Testing : JBehave + Selenium -Performance /Load Testing : JMeterConfiguration Management : Puppet
![Page 45: Continuous delivery in enterprise agile NCR 2014 New Delhi](https://reader034.vdocuments.site/reader034/viewer/2022052522/554a3d8db4c90582328b4e7e/html5/thumbnails/45.jpg)
Team Structure1 Architect3 developers2 devOps1 Automation QA1 BA / Product Owner1 Scrum Master1 person from business acting as BA/support
![Page 46: Continuous delivery in enterprise agile NCR 2014 New Delhi](https://reader034.vdocuments.site/reader034/viewer/2022052522/554a3d8db4c90582328b4e7e/html5/thumbnails/46.jpg)
Delivery Components
![Page 47: Continuous delivery in enterprise agile NCR 2014 New Delhi](https://reader034.vdocuments.site/reader034/viewer/2022052522/554a3d8db4c90582328b4e7e/html5/thumbnails/47.jpg)
Repositories and Release Management
![Page 48: Continuous delivery in enterprise agile NCR 2014 New Delhi](https://reader034.vdocuments.site/reader034/viewer/2022052522/554a3d8db4c90582328b4e7e/html5/thumbnails/48.jpg)
Configuration Management ( Puppet)
![Page 49: Continuous delivery in enterprise agile NCR 2014 New Delhi](https://reader034.vdocuments.site/reader034/viewer/2022052522/554a3d8db4c90582328b4e7e/html5/thumbnails/49.jpg)
Jenkins : Build Pipelines
![Page 50: Continuous delivery in enterprise agile NCR 2014 New Delhi](https://reader034.vdocuments.site/reader034/viewer/2022052522/554a3d8db4c90582328b4e7e/html5/thumbnails/50.jpg)
Logging and Dashboard: Logstash, ElasticSearch with Kibana
![Page 51: Continuous delivery in enterprise agile NCR 2014 New Delhi](https://reader034.vdocuments.site/reader034/viewer/2022052522/554a3d8db4c90582328b4e7e/html5/thumbnails/51.jpg)
Build Radiators
![Page 52: Continuous delivery in enterprise agile NCR 2014 New Delhi](https://reader034.vdocuments.site/reader034/viewer/2022052522/554a3d8db4c90582328b4e7e/html5/thumbnails/52.jpg)
System Monitoring : Icinga
![Page 53: Continuous delivery in enterprise agile NCR 2014 New Delhi](https://reader034.vdocuments.site/reader034/viewer/2022052522/554a3d8db4c90582328b4e7e/html5/thumbnails/53.jpg)
Continuous Delivery Maturity Model
![Page 54: Continuous delivery in enterprise agile NCR 2014 New Delhi](https://reader034.vdocuments.site/reader034/viewer/2022052522/554a3d8db4c90582328b4e7e/html5/thumbnails/54.jpg)
picture courtesy : xebiaLabs
![Page 55: Continuous delivery in enterprise agile NCR 2014 New Delhi](https://reader034.vdocuments.site/reader034/viewer/2022052522/554a3d8db4c90582328b4e7e/html5/thumbnails/55.jpg)
Thanks!