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
5
votes
3 answers

Blue/Green "deployment" of elasticsearch data?

I am planning on extracting (essentially scraping, with permission) some data from a web-page and store that in elasticsearch (you know, for search). While I have permission to scrape the data from the site, there is no API or another structured…
4
votes
1 answer

How to provide AppSpec and Task Definition to CodeDeploy in ECR sourced pipeline

I want to trigger a blue/green ECS deploy on ECR image update. The deployment stage requires three input artifacts: imageDetail.json, appspec.json and taskdef.json. While creating a pipeline I pick ECR repository as a source, which creates an…
4
votes
0 answers

How to deploy multiple git repositories all at once using AWS Code Deploy and AWS Code Pipeline?

I have 3 different repositories which has to be deployed(deploymentType is Blue/Green) to same autoscaling group. I've created 3 different code pipeline and one deployment group. Problem here is Blue/Green deployment will create new autoscaling…
4
votes
1 answer

Avoid Update of resources in Terraform

Currently we are using the Blue/Green Deployment Model for our Application using Terraform. And our TF Files have resources for both Blue & Green as seen below - resource "aws_instance" "green_node" { count = "${var.node_count * var.keep_green *…
Rohit Sarkar
  • 293
  • 1
  • 5
  • 15
4
votes
3 answers

AWS Lambda and Gateway API - blue/green deployment with cloudformation

When deploying the lambda function with Gateway API using cloudformation template, I want to put Gateway APIs created with different stages behind route53, so can use the weighted trafficking for blue/green deployment. Is it possible to automate the…
Hammer
  • 8,538
  • 12
  • 44
  • 75
4
votes
3 answers

Elastic Beanstalk + Route53 Alias = instant blue-green swaps?

When using Elastic Beanstalk with CNAME swapping for zero downtime deployments, DNS caching (clients not respecting TTL) causes some clients to continue sending traffic to the old environment (for up to several days). When using Elastic Beanstalk…
3
votes
1 answer

Connections lost on slot swap

I want to use deployment slots for my Blazor server side application, but it stops working for the current users during the swap and they have to refresh the page. I'm using an Azure SignalR Service for performance reasons, so it kinda makes sense,…
3
votes
0 answers

Best practice to implement the actual blue/green deployment for serverless application created by cloudformation

[background] Hi, I'm preparing to implement serverless application using cloudformation(aws-sam) and would like to apply blue/green deployment for production environment. This application is actually small and has only API gateway, Lambda, S3,…
d.y
  • 105
  • 1
  • 6
3
votes
2 answers

Canary Release and Blue Green Deployment on AWS

I am currently implementing Canary Release and Blue Green Deployment on my Static Website on AWS S3. Basically, I created two S3 bucket (v1 and v2) and 2 cloud front (I didn't append the CNAME). Then, I create 2 A alias records in Route 53 with 50%…
3
votes
2 answers

How to implement blue/green deployments in AWS with Terraform without losing capacity

I have seen multiple articles discussing blue/green deployments and they consistently involve forcing recreation of the Launch Configuration and the Autoscaling Group. For…
3
votes
1 answer

Blue/Green deployment for service that using Kafka in docker swarm

Goal: is to organize blue/green deployment for the particular spring-boot service which is using Kafka.(I'm not interested how to solve B/G on REST or DB layer so lets assume that this part of B/G is already done on LB) I want: to run two instances…
smaiakov
  • 470
  • 5
  • 20
3
votes
4 answers

Blue Green deployment with multiple Micro Services with internal calls

I have a 8 spring boot micro services which internally call each other. The calling dns's of other micro services, define in the application.properties file of each service. Suppose, micro service A represent by A -> a.mydns.com and B-> b.mydns.com…
3
votes
1 answer

Blue Green Deployment for particular MicroService

I am using Kubernetes cluster for deploying our bunch of Microservices.I am able to manage Blue Green depoyment for all microservices at the same time like below My problem is that some times i want to deploy only App1 or App2 or both not all…
Prakash
  • 2,532
  • 6
  • 17
  • 21
3
votes
0 answers

Blue-green deployment for Jenkins itself

When I tinker with my live Jenkins instance, I risk down time. Thus I want to run blue and green Jenkins master instances. This way, I can work on one while the other is live and stable. As expected, searching on this topic tells me how to use…
John McGehee
  • 9,117
  • 9
  • 42
  • 50
3
votes
1 answer

Can GWT apps be deployed with blue/green deployment?

I read Martin Fowler's Blue/Green Deployment article and really like it. Basically, it's the concept that you have 2 production-class environments: a "blue" LIVE environment and a "green" LIVE environment. You only have 1 environment considered to…
IAmYourFaja
  • 55,468
  • 181
  • 466
  • 756
1
2
3
10 11