News for hackers. Stuff that matters.
Re:AWS CloudFormation now supports blue/green deployments fo... by bdcravens on Wednesday May 20, 2020 @12:37AM (#23243339)
We haven't had any problems, but our workload is mostly async background work. Our CI pushes master when it passes, running a simple script to push to ECR with a git SHA tag, update the task to use the latest image, and then update the service to the latest task definition. It takes 2 lines of bash to update the task definition, and 2 lines to run the AWS commands.
Re:AWS CloudFormation now supports blue/green deployments fo... by ciguy on Wednesday May 20, 2020 @03:00AM (#23244065)
Yeah for the standard vanilla case it's ok. As soon as you hit a certain scale or need to do anything non-standard it becomes much harder to work with.
Re:AWS CloudFormation now supports blue/green deployments fo... by snypox on Wednesday May 20, 2020 @02:11AM (#23243789)
Really? At the last company we had like a 200 lines PowerShell script for all of that.
Re:AWS CloudFormation now supports blue/green deployments fo... by scarface74 on Wednesday May 20, 2020 @08:37AM (#23246152)
You can do all of it by pushing the container to ECR, tagging it with your build number and running CloudFormation. You pass the build number in as a parameter and you specify your image as

  image: !subst “image:${Tag}”