From the course: Getting Started with ECS

Unlock this course with a free trial

Join today to access over 24,700 courses taught by industry experts.

Deploy a task

Deploy a task

- [Instructor] Now that the task definition is squared away, let's deploy it to our ECS cluster. So back into the AWS Console. Let's go into the ECS cluster we just created within the ECS console. And in here, let's first set up a task. So a task is basically a container running on the ECS instance. When you create a task, the ECS agent living on the instance will spin up a container using your test definition. So we'll do that right now by clicking on this button that says run new task. And for launch type, select EC2. Test definition should be by default be entered here since we only have one test definition. Ghost-test-def will be the one that populated in this box. And we'll have one revision. If you have multiple revisions, you'll be able to see it all listed in here. And that cluster is already pre-populated for us. My test-cluster-1. And number of tasks, we'll only need one for now. And scroll down, placement…

Contents