From the course: Docker on AWS

Unlock the full course today

Join today to access over 22,600 courses taught by industry experts or purchase this course individually.

Deploy an app into ECS

Deploy an app into ECS

From the course: Docker on AWS

Start my 1-month free trial

Deploy an app into ECS

- [Instructor] In order for our clusters to actually do meaningful work. We have to create a task and the task is where we actually start to associate a container or a container workload or potentially with multiple container workloads with the clusters that we've actually defined here. And it turns out, you can create one task and use it in multiple clusters. It's a wonderful thing about all this abstraction. So we're going to go here in, again, our ECS UI, we're going to go to the task definitions page and we're going to create a new task definition. We do have a choice to make, how are we actually going to launch this task and we're going to select Fargate even though we have two EC2 instances, we'll select EC2 as another task. And we're going to give it a name. So we're going to need to say hostname-fargate. We could even use our host name application and we need a task role, actually we don't need a task role…

Contents