SlideShare a Scribd company logo
1 of 7
Download to read offline
Deployment
Strategies
Jahangir S
Basic Deployment
Rolling Deployment
Load Balancer
Simultaneous Updates
Instances
Load Balancer
Select Updates
Instances
Basic deployment simultaneously updates newer version on every node or
instance in the target environment
PROS
• Fast
• Simple
• Cost effective
CONS
• Outage vulnerability
• Difficult to rollback
Rolling deployment involves in replacing instances of previous version,
one after other, in a sequence till all instances are updated with newer
version; Also, sometimes known as ramped deployment.
PROS
• Flexible
• Minimum downtime
• Flawed deployment
impacts less users
CONS
• Slow rollback
• Backward compatibility
needed
2
Multiservice Deployment
Blue Green Deployment
Load Balancer
Multiservice Updates
Instances
Load Balancer
PROD
STAGE
Blue-green deployment is a release method that has two different but
identical environments wherein one environment is updated with newer
version and when testing is complete, traffic is switched from older
version environment to newer, updated environment.
PROS
Instant rollout / rollback
Minimum downtime
Zero versioning issues
CONS
High cost
Difficult to scale
Distorted user transactions
Multi-service deployment simultaneously updates every node in the
target environment with multiple services; Similar to basic deployment
but mostly applicable for services
PROS
• Fast
• Simple
• Cost effective
CONS
• Outage vulnerability
• Difficult to rollback
3
Canary Deployment
Dark Launch deployment
Load Balancer
V1
V1
V2 Canary
Load Balancer
V1
V1
V2
New Feature
Canary deployment updates an app or service in increments. Initial
update is rolled out to small subset of users, and it is gradually
increased in the scope of users till it reaches 100%
PROS
• Minimum downtime
• Fast rollbacks
• Allows test and live
updates
CONS
• Slow rollout
• Release increments takes
time
• High observation required
Dark launching process allows in releasing production ready features to
a small user group without exposing to the rest of userbase until they are
ready
PROS
• Gain feedback
• Minimize risk
• Safe & fast transition
• Run experiments
CONS
• Larger setup timeframes
• High cost of
implementation
4
Feature toggle deployment
Shadow Deployment
Load Balancer
Users
Users
Live Environment Shadow Environment
Users
Shadow deployment follows a process wherein app or services changes are
deployed in a parallel environment that mimics the production
environment. The deployed changes are not visible to the end-users,
hence the term “shadow.”
PROS
• Efficient scaling
• Real world testing
• Risk mitigation
CONS
• High cost of
implementation
Feature toggle deployment allows a service, function or feature to be
hidden, enabled or disabled during runtime for a particular group of
users while other users don’t notice any impact.
PROS
• Rapid feedback
• Unfinished feature can
be deployed
CONS
• High cost of
implementation
• User experience impact
Features
Features
New feature
5
Users
Users
Users
Users
A/B testing involves measuring functionality of two versions by collecting
real time data. While not strictly a deployment strategy, it’s a testing
approach that builds on the canary deployment strategy. A/B testing
allows organizations to take informed business decisions.
PROS
• Experimentation
• Exploration
• Traffic routing based on
business need
CONS
• High cost of maintenance
• May negatively impact
user experience
A/B Test deployment
A/B
Testing
15%
30%
Option A
Option B
Option B
6
Thank you
7

More Related Content

Similar to A SIMPLIFIED VIEW OF DEVOPS DEPLOYMENT STRATEGIES.pdf

Five Workload-to-Cloud Migration Methods
Five Workload-to-Cloud Migration MethodsFive Workload-to-Cloud Migration Methods
Five Workload-to-Cloud Migration Methods
Peak 10
 

Similar to A SIMPLIFIED VIEW OF DEVOPS DEPLOYMENT STRATEGIES.pdf (20)

Building a CICD pipeline for deploying to containers
Building a CICD pipeline for deploying to containersBuilding a CICD pipeline for deploying to containers
Building a CICD pipeline for deploying to containers
 
Docker-native Automated Delivery w/ Caylent
Docker-native Automated Delivery w/ CaylentDocker-native Automated Delivery w/ Caylent
Docker-native Automated Delivery w/ Caylent
 
Building A CICD Pipeline for Deploying to Containers
Building A CICD Pipeline for Deploying to ContainersBuilding A CICD Pipeline for Deploying to Containers
Building A CICD Pipeline for Deploying to Containers
 
Trunk based development and Canary deployment
Trunk based development and Canary deploymentTrunk based development and Canary deployment
Trunk based development and Canary deployment
 
DevOps Transformation: Learnings and Best Practices
DevOps Transformation: Learnings and Best PracticesDevOps Transformation: Learnings and Best Practices
DevOps Transformation: Learnings and Best Practices
 
Executing Deployment & Release Strategies
Executing Deployment & Release StrategiesExecuting Deployment & Release Strategies
Executing Deployment & Release Strategies
 
Building a CI/CD Pipeline for Containers - DevDay Los Angeles 2017
Building a CI/CD Pipeline for Containers - DevDay Los Angeles 2017Building a CI/CD Pipeline for Containers - DevDay Los Angeles 2017
Building a CI/CD Pipeline for Containers - DevDay Los Angeles 2017
 
Continuous Deployment Strategies
Continuous Deployment StrategiesContinuous Deployment Strategies
Continuous Deployment Strategies
 
Building CI/CD Pipelines for Serverless Applications
Building CI/CD Pipelines for Serverless ApplicationsBuilding CI/CD Pipelines for Serverless Applications
Building CI/CD Pipelines for Serverless Applications
 
Five Workload-to-Cloud Migration Methods
Five Workload-to-Cloud Migration MethodsFive Workload-to-Cloud Migration Methods
Five Workload-to-Cloud Migration Methods
 
Deployment Strategy PowerPoint Presentation Slides
Deployment Strategy PowerPoint Presentation SlidesDeployment Strategy PowerPoint Presentation Slides
Deployment Strategy PowerPoint Presentation Slides
 
Cloud for Agile Testing - Burak Koyuncu
Cloud for Agile Testing - Burak KoyuncuCloud for Agile Testing - Burak Koyuncu
Cloud for Agile Testing - Burak Koyuncu
 
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
 
Change Management in Hybrid landscapes 2017
Change Management in Hybrid landscapes 2017Change Management in Hybrid landscapes 2017
Change Management in Hybrid landscapes 2017
 
Deployment Strategies Powerpoint Presentation Slides
Deployment Strategies Powerpoint Presentation SlidesDeployment Strategies Powerpoint Presentation Slides
Deployment Strategies Powerpoint Presentation Slides
 
Tips to achieve continuous integration/delivery using HP ALM, Jenkins, and S...
 Tips to achieve continuous integration/delivery using HP ALM, Jenkins, and S... Tips to achieve continuous integration/delivery using HP ALM, Jenkins, and S...
Tips to achieve continuous integration/delivery using HP ALM, Jenkins, and S...
 
Everything about Blue-Green Deployment Strategy!
Everything about Blue-Green Deployment Strategy!Everything about Blue-Green Deployment Strategy!
Everything about Blue-Green Deployment Strategy!
 
Building a CICD Pipeline for Container Deployment to Amazon ECS - May 2017 AW...
Building a CICD Pipeline for Container Deployment to Amazon ECS - May 2017 AW...Building a CICD Pipeline for Container Deployment to Amazon ECS - May 2017 AW...
Building a CICD Pipeline for Container Deployment to Amazon ECS - May 2017 AW...
 
Performance Testing webinar
Performance Testing   webinarPerformance Testing   webinar
Performance Testing webinar
 
Cloud migration
Cloud migrationCloud migration
Cloud migration
 

Recently uploaded

Large-scale Logging Made Easy: Meetup at Deutsche Bank 2024
Large-scale Logging Made Easy: Meetup at Deutsche Bank 2024Large-scale Logging Made Easy: Meetup at Deutsche Bank 2024
Large-scale Logging Made Easy: Meetup at Deutsche Bank 2024
VictoriaMetrics
 
Abortion Pill Prices Tembisa [(+27832195400*)] 🏥 Women's Abortion Clinic in T...
Abortion Pill Prices Tembisa [(+27832195400*)] 🏥 Women's Abortion Clinic in T...Abortion Pill Prices Tembisa [(+27832195400*)] 🏥 Women's Abortion Clinic in T...
Abortion Pill Prices Tembisa [(+27832195400*)] 🏥 Women's Abortion Clinic in T...
Medical / Health Care (+971588192166) Mifepristone and Misoprostol tablets 200mg
 

Recently uploaded (20)

WSO2Con2024 - Hello Choreo Presentation - Kanchana
WSO2Con2024 - Hello Choreo Presentation - KanchanaWSO2Con2024 - Hello Choreo Presentation - Kanchana
WSO2Con2024 - Hello Choreo Presentation - Kanchana
 
AzureNativeQumulo_HPC_Cloud_Native_Benchmarks.pdf
AzureNativeQumulo_HPC_Cloud_Native_Benchmarks.pdfAzureNativeQumulo_HPC_Cloud_Native_Benchmarks.pdf
AzureNativeQumulo_HPC_Cloud_Native_Benchmarks.pdf
 
What Goes Wrong with Language Definitions and How to Improve the Situation
What Goes Wrong with Language Definitions and How to Improve the SituationWhat Goes Wrong with Language Definitions and How to Improve the Situation
What Goes Wrong with Language Definitions and How to Improve the Situation
 
Evolving Data Governance for the Real-time Streaming and AI Era
Evolving Data Governance for the Real-time Streaming and AI EraEvolving Data Governance for the Real-time Streaming and AI Era
Evolving Data Governance for the Real-time Streaming and AI Era
 
WSO2Con2024 - Organization Management: The Revolution in B2B CIAM
WSO2Con2024 - Organization Management: The Revolution in B2B CIAMWSO2Con2024 - Organization Management: The Revolution in B2B CIAM
WSO2Con2024 - Organization Management: The Revolution in B2B CIAM
 
WSO2Con204 - Hard Rock Presentation - Keynote
WSO2Con204 - Hard Rock Presentation - KeynoteWSO2Con204 - Hard Rock Presentation - Keynote
WSO2Con204 - Hard Rock Presentation - Keynote
 
WSO2CON2024 - Why Should You Consider Ballerina for Your Next Integration
WSO2CON2024 - Why Should You Consider Ballerina for Your Next IntegrationWSO2CON2024 - Why Should You Consider Ballerina for Your Next Integration
WSO2CON2024 - Why Should You Consider Ballerina for Your Next Integration
 
WSO2CON 2024 - Cloud Native Middleware: Domain-Driven Design, Cell-Based Arch...
WSO2CON 2024 - Cloud Native Middleware: Domain-Driven Design, Cell-Based Arch...WSO2CON 2024 - Cloud Native Middleware: Domain-Driven Design, Cell-Based Arch...
WSO2CON 2024 - Cloud Native Middleware: Domain-Driven Design, Cell-Based Arch...
 
WSO2Con2024 - Facilitating Broadband Switching Services for UK Telecoms Provi...
WSO2Con2024 - Facilitating Broadband Switching Services for UK Telecoms Provi...WSO2Con2024 - Facilitating Broadband Switching Services for UK Telecoms Provi...
WSO2Con2024 - Facilitating Broadband Switching Services for UK Telecoms Provi...
 
WSO2CON2024 - It's time to go Platformless
WSO2CON2024 - It's time to go PlatformlessWSO2CON2024 - It's time to go Platformless
WSO2CON2024 - It's time to go Platformless
 
Large-scale Logging Made Easy: Meetup at Deutsche Bank 2024
Large-scale Logging Made Easy: Meetup at Deutsche Bank 2024Large-scale Logging Made Easy: Meetup at Deutsche Bank 2024
Large-scale Logging Made Easy: Meetup at Deutsche Bank 2024
 
WSO2CON 2024 - Building a Digital Government in Uganda
WSO2CON 2024 - Building a Digital Government in UgandaWSO2CON 2024 - Building a Digital Government in Uganda
WSO2CON 2024 - Building a Digital Government in Uganda
 
WSO2CON 2024 - Designing Event-Driven Enterprises: Stories of Transformation
WSO2CON 2024 - Designing Event-Driven Enterprises: Stories of TransformationWSO2CON 2024 - Designing Event-Driven Enterprises: Stories of Transformation
WSO2CON 2024 - Designing Event-Driven Enterprises: Stories of Transformation
 
WSO2Con2024 - Software Delivery in Hybrid Environments
WSO2Con2024 - Software Delivery in Hybrid EnvironmentsWSO2Con2024 - Software Delivery in Hybrid Environments
WSO2Con2024 - Software Delivery in Hybrid Environments
 
WSO2CON 2024 - API Management Usage at La Poste and Its Impact on Business an...
WSO2CON 2024 - API Management Usage at La Poste and Its Impact on Business an...WSO2CON 2024 - API Management Usage at La Poste and Its Impact on Business an...
WSO2CON 2024 - API Management Usage at La Poste and Its Impact on Business an...
 
Abortion Pill Prices Tembisa [(+27832195400*)] 🏥 Women's Abortion Clinic in T...
Abortion Pill Prices Tembisa [(+27832195400*)] 🏥 Women's Abortion Clinic in T...Abortion Pill Prices Tembisa [(+27832195400*)] 🏥 Women's Abortion Clinic in T...
Abortion Pill Prices Tembisa [(+27832195400*)] 🏥 Women's Abortion Clinic in T...
 
WSO2Con2024 - From Blueprint to Brilliance: WSO2's Guide to API-First Enginee...
WSO2Con2024 - From Blueprint to Brilliance: WSO2's Guide to API-First Enginee...WSO2Con2024 - From Blueprint to Brilliance: WSO2's Guide to API-First Enginee...
WSO2Con2024 - From Blueprint to Brilliance: WSO2's Guide to API-First Enginee...
 
Devoxx UK 2024 - Going serverless with Quarkus, GraalVM native images and AWS...
Devoxx UK 2024 - Going serverless with Quarkus, GraalVM native images and AWS...Devoxx UK 2024 - Going serverless with Quarkus, GraalVM native images and AWS...
Devoxx UK 2024 - Going serverless with Quarkus, GraalVM native images and AWS...
 
WSO2Con2024 - Unleashing the Financial Potential of 13 Million People
WSO2Con2024 - Unleashing the Financial Potential of 13 Million PeopleWSO2Con2024 - Unleashing the Financial Potential of 13 Million People
WSO2Con2024 - Unleashing the Financial Potential of 13 Million People
 
Announcing Codolex 2.0 from GDK Software
Announcing Codolex 2.0 from GDK SoftwareAnnouncing Codolex 2.0 from GDK Software
Announcing Codolex 2.0 from GDK Software
 

A SIMPLIFIED VIEW OF DEVOPS DEPLOYMENT STRATEGIES.pdf

  • 2. Basic Deployment Rolling Deployment Load Balancer Simultaneous Updates Instances Load Balancer Select Updates Instances Basic deployment simultaneously updates newer version on every node or instance in the target environment PROS • Fast • Simple • Cost effective CONS • Outage vulnerability • Difficult to rollback Rolling deployment involves in replacing instances of previous version, one after other, in a sequence till all instances are updated with newer version; Also, sometimes known as ramped deployment. PROS • Flexible • Minimum downtime • Flawed deployment impacts less users CONS • Slow rollback • Backward compatibility needed 2
  • 3. Multiservice Deployment Blue Green Deployment Load Balancer Multiservice Updates Instances Load Balancer PROD STAGE Blue-green deployment is a release method that has two different but identical environments wherein one environment is updated with newer version and when testing is complete, traffic is switched from older version environment to newer, updated environment. PROS Instant rollout / rollback Minimum downtime Zero versioning issues CONS High cost Difficult to scale Distorted user transactions Multi-service deployment simultaneously updates every node in the target environment with multiple services; Similar to basic deployment but mostly applicable for services PROS • Fast • Simple • Cost effective CONS • Outage vulnerability • Difficult to rollback 3
  • 4. Canary Deployment Dark Launch deployment Load Balancer V1 V1 V2 Canary Load Balancer V1 V1 V2 New Feature Canary deployment updates an app or service in increments. Initial update is rolled out to small subset of users, and it is gradually increased in the scope of users till it reaches 100% PROS • Minimum downtime • Fast rollbacks • Allows test and live updates CONS • Slow rollout • Release increments takes time • High observation required Dark launching process allows in releasing production ready features to a small user group without exposing to the rest of userbase until they are ready PROS • Gain feedback • Minimize risk • Safe & fast transition • Run experiments CONS • Larger setup timeframes • High cost of implementation 4
  • 5. Feature toggle deployment Shadow Deployment Load Balancer Users Users Live Environment Shadow Environment Users Shadow deployment follows a process wherein app or services changes are deployed in a parallel environment that mimics the production environment. The deployed changes are not visible to the end-users, hence the term “shadow.” PROS • Efficient scaling • Real world testing • Risk mitigation CONS • High cost of implementation Feature toggle deployment allows a service, function or feature to be hidden, enabled or disabled during runtime for a particular group of users while other users don’t notice any impact. PROS • Rapid feedback • Unfinished feature can be deployed CONS • High cost of implementation • User experience impact Features Features New feature 5
  • 6. Users Users Users Users A/B testing involves measuring functionality of two versions by collecting real time data. While not strictly a deployment strategy, it’s a testing approach that builds on the canary deployment strategy. A/B testing allows organizations to take informed business decisions. PROS • Experimentation • Exploration • Traffic routing based on business need CONS • High cost of maintenance • May negatively impact user experience A/B Test deployment A/B Testing 15% 30% Option A Option B Option B 6