Amazon Elastic Container Service (Amazon ECS) is a scalable, high performance container management service that supports Docker containers.
$0
per hour per GB
AWS Fargate
Score 8.8 out of 10
N/A
AWS Fargate is a compute engine for Amazon ECS that allows the user to run containers without having to manage servers or clusters. With AWS Fargate there is no need to provision, configure, and scale clusters of virtual machines to run containers.
There is no additional charge for Amazon ECS. You pay for AWS resources (e.g., Amazon EC2 instances or Amazon EBS volumes) you create to store and run your application. You only pay for what you use, as you use it; there are no minimum fees and no upfront commitments.
*based on US East rates. Price varies region to region.
More Pricing Information
Community Pulse
Amazon Elastic Container Service (Amazon ECS)
AWS Fargate
Considered Both Products
Amazon Elastic Container Service (Amazon ECS)
No answer on this topic
AWS Fargate
Verified User
Manager
Chose AWS Fargate
We found the extra cost saved us frustration and time and ultimately money in the long run
Amazon ECS is well suited for the scenarios where you want to deploy a microservice to a cloud and instead of manually specifying instance size, number of instances and then specifying the configurations and connecting it with other cloud services like database service, secret manager service etc., you just want to specify these configurations as a file and using that file, the ECS would deploy the service and keep it healthy. It might be less suited for a scenario when you don't want to stick to AWS specific solution for your microservice deployment. The ECS configuration file is specific to AWS ECS and may not be useful for other cloud providers like Azure etc.
If you need to deploy Docker containers, Amazon Fargate is a very good fit. It integrates very well with other AWS services like RDS, EFS, and Secrets manager. You can have a very robust application using those services. In case you have many containers to deploy, it is however more expensive that if you use other services like ECS or EKS, since they allow you to share the same infrastructure to deploy multiple containers.
One of the biggest advantages is the flexibility to change underlying EC2 instances. As the traffic or demand increases, we can easily change EC2 instances without any issues.
Amazon ECS APIs are extremely robust and one can start and stop containers by firing one post request only. So, it is not mandatory to keep the demo solutions up for every time. Just at the time of demo fire the command - make the container up and running - do the demo - down the container with API. A simple portal can control every container which helps non-technical (sales, marketing) to do the demo without keeping the solutions up for the entire time frame.
Another AWS Service - While AWS has a service for just about everything, that is also a negative point. There is no service that does 4 out of 4 things you need. This service does 3 out of 4, another service does the fourth thing you need and another two things that the other service does.
With AWS things in general, it's really hard to remain cloud agnostic. Keep that in mind.
Aside from some ECS-specific terms to learn at first, learning & starting to use ECS is relatively straightforward. AWS docs on the topic are also of high quality, with sound & relevant examples to follow. Troubleshooting container issues is also a breeze thanks to CloudWatch integration & helpful error messages on the AWS console.
Support is relatively good, although the documentation sometimes is lacking, as well as outdated in our experience, especially when we initiated the process of using this service. But once we found how to assemble things, we haven't really required support from anyone at AWS, the service works without problems so we haven't had the need to contact support, which speaks well of how ECS is built.
I chose Amazon ECS over Amazon EKS and other products because the whole infrastructure was decided to be designed on AWS cloud and Amazon ECS made it easier to make the clusters live in just a few minutes. Amazon ECS has better integration with other AWS services and we don't have to look for plugins to do the things, everything is available and can be configured from the AWS console.
Pricing and billing of AWS Fargate is loosely tied to your exisiting AWS billing. You're unlikely to only use Fargate in your AWS subscription, so you get billed for everything alltoghter.
Fargate is naturally a bit more expensive that usuel docker services, but with careful planning and architecturing, you can have a very manageable cost.
You can also rely on Saving plans to reduce your bill.