Written on 2023-03-29 by Adam Drake - 6 min read

When you come to deploying your application there are many choices out there. One such choice is AWS. In this article you can find out the different options available on AWS - AWS ECS, AWS Fargate, AWS EKS, EC2
Amazon EC2 Container Service (ECS - Elastic Container Service) is a highly scalable, fast, container management service that makes it easy to run, stop, and manage Docker containers on a cluster of EC2 instances. With Amazon ECS, customers can launch and stop container-enabled applications with simple API calls, allowing them to quickly and efficiently respond to customer demand.
AWS Fargate is a serverless compute engine for containers that allows customers to deploy and manage containers without having to manage the underlying EC2 infrastructure. It eliminates the need to provision, configure, and scale clusters of virtual machines, allowing customers to focus on building and running their applications in the cloud. Fargate also simplifies the security configuration of applications running in the cloud, making it easier to manage and secure containers.
AWS Fargate can do the following for you:
This is AWS all the way so your infrastructure and containers are managed by AWS. This means you only need to manage your application. There are quite a few advantages of going this route.
However, with anything in life there are also some disadvantages. These include:
AWS EKS (Elastic Kubernetes Service) is a fully managed, scalable, and secure Kubernetes service by AWS. It allows developers to deploy, manage, and scale containerized applications easily using Kubernetes without the need for manual installation, updates and cluster management. If you are not sure what Kubernetes is you can find out more on their site.
EKS runs Kubernetes control plane instances across multiple Availability Zones to ensure high availability and fault tolerance, while automatically patching and upgrading them to the latest version. It is an alternative to ECS.
There are definitely some advantages to using EKS instead of ECS. Amongst these advantages are:
The EKS service integrates seamlessly with other AWS services and tools like ELB (Elastic Load Balancing), RDS (Relational Database Service), and IAM (Identity and Access Management), enhancing application performance, security, and scalability. If you're going to go down the AWS route you do have a whole wealth of services to choose from.
There are a variety of options you can take when using EKS with AWS. These include:
Like anything in life - it depends. It depends on your specific requirements, familiarity with container orchestration, and the desired level of control over your infrastructure.
AWS ECS is definitely easier to set up and operate if you are already familiar with the AWS ecosystem. However, AWS EKS is based on the industry-standard Kubernetes so this comes with advantages too.
In summary, choose AWS ECS if you are already familiar with the AWS ecosystem and prefer ease of use, better integration with other AWS services, and lower costs. On the other hand, choose AWS EKS if you have experience with Kubernetes and need advanced container orchestration features and greater flexibility in managing your applications.
Enjoyed This Post?
If you found this blog post helpful, why not stay updated with my latest content? Subscribe to receive email notifications every time I publish.
If you're feeling really generous you can buy me a coffee. (Btw, I really like coffee…)
I live in the vibrant city of Prague, Czech Republic, with my family. My blog is more than just articles; it's a community of like-minded developers who share a love for innovation and learning.
I'm a passionate Frontend Developer specialising in React and TypeScript. My professional journey revolves around exploring and mastering new tools and libraries within the JavaScript ecosystem.

Adam Drake is a Frontend React Developer who is very passionate about the quality of the web. He lives with his wife and three children in Prague in the Czech Republic.
Adam Drakes Site © 2025