Why use AWS Fargate for Deploying Your Cloud-Native Apps

AWS Fargate for AWS ECS

In past, if you have been used to deploying your cloud-native apps or microservices hosted within a Docker container on AWS ECS, you may have also been required to do some of the following:

  • Choose server types in relation with provisioning AWS EC2 instances
  • Configure appropriately to scale the cluster as and when required
  • Optimize cluster packing

In short, with AWS ECS, until the launch of AWS Fargate, you were required to manage the infrastructure and related configuration in relation with scalability etc.


With AWS Fargate, Focus in on Designing and Building Apps

With AWS Fargate, all that is required to be done are some of the following:

  • Package your application in containers
  • Specify the CPU and memory requirements
  • Define networking and IAM policies
  • Launch the application
  • and, that is it!!!

Why use Fargate Launch Type rathar than EC2 Launch Type?

If are not looking to do some of the following, AWS Fargate Launch Type (rather than EC2 Launch Type) is the way to go for deploying your next cloud-native apps (microservices) on AWS ECS / AWS EKS. Note that below given aspects are related with EC2 launch type.

  • Have server-level, more graular control over the underlying infrastructure. In this relation, you would be required to decide which type of server to use.
  • Manage a cluster of servers including provisioning and patching and scaling the cluster of servers.
  • Schedule placement of containers on the servers
  • Decide on how many containers to run in a cluster to optimize utilization
  • Configure when to add or remove servers from a cluster.
Ajitesh Kumar

Ajitesh Kumar

I have been recently working in the area of Data analytics including Data Science and Machine Learning / Deep Learning. I am also passionate about different technologies including programming languages such as Java/JEE, Javascript, Python, R, Julia, etc, and technologies such as Blockchain, mobile computing, cloud-native technologies, application security, cloud computing platforms, big data, etc. I would love to connect with you on Linkedin. Check out my latest book titled as First Principles Thinking: Building winning products using first principles thinking.
Posted in AWS, Cloud. Tagged with , .