How to create an ECS Cluster

Learn&Grow
2 min readSep 29, 2023

--

Firstly, Navigate to ECS and create a cluster that suits your requirements.

Cluster configurations:

Infrastructure Settings:

  • Choose the infrastructure of your choice: I chose the EC2 instance for now.
  • ASG is used to scale up the instances in the cluster. You can choose to create a new one or an existing one.
  • Select the operating system, and instance type which is required to host your application.
For your reference
  • Desired capacity min and maximum , this is based on the load of the applications and also on your architecture.
  • Create SSH Key pair in case if you need to login into the instances.

Network Settings:

Choose the VPC, I recommend not to use default VPC, create your ECS in custom VPC applying the networking best practices.

Enable the PublicIP if required.

Monitoring:

  • Enable container insights if it is required. (note: an extra cost you may see in your bills)

Post the successful creation of ECS cluster, you would see the ECS cluster in Active State. Also, you could see the corresponding fargate/ec2 references in the corresponding sections.

In this scenario, you see an ASG

Creating Task Definitions and Services

This is mentioned in my other blog post. Please check if you want to know about it.

Sign up to discover human stories that deepen your understanding of the world.

Free

Distraction-free reading. No ads.

Organize your knowledge with lists and highlights.

Tell your story. Find your audience.

Membership

Read member-only stories

Support writers you read most

Earn money for your writing

Listen to audio narrations

Read offline with the Medium app

--

--

Learn&Grow
Learn&Grow

Written by Learn&Grow

Technology Architect with profound understanding on the Multi-Cloud Platform engineering with a strong DevOps Solutioning Experience.

No responses yet

Write a response