Amazon ECS basics for beginners

Published : 3. November 2020. |- Changed: 3. November 2020 | 0 results

An article about the basics of Amazon hot water for beginners.

The fundamentals of the hot water system.

Amazon ECS stands for Amazon Elastic Container Service. We guide you step by step through ECS, so that you understand what ECS is all about. We will discuss the following topics –

  • What is sanitary water?
  • Operating instructions for ECS
  • Concepts of hot water components
  • Prices

What is sanitary water?

Amazon ECS is a fully controlled container orchestration. The goal was to take over all the heavy cluster management work for customers while allowing them to focus on the development of their container applications.

If you are new to containers, read our articles on containers –

In short, ECS is Amazon’s own container orchestration service. If you have heard of Docker Swarm, you should consider using ECS as a version of Amazon Swarm to manage your containers.

Another Amazon Elastic Beanstalk service uses ECS in the background to deploy groups of containers that work with the applications you need.

Where is sanitary water used?

In this section we will look at the use of Amazon ECS. The service is mainly used in two areas:


The application, which follows an architectural approach to micro-services, can be used for most of the ECS! The micro-services approach aims to decouple the design so that the architecture is resilient, can adapt to the level of services, etc. The micro-services approach is based on the following principles These benefits can be used for containers! Containers can be spun using fixed images, locally tested, scaled with ECS clusters, each shift can be defined with different tasks and can also be channeled with CI/CD.

Cumulative tasks

Because the containers rotate quickly and easily and are ready to use, they are ideal for parties. By using containers, you can reduce the time it takes to promote EC2 copies for order processing, save time when filling them and avoid the associated high invoices. And all this can be well managed by AWS in the background if you run your containers with ECS. The type of box start in the hot water supply is well suited for batch operation, because we don’t even have to run the EC2 instance containers for this. It’s like a service without a server, and you pay for the resources you use and for the time you use them.

Hot water concepts

Let’s take a dip in some hot water concepts with a small base. When using sanitary water, you will come across the following conditions –

  • Cluster
  • Container Authority
  • Job descriptions
  • Type of start
  • Services
  • Amazon ESR


A cluster is a grouping of tasks and/or services. These tasks/services are performed on container instances (in the case of EC2 start-up types). EC2 containers are also part of this logical grouping, which is called a cluster. You can have one or more groups on your account.

Container copy

When you run a task/service with start type EC2, it runs on EC2 instances. These instances (Linux/Windows) are created when creating clusters. These are essentially ordinary EC2 cases with the Docker software, the ECS agent is pre-installed. You can even connect to it like any other instance of EC2 via SSH or RDP. You can also view them in the EC2 toolbar of your account. According to the ECS, they should be called container copies.

Job descriptions

Function definitions are the set of parameters required to run the container in the Amazon ECS cluster. It has many parameters that can be configured, including container definitions. The core of the job description is the definition and start type of the container, indicating how your container is to be authenticated. In short, you can view it as a Dockerfile container.

Types of starts

This is the type of calculation on which the containers are to be deposited. Amazon offers 2 types of starters –

  1. Start type EC2
    • Executes containers on cluster containers
    • Fees are charged for EC2 copies, not for the time the container is in use.
  2. Types of farghats
    • Start-up containers on the infrared level without server/controllable in the background.
    • You will be invoiced for the amount of resources used and the period in which they were used.


Services are planners who are responsible for managing the required number of containers with tasks to be performed in the cluster. The instantiation and termination of the container according to the given conditions are thus carried out by services.

Amazon EKR

This is the Amazon bungee container register. This is your personal container registration, hosted on the AWS. You can use the IAM authentication to control access to ECR and it can be connected to different applications for CI/CD purposes. Containment definitions in tasks can safely refer to ECR images.


ECS is a free service, just like information from the cloud! Only the resources you have used/used for the use of the sanitary water will be charged.

When creating clusters, you must select the type of container instance. As I explained before, these are normal cases of EC2, which you can also see on the EC2 dashboard. In this way they are invoiced like any other EC2 instance (type of instance and when they are executed).

You can issue a different invoice if you start the containers at the door of the type of departure. It is considered to be quite expensive than the EC2 launch type and should therefore only be used for short-term tasks. You will be billed for the number of resources you use and how long you use them.

If you use ECR to manage your own private archive of container images, ECR will also be debited from your account. The RCT costs consist of two components:

  1. Storage. The total storage space used by all images will be charged.
  2. Data transmission. Inbound and outbound invoices, i.e. data transferred from/to the ECR database in the context of the extraction and retrieval of images


These are mainly the basic principles of an ECG. If you work in a self-service container environment, then it’s time to switch to ECS and AWS to handle everything for you, while you can focus on developing applications in containers!

Related Tags:

ecs busybox,fargate cluster,aws ecs fargate tutorial,aws fargate in private subnet,entity component system tutorial,boto3 ecs run task example,security group for ecs container,ecs vs ec2,ecs vs kubernetes,ecs vpc aws,ecs aws,aws create fargate cluster,ecs task definition multiple containers,dynamic port wrapping,ecs diagram,what is docker medium,aws docker tutorial,aws container youtube,entity component system example,aws ecs inter service communication,ecs task definition cloudformation,aws ecs edureka,tutorials dojo ecs,ecs task placement strategy,aws batch efs mount,tutorialsdojo elastic beanstalk,aws batch training,ecr vs s3,tutorials dojo ec2,ecs create service,fargate,docker ecr,ecs task definition health check example,run multiple tasks on the same ecs service,aws fargate,aws fargate tutorial,aws ecs architecture,aws ecr tutorial,aws ecs tutorial medium,components are not part of amazon ecs