Questions tagged [blue-green-deployment]

Blue-green deployment minimizes downtime by switching from one identical environment to another. The environments can reside on the same or different hardware.

Blue-green deployment minimizes downtime by switching from one identical environment to another. The environments can reside on the same or different hardware.

More information is available in a widely read post by Martin Fowler. Further deployment tactics that are sometimes called blue-green deployment are described by Itay Shakury. They are used to handle different workflows and risks tolerance as well as to facilitate A/B testing.

153 questions
152
votes
6 answers

Canary release strategy vs. Blue/Green

My understanding of a canary release is that it's a partial release to a subset of production nodes with sticky sessions turned on. That way you can control and minimize the number of users/customers that get impacted if you end up releasing a bad…
49
votes
4 answers

Blue Green Deployments vs Rolling Deployments?

What's the difference between a blue/green deployment and a rolling deployment? I always thought that a blue/green deployment was a sudden switch of traffic from the old version to the new version immediately. This talk about Blue/Green deployment…
20
votes
1 answer

How to route in between microservices using Spring Cloud & Netflix OSS

During our development of microservices using Spring Cloud, we started out using Zuul as a proxy for any connection from the outside to microservices, and for any microservice needing to contact another microservice. After some time we made the…
14
votes
1 answer

Blue/Green Deployments with Azure ServiceFabric

I'm currently building an application using the ReliableActors framework on Azure ServiceFabric. As we scale up, I'm looking at doing blue/green deployments. I can see how to do this using a stateless system. Is there's a way to do this using…
13
votes
1 answer

What is the canonical way to do blue/green deployment with the Spring Cloud/Netflix stack on PWS?

I'm experimenting with a setup that is very much like the one detailed in the image here: https://raw.githubusercontent.com/Oreste-Luci/netflix-oss-example/master/netflix-oss-example.png In my setup, I'm using a client application…
11
votes
1 answer

Blue Green Deployment with Helm Charts

We Could deploy applications using 'Helm Charts' with helm install --name the-release helm/the-service-helm --namespace myns And we cold 'Rolling Upgrade' the deployment using, helm upgrade --recreate-pods the-release helm/the-service-helm…
11
votes
2 answers

How can we maintain state of autoscaling group while using Blue/Green Deployment in AWS CodeDeploy?

We have setup our infrastructure for a project using Terraform, including the code-deploy, ALB and auto-scaling groups. So far, we were doing in-place deployments. But now we're trying to switch to Blue/Green deployment. Since CodeDeploy Blue/Green…
9
votes
4 answers

Zero downtime/blue-green deployment of Single Page Application (SPA)

Yesterday together with the team we were discussing the possibility of using zero downtime deployments to support our single page application. While discussing it we identified one edge case for it. After user loads the page in his browser it cannot…
9
votes
1 answer

RDS snapshot restore taking too long

As part of our blue-green deployment strategy we are snapshoting the prod RDS instance and then restoring this snapshot into a new instance applying db migrations after it and linking the newly Green application to it. Our RDS instance has a 100 GB…
9
votes
2 answers

How to handle data changes in Blue/Green deployment technique?

I have studied this article about Blue/Green deployment, then some more googling introduced me to this article about Canary Release. I have this ambiguity : what will happen to databases? how we should make them synchronized? i have two possible…
MoienGK
  • 4,544
  • 11
  • 58
  • 92
7
votes
3 answers

S3 static website /w bluegreen deployment

I'm having difficulty providing a bluegreen for my s3 static website. I publish a version of the website in a given bucket and it is exposed at: a Cloudfront distribution then on a Route 53 and yet another CDN (corporate, which resolves the DNS) to…
7
votes
2 answers

blue green deployment on heroku or another cloud platform as a service

We're currently running a Ruby on Rails project (RefineryCMS) on Heroku with two dynos. Every time we update the site we experience downtime for about 1 to 2 minutes. Management are not happy about this. What we'd really like is some sort of…
gef
  • 7,025
  • 4
  • 41
  • 48
5
votes
1 answer

How do I run a blue green deployment in Azure with EF Core Migrations enabled

I would like to run blue green deployments; however, EF Migrations seem to block that. If I deploy version 1 to the Blue slot, create an EF Migrations and deploy version 2 to the Green slot, then one of two things will happen. Scenario 1: I will…
5
votes
2 answers

Required Cloudformation Script for Blue/Green deployment on ECS

I am trying to write a cloud-formation template for AWS ECS with blue green deployment support. This blue-green feature was added recently by AWS in ECS and couldn't find any reference for updating it in cloud-formation template. They have given…
5
votes
1 answer

Spark Structured Streaming Blue/Green Deployments

We'd like to be able to deploy our Spark jobs such that there isn't any downtime in processing data during deployments (currently there's about a 2-3 minute window). In my mind, the easiest way to do this is to simulate the "blue/green deployment"…
1
2 3
10 11