Web: https://www.reddit.com/r/devops/comments/s3uzkv/how_to_approach_iac_for_aws_ecs/

Jan. 14, 2022, 3:27 p.m. | /u/QuidProCode

Everything DevOps reddit.com

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
[link] [comments]

aws aws ecs devops ecs iac

Staff Support Engineer - Terraform

@ HashiCorp | United States (Remote)

Cloud Security Engineer

@ Novetta | Arlington, VA

AWS Solutions Architect - FL

@ Amazon.com | US, FL, Virtual Location - Florida

DevOps Engineer, Cloud

@ Hyperscience | Germany

Cloud Infrastructure Architect, Professional Services, Federal Civilian focus

@ Amazon.com | US, MD, Virtual Location - Maryland

DevOps Engineer (Acronis Cyber Files) (w/m/d)

@ Acronis | Munich, Germany