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
0 answers

ArgoCD Rollout how to deal with Environments

I have a question how to deal with ArgoCD Rollout for different Environments. For my continuous deployment pipelines, I follow the principles you can see in below image. As explained in these blogs blog1 blog2, in its current design the pipeline…
posthumecaver
  • 1,584
  • 4
  • 16
  • 29
1
vote
0 answers

How to Blue/Green deployment in ECS as different instances?

ECS Blue/Green deployment was successful using CodePipeline. However, Blue and Green target groups point to the same instance. My ECS has one instance, which Target Group A points to. When CodePipeline triggers a new version deployment: My…
Luna
  • 33
  • 5
1
vote
1 answer

Horizontal Auto-scaling based on other pod healthcheck

Is it possible to scale down a pod to 0 replicas when other pod is down?I'm familiar with the basics of the Horizontal Auto-Scaling concept, but as I understand it scales pod up or down only when demands for resources (CPU, memory) changes. My CI…
1
vote
1 answer

Can I automatically do Rolling, Blue-Green and Canary Deployments on Cloud Run (GCP)

I come from AWS. I used to automatically do Rolling, Blue-Green and Canary Deployments with CodeDeploy on AWS. Then, when I came to GCP and read Rollbacks, gradual rollouts, and traffic migration, it seems like I can kind of manually do Rolling,…
1
vote
1 answer

If a blue/green deployment fails on AWS, it leaves dangling instances. How do I ensure that old instances are terminated?

We have Blue/green deployment configured on AWS so that when we release to production, we have the old instance running while a replacement instance is being set-up. Each release creates a new autoscaling group and therefore new instances. If a…
1
vote
1 answer

Kubernetes ingress with backend serviceName regex/wildcard or selector

Hi all we have a Flink application with blue-green deployment which we get using the Flink operator. Flinkk8soperator for Apache Flink. The operator spins up the following three K8s services after a deployment: my-flinkapp-14hdhsr (Top level…
1
vote
0 answers

ECS (blue/green) deployment task definition as a resource and not as a file in codecommit repo

I have defined an "aws_ecs_task_definition" resource as defined below. And "aws_ecs_task_definition" has all the details required for our ECS to perform a blue/green deployment. resource "aws_ecs_task_definition" "ecs-task-definition" { …
1
vote
1 answer

Naming conventions in blue/green deployment with different environments

In our deployment we have three environments: testing, staging, and production. We recently introduced a blue-green setup so that we now have blue-production, blue-staging, green-production, green-staging and testing. We now wonder about the naming…
BayerSe
  • 1,101
  • 2
  • 12
  • 23
1
vote
1 answer

Use Envoy for Blue/Green Deployment

I am trying to understand if it would be possible to use Envoy proxy to route traffic between services based on the custom logic. In the example, I found: https://www.tetrate.io/blog/envoy-101-configuring-envoy-as-a-gateway/ Envoy has a defined…
inside
  • 3,047
  • 10
  • 49
  • 75
1
vote
1 answer

Blue Green Deployment with AWS ECS

We are using ECS Fargate containers to deploy all of our services (~10) and want to follow Blue/Green Deployment. We have deployed all the services under BLUE flag where target groups are pointing to the services. In CICD, New Target groups are…
1
vote
0 answers

Unable to update my ECS service to have two target groups for Blue Green deployment through cloudformation

Everytime I try to add another TragetGroupArn on the service resource in the cloudformation stack it provides me this error stating: Resource handler returned message: "Model validation failed (#: extraneous key [TragetGroupArn] is not permitted)"…
Varun Nair
  • 47
  • 4
1
vote
3 answers

Does Kubernetes natively support "blue-green"-like deployments?

I have a single page app. It is served by (and talks to) an API server running on a Kubernetes deployment with 2 replicas. I have added a X-API-Version header that my API sends on every request, and my client can compare with, to figure out if it…
Dominic Bou-Samra
  • 14,799
  • 26
  • 100
  • 156
1
vote
1 answer

Can I call different backend on Azure API Management

I am trying to achieve that, when I call an APIM Endpoint based on the request headers It should different endpoint. for e.g when user call https://test.azure-api.net/testsvc-dev/api/test APIM should be able to send the request to…
1
vote
1 answer

EKS Blue Green Deployments

Currently we’re running the loads on ECS where AWS provides OOB solution for Blue Green and canary deployments using code deploy, Right we’re in a process of migrating the applications EKS, Is there a process defined by AWS for doing the Blue green…
1
vote
0 answers

Automatic blue/green switch-over between two AWS Auto Scaling Groups using HTTP error codes (503)

Considering this scenario: An Auto-Scaling Group (ASG) representing the blue cluster is running a web application behind a load-balancer Another ASG representing the green cluster is deployed with a new version of the web application, connected to…