blue-green-deployment

AWS ECS Blue/Green CodePipeline: Exception while trying to read the image artifact

爷,独闯天下 提交于 2021-01-28 11:50:55
问题 I wanted to create a CodePipeline which builds a container image from CodeCommit source and afterwards deploys the new image in Blue/Green fashion to my ECS service (EC2 launchtype). The source stage is CodeCommit, which already includes appspec.json as well as taskdef.json The build stage is building the new container & pushing it to ECR successfully, the file imagedefinition.json is the BuildArtifact created at this step, containing the container and the recently created image with its tag

Blue Green Deployment with Helm Charts

大憨熊 提交于 2020-12-01 10:21:03
问题 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 --namespace myns Is there a way to use 'Helm Charts' to achieve 'Blue/Green' Deployments? 回答1: Let's start from definitions Since there are many deployment strategies, let's start from the definition. As per Martin Flowers' definition of Blue-Green

Blue Green Deployment with Helm Charts

為{幸葍}努か 提交于 2020-12-01 10:19:53
问题 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 --namespace myns Is there a way to use 'Helm Charts' to achieve 'Blue/Green' Deployments? 回答1: Let's start from definitions Since there are many deployment strategies, let's start from the definition. As per Martin Flowers' definition of Blue-Green

CodePipeline ECS Blue/Green Deployment cross account fails with PermissionError

十年热恋 提交于 2020-03-05 06:21:07
问题 I'm trying to set up CodePipeline with an ECS blue/green deployment where the deployment is in a different AWS account. I've been using the two guides for ECS Blue/Green and CodePipeline cross-account deployments. CodePipeline lives in Account A along with its KMS Key, S3 artifact bucket and ECR repository. The ECS cluster lives in Account B with the CodeDeploy setup. The ECR, KMS key and S3 buckets have cross-account permissions (these give a different error when wrong). The cluster starts

Required Cloudformation Script for Blue/Green deployment on ECS

孤街醉人 提交于 2019-12-07 21:08:02
问题 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 documentation on, how to do it through UI but not through cloud-formation. I guess, AWS might not updated their cloud-formation documentation as it is a new feature. Any help to find the documentation would be appreciated. Thanking you in advance.

Required Cloudformation Script for Blue/Green deployment on ECS

一个人想着一个人 提交于 2019-12-06 06:28:49
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 documentation on, how to do it through UI but not through cloud-formation. I guess, AWS might not updated their cloud-formation documentation as it is a new feature. Any help to find the documentation would be appreciated. Thanking you in advance. Currently cloudformation does not support the DeploymentController parameter in which you can specify

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

南楼画角 提交于 2019-12-06 03:19:36
问题 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 (transparent) Blue-Green Deployment: http://martinfowler.com/bliki/BlueGreenDeployment.html Is this possible to achieve on Heroku or another cloud platform as a service? We're also using Unicorn, but happy to change if necessary. 回答1: Have a look at

Blue Green Deployments vs Rolling Deployments?

守給你的承諾、 提交于 2019-12-04 16:41:49
问题 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 on AWS shows various different strategies to implement a blue/green deployment, but they also seem to match the definition of a rolling deployment. Is a blue/green deployment a subset of rolling deployments? 回答1: I have written an essay on this

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

怎甘沉沦 提交于 2019-12-04 07:07:04
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 (transparent) Blue-Green Deployment: http://martinfowler.com/bliki/BlueGreenDeployment.html Is this possible to achieve on Heroku or another cloud platform as a service? We're also using Unicorn, but happy to change if necessary. John Beynon Have a look at Heroku pre-boot it's a labs feature but sounds like exactly what you need. Heroku don't support Blue

Blue Green Deployments vs Rolling Deployments?

风流意气都作罢 提交于 2019-12-03 09:53:38
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 on AWS shows various different strategies to implement a blue/green deployment, but they also seem to match the definition of a rolling deployment . Is a blue/green deployment a subset of rolling deployments? I have written an essay on this topic here: http://blog.itaysk.com/2017/11/20/deployment-strategies-defined In my opinion the difference is