From the course: Deploying Your AWS Application to the Cloud with Docker
Unlock the full course today
Join today to access over 22,600 courses taught by industry experts or purchase this course individually.
Container task definition for your container - Amazon Web Services (AWS) Tutorial
From the course: Deploying Your AWS Application to the Cloud with Docker
Container task definition for your container
- [Narrator] Just like we had a Dockerfile to create our container image, AWS needs a task definition to understand how to run your container. This is where we get to specify its CPU and memory requirements, and other settings. Let's go ahead and create our task definition. We'll go to the ECS console. We're going to make a stop at the repository where we're hosting out image currently. 'Cause we need to copy this value for the task definition, so I'll click copy over here, and now I'll click over to task definitions. I'll click create. Now we're presented with two choices, FARGATE, which is AWS-managed infrastructure, or EC2, which is self-managed. We're going to go with FARGATE in this case. I'll click next. Let's give it a name, webapp. We don't need a roll, 'cause we don't need permissions to any specific AWS services or resources. The Network Mode AEWSBPC is just fine for this. For memory, let's choose four…
Practice while you learn with exercise files
Download the files the instructor uses to teach the course. Follow along and learn by watching, listening and practicing.
Contents
-
-
-
-
-
Building the network infrastructure for your deployment2m 20s
-
(Locked)
Deploy a load balancer2m 56s
-
(Locked)
Update the IAM role for your load balancer2m 14s
-
(Locked)
Container task definition for your container2m 31s
-
(Locked)
Create an ECS cluster and service6m 35s
-
(Locked)
Challenge: Canary deployments51s
-
(Locked)
Solution: Route 53 for canary deployments2m 16s
-
-
-