Creating a cluster using the classic console
The new experience is now the default in the Amazon ECS console. For more information, see Creating a cluster for the Fargate launch type using the console. |
You can create an Amazon ECS cluster using the classic AWS Management Console, as described in this topic. Before you begin, be sure that you've completed the steps in Set up to use Amazon ECS.
The console cluster creation wizard provides a simple way to create the resources that
are needed by an Amazon ECS cluster by creating a AWS CloudFormation stack. It also lets you customize
several common cluster configuration options. However, the wizard does not allow you to
customize every resource option. If your requirements
extend beyond what is supported in this wizard, consider using our reference
architecture at https://github.com/awslabs/ecs-refarch-cloudformation
If you add or modify the underlying cluster resources directly after they are created by the wizard you may receive an error when attempting to delete the cluster. AWS CloudFormation refers to this as stack drift. For more information on detecting drift on an existing AWS CloudFormation stack, see Detect Drift on an Entire CloudFormation Stack in the AWS CloudFormation User Guide.
To create a cluster (AWS Management Console)
Open the Amazon ECS classic console at https://console.aws.amazon.com/ecs/
. -
From the navigation bar, select the Region to use.
-
In the navigation pane, choose Clusters.
-
On the Clusters page, choose Create Cluster.
-
For Select cluster compatibility, choose Networking only, then choose Next Step.
Important
The
FARGATE
andFARGATE_SPOT
capacity providers will be automatically associated with the cluster. For more information, see AWS Fargate capacity providers. -
On the Configure cluster page, enter a Cluster name. Up to 255 letters (uppercase and lowercase), numbers, hyphens, and underscores are allowed.
-
In the Networking section, configure the VPC for your cluster. You can keep the default settings, or you can modify these settings with the following steps.
-
(Optional) If you choose to create a new VPC, for CIDR Block, select a CIDR block for your VPC. For more information, see Your VPC and Subnets in the Amazon VPC User Guide.
-
For Subnets, select the subnets to use for your VPC. You can keep the default settings or you can modify them to meet your needs.
-
-
In the CloudWatch Container Insights section, choose whether to turn on Container Insights for the cluster. For more information, see Amazon ECS CloudWatch Container Insights.
-
Choose Create.