From the course: Hands-On Development in AWS

Unlock this course with a free trial

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

Using clusters

Using clusters

- We saw in the previous example that we created a repository to store our built image of our containers. Now, we are going to deploy this on Fargate. In order to do this, we are going to go into the ECS service, and I do need to create a cluster. We are going to create a networking only cluster. We can see here that this is for use with Fargate, which is what we are attempting to do. Fargate is a serverless container executor. Let's click on next step, and we do need to give ourselves a cluster name. We'll say ADGU cluster. We do not need to create a VPC for this, and we will hit create. Our cluster has been successfully created. And this is where we would go to actually execute a task. However, I do not have any tasks defined. In task definitions, I'm going to create a new task definition. It is going to be Fargate. Go to the next step. Give our task definition a name. Let's say ADGU Web Server Task. We will use the ECS Task execution role, operating system will be Linux. Same role…

Contents