Creating your first ECS Fargate cluster | Scribe

Creating your first ECS Fargate cluster

  • Hafeez Baig |
  • 16 steps |
  • 4 minutes
  • Amazon Web ServicesAmazon Web Services
information ordinal icon
Refer to the following guide to learn how to use IAM in the cloud\ <https://scribehow.com/shared/Creating_an_IAM_User_and_User_Group_in_AWS_Management_Console__hWNiiXlcRJKFqYZZEJD-cg>
1
Sign in to **AWS Management Console** as an **IAM User** **Pre-requisite** - Ensure you have selected the AWS region closest to your location\ For this guide, we will be using us-west-1 (N. California) as a preferred choice
2
Type **Elastic Container Service** in the search bar and click on **Elastic Container Service** to view the Elastic Container Service Dashboard
information ordinal icon
**What is Elastic Container Services?**\ \ Elastic Container Service (ECS) is a fully managed container orchestration service by AWS that allows you to run, scale, and manage Docker containers on a cluster. It supports both EC2 and Fargate for deployment, providing flexibility and ease of use for containerized applications.
3
**Amazon Elastic Container Service** wizard will open, Click on the **Get started** button
4
On the Elastic Container Service dashboard, you can view all the clusters
5
Click on the **Create cluster** button from the top right of the page
6
Create cluster wizard will open. Provide a **Cluster name** and **Default namespace**.
7
Scroll to the **Infrastructure** section and select the infrastructure you want to configure for the new cluster. Checkbox the **AWS Fargate(serverless)**
8
Scroll to the **Monitoring** section, where you can enable or disable insights for the cluster
9
Scroll to the **Tags** section, where you can add tags for the cluster by clicking on **Add tag** button
10
Scroll to the end of the page, click on the **Create** button to create a cluster
11
To view the **Namespaces.** On the same page click on **Namespaces** from the left bar to view the Namespaces
12
To create the **Task definitions.** On the same page click on **Task definitions** from the left bar to view the Task definitions
13
You will be redirected to the **Task definitions** dashboard, where you can view all the **Task definitions**
14
To create a **Task definition**, click on **Create new task definition** button on the top right side of the page
15
To view the Documentation of **Amazon Elastic Container,** On the same page click on the **Documentation** link from the left bar to view the Documentation
16
By clicking the **Documentation** link, you can access the **Amazon Elastic Container Service Documentation** and Guide
information ordinal icon
Congratulations on completing this lab and creating your first ECS Fargate cluster! Good job!