From the course: DevOps with AWS: Tools for Automated Workflows
Unlock this course with a free trial
Join today to access over 25,500 courses taught by industry experts.
CodeDeploy: ECS - Amazon Web Services (AWS) Tutorial
From the course: DevOps with AWS: Tools for Automated Workflows
CodeDeploy: ECS
- [Instructor] Now let's do a deeper dive into how CodeDeploy works with ECS platform, that is Elastic Container Service platform. So with ECS, we can automatically handle the deployment of new ECS task definition end-to-end ECS service. So this only supports blue/green, and your service must be connected to a load balancer. So for CodeDeploy to work, the ECS task definition and the new container images that you associate with this new task definition must be already created. So you, as a developer, have the responsibility to push a new container image into ECR. Then you will create a new ECS task definition revision. And this revision must reference the new image you have created in ECR. And then you create a appspec.yml file that is going to reference this new ECS task definition you have created from before, and also specify some load balancer information if needed. So this appspec.yml file that you have created must be placed into an S3 bucket, and from there we can invoke…