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
1
vote
1 answer

Recommended GCP blue-green deployment pattern?

We are developing/supporting a mobile app for a client that uses React-Native talking to a GCP backend. The database is Firestore, object storage uses GCP Storage, we use GCP app-engine for a few REST calls, and a series of Cloud Functions to…
1
vote
1 answer

What happens to the in-progress requests during blue green deployment

I have been experimenting with blue green deployment in kubernetes using nginx-ingress. I created few concurrent http request to hit v1 version of my application. In the meanwhile I switched the router to point to v2 version of my application. As…
bhavanak
  • 255
  • 1
  • 12
1
vote
0 answers

Stuck at Code Deploy when trying to do Blue Green Deploy in CI/CD pipeline on ECS

I am trying to do BlueGreen Deployment on ECS. My service when I deploy on ECS cluster manually is running fine and it is passing all the health checks. But Whenever I do blue-green deployment on the same service on ECS it get stuck in install phase…
1
vote
1 answer

How to define release pipeline in Azure DevOps for maintainable blue-green deployment

I'm recreating our very complicated deployment process in Azure DevOps. Currently, our live environment is composed of 4 VMs behind a load balancer. The strategy I thought about is kind of blue-green deployment, just that I'll be working on half…
1
vote
0 answers

AWS Blue-Green deployments with Fargate and CodeDeploy

It is possible with AWS to have Blue-Green deployments for your ECS Fargate instances under a load balancer. This is achieved through the AWS CodeDeploy service. However, when configuring CodeDeploy, you provide load balancer's listeners for…
1
vote
1 answer

Specify AWS CodeDeploy Target instances in AWS CodePipeline for Blue/Green deployment

I'm trying to create a CodePipeline to deploy an application to EC2 instances using Blue/Green Deployment. My Deployment Group looks like this: aws deploy update-deployment-group \ --application-name MySampleAppDeploy \ …
1
vote
1 answer

AWS Blue/Green Deployment with ECS for Target Group swapping from one ELB

I have an ECS Cluster (example-ecs-cluster) with an EC2 launch type ECS Service (example-ecs-service). I am trying to build a Blue/Green deployment type with Target Group Swapping from CodeDeploy which means the new code revision should be served…
1
vote
1 answer

Is it possible to convert an aws codepipeline to bitbucket pipeline?

I would like to deploy my application to aws blue-green environment. I can find aws codepipeline to integrate the blue-green environment. But I can't find anything for bitbucket.
1
vote
1 answer

AWS Immutable Updates for New Application Version

Trying to use immutable deployment strategy for deploying new application version on AWS Elastic Beanstalk. Is there anyway to determine how AWS handles traffic from the old to new instances? Since it looks like there are 2 sets ( old + new ) of…
1
vote
0 answers

Slackbot Deployment via ECS

I have a slackbot that uses RTM api and it's currently deployed via AWS ECS. Whenever I want to update the bot, a new task comes in and there's a 10-20 second window where the old bot is still shutting down while the new bot is up so now there will…
1
vote
1 answer

Blue/green deployment, canary releases and database consistency

There is a few techniques to ensure new changes doesn't break the system, like mentioned above blue-green or canary deployment. Both means applying changes partially (change only part of infrastructure, or run new version in parallel with old…
1
vote
1 answer

Push and delete or Reroute? Blue Green Deployment on CloudFoundry

Is there a reason that the CloudFoundry documentation recommends the following steps for Blue-Green deployment (we're in Pivotal CloudFoundry): Push GoodApp_new Add GoodApp route to GoodApp_new (load balancing between them) Remove GoodApp route…
Avery Sturzl
  • 82
  • 1
  • 13
1
vote
0 answers

How to have 2 path jenkins pipeline for Blue/Green Deployment Strategy

I have a Jenkinsfile having a path in this order (assuming Green envs are binded to production only): Build-->Deploy-to-QA-->Deploy-To-Preprod-->Deploy-To-BLUE-Production-->Bind to Blue envs to Load Balancer--> Unbind Green Env-->Deploy to Green-->…
1
vote
1 answer

Blue-green deployments on Azure for multi-tenancy

Let us say blue and green app services share the same database instances and you can use slots for swapping the applications. How would you handle the schema-breaking changes, as some users may be about to post a request that would not work with the…
1
vote
1 answer

Get active elastic beanstalk environment info via AWS CLI

How can I retrieve information using the AWS CLI about the active elastic beanstalk instance setup in a blue/green manner (where two environments are running side by side). Running the following command gives me an array of environments for my…