From the course: Complete Guide to AWS Software Deployment
Unlock the full course today
Join today to access over 24,400 courses taught by industry experts.
Run Docker apps with an ECS service - Amazon Web Services (AWS) Tutorial
From the course: Complete Guide to AWS Software Deployment
Run Docker apps with an ECS service
- [Instructor] All right, in this video we're going to horizontally scale our Docker app by placing the task in an ECS service and accessing it through a load balancer. In order to do that, we're first going to have to start in the IAM console. So click or search for that, then go to Roles and click Create role. Keep AWS service selected here, and down below, choose CodeDeploy. See, we're going to be setting up a blue/green deployment, which is a type of deployment that will set up entirely new infrastructure with the new app revision working before swapping it over, giving us truly zero downtime deployments. It'll be very nice. So our Use case is CodeDeploy, and choose the final option here, CodeDeploy - ECS. Click next, all right, that pre-selects a policy for us called AWSCodeDeployRoleForECS, which is exactly what we want. So click next. And we'll call our role CodeDeploy ECS service role. Very descriptive name as usual. Scroll all the way down and click Create role. All right…
Contents
-
-
-
-
-
-
-
-
(Locked)
Understanding AWS Elastic Container Service and Fargate4m 39s
-
(Locked)
Run the demo app locally with Docker10m 41s
-
(Locked)
Create an AWS ECR repository for use with ECS4m 50s
-
(Locked)
Create an ECS Fargate cluster and task definition6m 20s
-
(Locked)
Deploy a Docker app with an ECS task4m 21s
-
(Locked)
Run Docker apps with an ECS service7m 35s
-
(Locked)
Scale Docker apps with an ECS service2m 9s
-
(Locked)
-
-