Amazon ECS clusters
An Amazon ECS cluster is a logical group that contains tasks or services. If your task or service uses the EC2 launch type then the cluster is a grouping of container instances. The first time, Amazon ECS will create a default cluster for you. To keep your resources separate, you can create multiple clusters.
We will look at the following in relation to Amazon ECS clusters:
- Cluster concepts
- Creating a cluster
- Scaling a cluster
- Deleting a cluster
Cluster concepts
- Clusters are region-specific and contain tasks using Fargate or EC2 launch types
- IAM policies are used to allow or restrict users from accessing your clusters
- With EC2 launch type, your cluster can contain different container instance types; this container instance type will be part of one cluster at a time
Creating a cluster
You can create the cluster using AWS Management Console by performing the following steps. If you use the EC2 launch type to launch the task, you should register your container instance with the cluster...