The two most common blocking points when first configuring ECS deployment automation are: one, "I pushed a new image to ECR but ECS Service doesn't automatically update," and two, "Rolling and Blue/Green deployments require CodeBuild to generate different files, but what exactly is different?" Today, starting from these two pain points, we cover the complete ECS operational automation from Task Definition refresh to Auto Scaling and ECS Exec.
ECS Service manages "which Task Definition revision to execute." Deploying a new image ultimately means registering a new Task Definition revision and updating the ECS Service to use that revision.