- 최신
- 최다 투표
- 가장 많은 댓글
Amazon ECS offers two different approaches for blue/green deployments: one using AWS CodeDeploy (deployment controller type: CODE_DEPLOY) and another using the native ECS blue/green deployment feature (deployment controller type: ECS with BLUE_GREEN strategy).
Based on your observation, it appears that the AWS ECS console now primarily promotes the native ECS blue/green deployment approach rather than the CodeDeploy integration. This reflects AWS's direction toward simplifying the deployment experience by incorporating blue/green capabilities directly into ECS.
However, the CodeDeploy integration for blue/green deployments (CODE_DEPLOY controller type) is still fully supported and available through AWS CLI, CloudFormation, and infrastructure as code tools like Terraform. There has been no announcement about deprecating or ending support for the CodeDeploy-based blue/green deployment approach.
Both approaches have their own advantages:
- The native ECS blue/green deployment (ECS controller with BLUE_GREEN strategy) provides a simpler, more integrated experience within ECS.
- The CodeDeploy-based approach (CODE_DEPLOY controller) offers more advanced deployment options and integrates well with existing CodeDeploy workflows.
You can continue using either approach based on your requirements. If you prefer the CodeDeploy integration, you can continue implementing it through CLI, CloudFormation, or Terraform. If you need console-based management, you may want to consider migrating to the native ECS blue/green deployment approach.
AWS often evolves its services to provide simpler, more integrated experiences, but typically maintains backward compatibility and support for existing approaches for extended periods.
Sources
DeploymentController - Amazon Elastic Container Service
AwsEcsServiceDeploymentControllerDetails - AWS Security Hub
Questions about CodeDeploy and ECS | AWS re:Post
Migrating an AWS CloudFormation CodeDeploy blue/green deployment template to an Amazon ECS blue/green AWS CloudFormation template - Amazon Elastic Container Service
