From the course: Complete Guide to AWS Software Deployment
Unlock the full course today
Join today to access over 24,300 courses taught by industry experts.
Deploy a Docker app with an ECS task - Amazon Web Services (AWS) Tutorial
From the course: Complete Guide to AWS Software Deployment
Deploy a Docker app with an ECS task
- [Instructor] All right, now that we've got our task definition, we want to create a task with it. I'm going to do one thing first before we start that though. We need a security group that's going to open up our task on port 3000. So again, type EC2 here. We'll open it in a new tab, and we'll head over to Security Groups. Let's create a security group, and we'll call it RailsFromWorld. And that way we can reach this task, and we'll say, "opens up tcp 3000 to the world." Click Add rule. This time we'll say Custom TCP, 'cause it's not a preselected option. Type 3000 and choose Anywhere-IPv4. Scroll all the way down and click Create security group. And we'll use this in just a moment. Head back to the second tab here. Click on Clusters and head into the Art Gallery cluster. Go to the second tab, Tasks, and choose Run task. Now we're going to kick off our task definition. Scroll all the way down to Deployment configuration where Task is already selected. Choose the Family, which will be…
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)
-
-