all DevOps news
How to approach IaC for AWS ECS
I am working on deploying containers to ECS and have a question about how to handle changes to the container images. IaC is written in CDK Typescript with GitLab Pipelines used for CICD.
Approach 1: Launch a new cluster with the latest version of a container image and re-point the ALB to the new cluster.
Approach 2: Update the running cluster with a new service / task and utilize ECS connection draining.
Please note, I'm not certain either approach is 100% valid.submitted by /u/QuidProCode