Questions tagged [bluegreen]

Use this tag to describe questions related to Blue-Green Deployments, the technique for delivering zero-downtime deployments in a continuous deployment pipeline.

Blue-Green Deployment is a technique for supporting zero or low-downtime deployments. Engineers implement Blue-Green Deployments by provisioning identical sets of infrastructure labelled "Blue" and "Green", both pieces of infrastructure sit behind a router or load balancer:

Blue-Green Deployment

At any one time, either Blue or Green is active and serving live traffic; make all deployments to the inactive infrastructure, where they can be deployed and verified without impacting the live infrastructure. When a deployment is validated, the router is configured to switch traffic from the current live infrastructure to the newly deployed infrastructure.

Blue-Green Deployment is related to the concepts of Immutable Infrastructure and Canary Releasing.

Further Reading

8 questions
15
votes
2 answers

To design a blue green deploy how to publish websocket traffic from live to hot swap server

A blue green deploy involves pumping live prod data flows (blue) into a hot swap non prod environment (green) in preparation to deploy to live the green environment, such that the green has full data sync with the previous prod blue environment. I…
Scott Stensland
  • 479
  • 3
  • 15
8
votes
2 answers

Blue Green Deployment DB transactions management

Imagining I have 2 sets of environment(Blue and Green) + | | | v +-------+---------+ | Proxy/LB | | | +--+-------------++ | | +-----++ …
veerendra2
  • 133
  • 8
5
votes
1 answer

How to implement blue-green deployment with one master branch

I was told that they easy way out is to have two production branches, master/blue and master/green, git merge action triggers CI to deploy to the matching stacks. Is that possible to do it with single master branch? Some more details about our…
Joe
  • 153
  • 3
3
votes
1 answer

Blue/green deployment with micro services and DNS

Currently, we have on our test environment an ECS Cluster with micro services deployed. All micro services are talking to each other through Route53 DNS CNAMEs like service1.company.com, service2.company.com, etc. Here is a simplified schema of the…
3
votes
1 answer

how to specify the dependency in the deployment?

This is a design question. I am not sure this is the right place. We have multiple microservices deployed using a blue/green pattern in Azure DevOps pipelines. What I am trying to achieve is I want to deploy (trigger pipeline) services based on the…
0
votes
0 answers

How to approach Blue-green deployment between AWS Elastic Beanstalk (backend) and Vercel (frontend) to avoid downtime during breaking changes

I'm implementing blue-green deployments to achieve zero-downtime releases across both the frontend and backend. Here's our current setup: Backend: AWS Elastic Beanstalk with Application Load Balancer (ALB) Frontend: Deployed via Vercel Monorepo:…
0
votes
1 answer

Green/Blue Deployments with multiple development teams

I am working in Azure in an AKS cluster environment. The environment has several clusters separated from each other. Each cluster is hosting several containers of services, each of them is developed and maintain by a different team. I've been…
0
votes
1 answer

Making blue green deployment work for dependent ECS services

I have two ECS services. UI(http:///SS_UI/) and API(http:///webservice/). UI calls API and it's config file will have references to the API e.g. public static springURL = "http:///webservice/" The documentation for blue green deployment…
Rohini
  • 103
  • 1