DEV Community 👩‍💻👨‍💻

Cover image for Getting Started with Amazon Elastic Container Service with Fargate
MakendranG for AWS Community Builders

Posted on • Originally published at

Getting Started with Amazon Elastic Container Service with Fargate


What is Docker?

image.pngImage Source

  • Docker is a tool that makes it easy to build, deploy, and run applications using containers.
  • Containers allow developers to package and deploy applications as a single package, along with all necessary components such as libraries and other dependencies.
  • This ensures that the program will run on any other Linux machine, regardless of your custom settings on the machine, which may be different from the machine you use to write and test the code.

What is Amazon ECS?


  • Amazon ECS manages containers and allows developers to run applications in the cloud without configuring the environment to run their code.
  • It allows developers with AWS accounts to deploy and manage scalable applications running on groups of servers called clusters through application program interface calls and task definitions.
  • Amazon ECS makes it easy for developers to use Docker containers for a variety of tasks.
  • These range from hosting simple websites to running complex distributed microservices that require thousands of containers.

Running Amazon ECS with Fargate


You can run services or tasks on AWS Fargate to deploy containers on serverless infrastructure managed by Amazon ECS.

Let's launch Amazon ECS on AWS Fargate using the Fargate launch type for our task. In regions where Amazon ECS supports AWS Fargate, the Amazon ECS First Startup wizard guides you through the Amazon ECS launch process using the Fargate launch type.

The wizard creates a cluster and gives you the option to run a sample web application.

Kindly watch the below video on how to create a task definition, a service, and a cluster using Fargate.


You have successfully created a task definition, a service, and a cluster using Fargate.

Gratitude for perusing my article till the end. I hope you realized something unique today. If you enjoyed this article then please share it with your buddies and if you have suggestions or thoughts to share with me then please write in the comment box.

Follow me and share your thoughts,

Top comments (0)

Classic DEV Post:

Understanding git through images