DEV Community

Aadit Unni
Aadit Unni

Posted on

Deploy Docker Containers on Amazon ECS

[14/100] #100DaysOfCloud Today, I created a Docker-enabled sample application on an Amazon ECS cluster behind a load balancer and tested the sample application.

Amazon Elastic Container Service (Amazon ECS) :
Amazon Elastic Container Service (Amazon ECS) is a highly scalable and fast container management service. You can use it to run, stop, and manage containers on a cluster. With Amazon ECS, your containers are defined in a task definition that you use to run an individual task or task within a service. In this context, a service is a configuration that you can use to run and maintain a specified number of tasks simultaneously in a cluster. You can run your tasks and services on a serverless infrastructure that's managed by AWS Fargate. Alternatively, for more control over your infrastructure, you can run your tasks and services on a cluster of Amazon EC2 instances that you manage.

Use cases :

  • Deploy in a hybrid environment

    • Build container-based applications on-premises or in the cloud with Amazon ECS Anywhere and enjoy consistent tooling, management, workload scheduling, and monitoring across environments.
  • Support batch processing

    • Plan, schedule, and execute batch computing workloads across the full range of AWS services, including Amazon Elastic Compute Cloud (EC2), Fargate, and Amazon EC2 Spot Instances.
  • Scale web applications

    • Automatically scale and run web applications in multiple Availability Zones with the performance, scale, reliability, and availability of AWS.

You can try to create a Docker-enabled sample application on an Amazon ECS cluster behind a load balancer and test the sample application by yourself by following the steps from the link below :
GitHub

Top comments (0)