Why to use AWS ECS?

Ali Zia
Virtual Force Inc.
Published in
2 min readOct 25, 2023

Before jumping into the details of AWS ECS right away, here is the quick overview of AWS and its services:

AWS?

AWS stands for Amazon Web Services which provides the facility to deploy your applications in the Cloud. AWS has many services that are used during the deployment process. There are about 130+ services available in AWS.

AWS can provide its services in different regions:

These are the six mostly used AWS services:

AWS Services:

  1. EC2 (Elastic Computer Cloud): AWS provides the virtual servers in the cloud, which are called the EC2 instances.
  2. EBS (Elastic Block Storage): AWS EBS is a block storage service which is used to save and manage the data for EC2 instances.
  3. Simple Storage Service (S3): S3 object storage is built to retrieve any amount of data from anywhere, and is accessible through the network, there is no limitation for this S3 storage, like you save documents images, etc.
  4. Lambda: AWS lambda is a serverless computing service and that function runs on-demand without managing server and infrastructure.
  5. ELB (Elastic Load Balancer): AWS ELB is an AWS load balancer service that distributes incoming network traffic for multiple EC2 instances. This service also ensures the high availability and fault tolerance of the resources.
  6. ECS (Elastic Container Service):
    Let’s first explain what Container is.
    Your application runs on a block called a container; if you have multiple applications then it will run on multiple containers.
    — The second question is in your mind, how to deploy the containers?
    So, we manually have to create a script to run the containers.

But if you want to deploy the containers automatically by providing some configurations? Wow!!! So, here is ECS come to the existence.

So, if I want to describe ECS, “The AWS ECS is a service that helps developers deploy their Docker container applications by using built-in configuration which is provided through a file like .yml file.”

Here are some points you need to know about ECS:

  1. Clusters: These are the group of computers (EC2 instances) that run your containers.
  2. Tasks: Tasks are groups of containers that work together.
  3. Task Definitions: The instructions for how your containers should run.
  4. Load Balancing: It helps manage and distribute the traffic to your containers.
  5. Auto Scaling: ECS automatically adjusts the number of containers based on demand.
  6. Task Scheduling: ECS can automatically run the tasks at a specific time.

If you want to know more about AWS, give your feedback on this. I will write for you!

--

--

Ali Zia
Virtual Force Inc.

Software Engineer. Developer. System Designer | Currently leading a fintech project. Writing: technical documents.