SlideShare a Scribd company logo
1 of 11
STREAMLINING DEPLOYMENT
PROCESS
Mentor
Srinivas Chamarthy
Intern
Rivu Das
Problem Statement
• Santa team uses microservice architecture, comprising of 12-13
micro services to provide offers to our customers. These services are
continuously upgraded and modified as per the requirements.
• There was a need to build a system that would require minimal
effort from developer to build and deploy services on testing and
production environment.
• The system should make sure no bad deployment goes to
production.
Analysis and Alternatives
• Currently all teams at Flipkart use fk-ops buildserver to build and
deploy.
Problems with Build-Server
• Is single-threaded.
• Does not provide resumability.
• Does not provide any aggregated view of the deployment process.
• Requires tech-ops involvement for issues like disk space etc to
resolve.
Analysis and Alternatives
What we achieved
• We built a generic system, with few parameters replicated for all
the microservices of santa, same can be done for services across
flipkart.
• User has to provide a few parameters and then the system does
rest of the job.
• The system can be modified very easily to accommodate future
needs.
Implementation
• Jenkins and Ansible are used in system for workflow
management and deployment respectively
• Jenkins builds the project and then uploads the debian package
to repo service.
• After that it triggers ansible for the deployment.
• Ansible makes sure that the packages are installed on all the
provided machines and proper logs are generated for all the
processes performed.
• Ansible also sends the machine out of rotation in case package
installation failure.
Safety Nets
• Makes sure that the built package has been uploaded to repo
service.
• Verifies the version number of the installed package with the latest
package available on repo service.
• Picks up few machines to test new deployment for sanity test like
number of failures, change in latency after deployment.
• Ensures that new package(version) does not degrade the
performance of the service.
• In case of any errors, it pinpoints the exact step where the error
occured to ensure proper debugging.
6
SCREENSHOTS
7
8
9
10
CONCLUSIONS
• ONE - CLICK BUILD + DEPLOYMENT is successfully implemented and
has been tested also.
• This system is a lot more flexible and enhancible than the system
which is currently being used.
• A basic infrastructure is built with build, deployment and safety net
features
Future Scope:
Since the system is generic, it can be easily adapted for other
departments too.
With experience much more safety nets can be incorporated in the
workflow

More Related Content

What's hot

openSUSE Virtual Summit 2020 - openSUSE maintenance
openSUSE Virtual Summit 2020 - openSUSE maintenanceopenSUSE Virtual Summit 2020 - openSUSE maintenance
openSUSE Virtual Summit 2020 - openSUSE maintenanceMarina Latini
 
Architecture for the cloud deployment case study future
Architecture for the cloud deployment case study futureArchitecture for the cloud deployment case study future
Architecture for the cloud deployment case study futureLen Bass
 
Microsoft Team Foundation Server Build 2015
Microsoft Team Foundation Server Build 2015Microsoft Team Foundation Server Build 2015
Microsoft Team Foundation Server Build 2015Chris Kadel, MBA
 
Agent notes aorzet5 2014-04-11
Agent notes aorzet5  2014-04-11Agent notes aorzet5  2014-04-11
Agent notes aorzet5 2014-04-11Monica Beasley
 
Continuous Delivery With Team Foundation Server
Continuous Delivery With Team Foundation ServerContinuous Delivery With Team Foundation Server
Continuous Delivery With Team Foundation ServerDaniel Ştefănescu
 
Tfs 2015 Upgrade Tips and Tricks
Tfs 2015 Upgrade Tips and TricksTfs 2015 Upgrade Tips and Tricks
Tfs 2015 Upgrade Tips and TricksInCycleSoftware
 
Step by step how to install diagnostic agent
Step by step how to install diagnostic agentStep by step how to install diagnostic agent
Step by step how to install diagnostic agentgauravpanwar8
 
TFS Build - Continuous Integration
TFS Build - Continuous IntegrationTFS Build - Continuous Integration
TFS Build - Continuous IntegrationEsteban Garcia
 
Simple but usefull unit tests
Simple but usefull unit testsSimple but usefull unit tests
Simple but usefull unit testsNir Tayeb
 
What is Continuous Delivery?
What is Continuous Delivery?What is Continuous Delivery?
What is Continuous Delivery?Alan Parkinson
 
Release Management in TFS 2015
Release Management in TFS 2015Release Management in TFS 2015
Release Management in TFS 2015InCycleSoftware
 
Q1 Update Top 9 FAQs on Moving AventX to R12.1.3
Q1 Update Top 9 FAQs on Moving AventX to R12.1.3Q1 Update Top 9 FAQs on Moving AventX to R12.1.3
Q1 Update Top 9 FAQs on Moving AventX to R12.1.3STR Software
 
AventX: A New Wave of Functionality
AventX: A New Wave of FunctionalityAventX: A New Wave of Functionality
AventX: A New Wave of FunctionalitySTR Software
 
Continuous Integration - Step by Step
Continuous Integration - Step by StepContinuous Integration - Step by Step
Continuous Integration - Step by StepWilliam Simms
 
Wily introscope 7.1 installation guide
Wily introscope 7.1   installation guideWily introscope 7.1   installation guide
Wily introscope 7.1 installation guideImam Nurhadi
 
Buildinig a business case for test SAP PI/PO interfaces
Buildinig a business case for test SAP PI/PO interfacesBuildinig a business case for test SAP PI/PO interfaces
Buildinig a business case for test SAP PI/PO interfacesDaniel Graversen
 

What's hot (20)

openSUSE Virtual Summit 2020 - openSUSE maintenance
openSUSE Virtual Summit 2020 - openSUSE maintenanceopenSUSE Virtual Summit 2020 - openSUSE maintenance
openSUSE Virtual Summit 2020 - openSUSE maintenance
 
QTest
QTest QTest
QTest
 
Architecture for the cloud deployment case study future
Architecture for the cloud deployment case study futureArchitecture for the cloud deployment case study future
Architecture for the cloud deployment case study future
 
4 stage – 4 implementation
4 stage – 4 implementation4 stage – 4 implementation
4 stage – 4 implementation
 
Microsoft Team Foundation Server Build 2015
Microsoft Team Foundation Server Build 2015Microsoft Team Foundation Server Build 2015
Microsoft Team Foundation Server Build 2015
 
Agent notes aorzet5 2014-04-11
Agent notes aorzet5  2014-04-11Agent notes aorzet5  2014-04-11
Agent notes aorzet5 2014-04-11
 
Continuous Delivery With Team Foundation Server
Continuous Delivery With Team Foundation ServerContinuous Delivery With Team Foundation Server
Continuous Delivery With Team Foundation Server
 
Tfs 2015 Upgrade Tips and Tricks
Tfs 2015 Upgrade Tips and TricksTfs 2015 Upgrade Tips and Tricks
Tfs 2015 Upgrade Tips and Tricks
 
Step by step how to install diagnostic agent
Step by step how to install diagnostic agentStep by step how to install diagnostic agent
Step by step how to install diagnostic agent
 
TFS Build - Continuous Integration
TFS Build - Continuous IntegrationTFS Build - Continuous Integration
TFS Build - Continuous Integration
 
Simple but usefull unit tests
Simple but usefull unit testsSimple but usefull unit tests
Simple but usefull unit tests
 
What is Continuous Delivery?
What is Continuous Delivery?What is Continuous Delivery?
What is Continuous Delivery?
 
Release Management in TFS 2015
Release Management in TFS 2015Release Management in TFS 2015
Release Management in TFS 2015
 
Production_Deployment_CM_Updated
Production_Deployment_CM_UpdatedProduction_Deployment_CM_Updated
Production_Deployment_CM_Updated
 
Devops insights
Devops insightsDevops insights
Devops insights
 
Q1 Update Top 9 FAQs on Moving AventX to R12.1.3
Q1 Update Top 9 FAQs on Moving AventX to R12.1.3Q1 Update Top 9 FAQs on Moving AventX to R12.1.3
Q1 Update Top 9 FAQs on Moving AventX to R12.1.3
 
AventX: A New Wave of Functionality
AventX: A New Wave of FunctionalityAventX: A New Wave of Functionality
AventX: A New Wave of Functionality
 
Continuous Integration - Step by Step
Continuous Integration - Step by StepContinuous Integration - Step by Step
Continuous Integration - Step by Step
 
Wily introscope 7.1 installation guide
Wily introscope 7.1   installation guideWily introscope 7.1   installation guide
Wily introscope 7.1 installation guide
 
Buildinig a business case for test SAP PI/PO interfaces
Buildinig a business case for test SAP PI/PO interfacesBuildinig a business case for test SAP PI/PO interfaces
Buildinig a business case for test SAP PI/PO interfaces
 

Similar to REPORT_ppt

Ansible.pptx
Ansible.pptxAnsible.pptx
Ansible.pptxrajuklp1
 
Testing in the new age of DevOps
Testing in the new age of DevOpsTesting in the new age of DevOps
Testing in the new age of DevOpsMoataz Mahmoud
 
Ncerc rlmca202 adm m3 ssm
Ncerc rlmca202  adm m3 ssmNcerc rlmca202  adm m3 ssm
Ncerc rlmca202 adm m3 ssmssmarar
 
Architecting for the cloud storage build test
Architecting for the cloud storage build testArchitecting for the cloud storage build test
Architecting for the cloud storage build testLen Bass
 
Serena Release Management approach and solutions
Serena Release Management approach and solutionsSerena Release Management approach and solutions
Serena Release Management approach and solutionsSoftmart
 
The Rocky Cloud Road
The Rocky Cloud RoadThe Rocky Cloud Road
The Rocky Cloud RoadGert Drapers
 
Devops phase-1
Devops phase-1Devops phase-1
Devops phase-1G R VISHAL
 
Migration to the cloud
Migration to the cloudMigration to the cloud
Migration to the cloudEPAM Systems
 
Microservices at Scale: How to Reduce Overhead and Increase Developer Product...
Microservices at Scale: How to Reduce Overhead and Increase Developer Product...Microservices at Scale: How to Reduce Overhead and Increase Developer Product...
Microservices at Scale: How to Reduce Overhead and Increase Developer Product...DevOps.com
 
Continuous Delivery
Continuous DeliveryContinuous Delivery
Continuous DeliveryNetcetera
 
Getting to Walk with DevOps
Getting to Walk with DevOpsGetting to Walk with DevOps
Getting to Walk with DevOpsEklove Mohan
 
How to go from waterfall app dev to secure agile development in 2 weeks
How to go from waterfall app dev to secure agile development in 2 weeks How to go from waterfall app dev to secure agile development in 2 weeks
How to go from waterfall app dev to secure agile development in 2 weeks Ulf Mattsson
 
Continuous integration, delivery & deployment
Continuous integration,  delivery & deploymentContinuous integration,  delivery & deployment
Continuous integration, delivery & deploymentMartijn van der Kamp
 
Mastering Complex Application Deployments
Mastering Complex Application DeploymentsMastering Complex Application Deployments
Mastering Complex Application DeploymentsIBM UrbanCode Products
 
Nagios Conference 2014 - Sean Falzon - Nagios as a PC Health Monitor
Nagios Conference 2014 - Sean Falzon - Nagios as a PC Health MonitorNagios Conference 2014 - Sean Falzon - Nagios as a PC Health Monitor
Nagios Conference 2014 - Sean Falzon - Nagios as a PC Health MonitorNagios
 
Práticas, Técnicas e Ferramentas para Continuous Delivery com ALM
Práticas, Técnicas e Ferramentas para Continuous Delivery com ALMPráticas, Técnicas e Ferramentas para Continuous Delivery com ALM
Práticas, Técnicas e Ferramentas para Continuous Delivery com ALMMarcelo Sousa Ancelmo
 
Improving DevOps through Cloud Automation and Management - Real-World Rocket ...
Improving DevOps through Cloud Automation and Management - Real-World Rocket ...Improving DevOps through Cloud Automation and Management - Real-World Rocket ...
Improving DevOps through Cloud Automation and Management - Real-World Rocket ...Ostrato
 

Similar to REPORT_ppt (20)

Ansible.pptx
Ansible.pptxAnsible.pptx
Ansible.pptx
 
Testing in the new age of DevOps
Testing in the new age of DevOpsTesting in the new age of DevOps
Testing in the new age of DevOps
 
Deploying at will - SEI
 Deploying at will - SEI Deploying at will - SEI
Deploying at will - SEI
 
Ncerc rlmca202 adm m3 ssm
Ncerc rlmca202  adm m3 ssmNcerc rlmca202  adm m3 ssm
Ncerc rlmca202 adm m3 ssm
 
Architecting for the cloud storage build test
Architecting for the cloud storage build testArchitecting for the cloud storage build test
Architecting for the cloud storage build test
 
Serena Release Management approach and solutions
Serena Release Management approach and solutionsSerena Release Management approach and solutions
Serena Release Management approach and solutions
 
The Rocky Cloud Road
The Rocky Cloud RoadThe Rocky Cloud Road
The Rocky Cloud Road
 
Devops phase-1
Devops phase-1Devops phase-1
Devops phase-1
 
Migration to the cloud
Migration to the cloudMigration to the cloud
Migration to the cloud
 
Microservices at Scale: How to Reduce Overhead and Increase Developer Product...
Microservices at Scale: How to Reduce Overhead and Increase Developer Product...Microservices at Scale: How to Reduce Overhead and Increase Developer Product...
Microservices at Scale: How to Reduce Overhead and Increase Developer Product...
 
Continuous Delivery
Continuous DeliveryContinuous Delivery
Continuous Delivery
 
Getting to Walk with DevOps
Getting to Walk with DevOpsGetting to Walk with DevOps
Getting to Walk with DevOps
 
Extreme Makeover OnBase Edition
Extreme Makeover OnBase EditionExtreme Makeover OnBase Edition
Extreme Makeover OnBase Edition
 
How to go from waterfall app dev to secure agile development in 2 weeks
How to go from waterfall app dev to secure agile development in 2 weeks How to go from waterfall app dev to secure agile development in 2 weeks
How to go from waterfall app dev to secure agile development in 2 weeks
 
kishore
kishorekishore
kishore
 
Continuous integration, delivery & deployment
Continuous integration,  delivery & deploymentContinuous integration,  delivery & deployment
Continuous integration, delivery & deployment
 
Mastering Complex Application Deployments
Mastering Complex Application DeploymentsMastering Complex Application Deployments
Mastering Complex Application Deployments
 
Nagios Conference 2014 - Sean Falzon - Nagios as a PC Health Monitor
Nagios Conference 2014 - Sean Falzon - Nagios as a PC Health MonitorNagios Conference 2014 - Sean Falzon - Nagios as a PC Health Monitor
Nagios Conference 2014 - Sean Falzon - Nagios as a PC Health Monitor
 
Práticas, Técnicas e Ferramentas para Continuous Delivery com ALM
Práticas, Técnicas e Ferramentas para Continuous Delivery com ALMPráticas, Técnicas e Ferramentas para Continuous Delivery com ALM
Práticas, Técnicas e Ferramentas para Continuous Delivery com ALM
 
Improving DevOps through Cloud Automation and Management - Real-World Rocket ...
Improving DevOps through Cloud Automation and Management - Real-World Rocket ...Improving DevOps through Cloud Automation and Management - Real-World Rocket ...
Improving DevOps through Cloud Automation and Management - Real-World Rocket ...
 

REPORT_ppt

  • 2. Problem Statement • Santa team uses microservice architecture, comprising of 12-13 micro services to provide offers to our customers. These services are continuously upgraded and modified as per the requirements. • There was a need to build a system that would require minimal effort from developer to build and deploy services on testing and production environment. • The system should make sure no bad deployment goes to production.
  • 3. Analysis and Alternatives • Currently all teams at Flipkart use fk-ops buildserver to build and deploy. Problems with Build-Server • Is single-threaded. • Does not provide resumability. • Does not provide any aggregated view of the deployment process. • Requires tech-ops involvement for issues like disk space etc to resolve.
  • 4. Analysis and Alternatives What we achieved • We built a generic system, with few parameters replicated for all the microservices of santa, same can be done for services across flipkart. • User has to provide a few parameters and then the system does rest of the job. • The system can be modified very easily to accommodate future needs.
  • 5. Implementation • Jenkins and Ansible are used in system for workflow management and deployment respectively • Jenkins builds the project and then uploads the debian package to repo service. • After that it triggers ansible for the deployment. • Ansible makes sure that the packages are installed on all the provided machines and proper logs are generated for all the processes performed. • Ansible also sends the machine out of rotation in case package installation failure.
  • 6. Safety Nets • Makes sure that the built package has been uploaded to repo service. • Verifies the version number of the installed package with the latest package available on repo service. • Picks up few machines to test new deployment for sanity test like number of failures, change in latency after deployment. • Ensures that new package(version) does not degrade the performance of the service. • In case of any errors, it pinpoints the exact step where the error occured to ensure proper debugging. 6
  • 8. 8
  • 9. 9
  • 10. 10
  • 11. CONCLUSIONS • ONE - CLICK BUILD + DEPLOYMENT is successfully implemented and has been tested also. • This system is a lot more flexible and enhancible than the system which is currently being used. • A basic infrastructure is built with build, deployment and safety net features Future Scope: Since the system is generic, it can be easily adapted for other departments too. With experience much more safety nets can be incorporated in the workflow