Need advice about which tool to choose?Ask the StackShare community!

Amazon EKS

940
489
+ 1
3
AWS Fargate

602
407
+ 1
0
Add tool

AWS Fargate vs Amazon EKS: What are the differences?

Introduction

In this article, we will explore the key differences between AWS Fargate and Amazon EKS.

  1. Deployment Model:

    • AWS Fargate: With Fargate, you can create and manage containers without the need to manage the underlying infrastructure. It abstracts away the EC2 instances and allows you to focus solely on deploying and running your containers.
    • Amazon EKS: EKS (Elastic Kubernetes Service) is a managed Kubernetes service provided by AWS. It allows you to run Kubernetes on AWS without the need to manage the control plane. You have fine-grained control over the underlying infrastructure, including the EC2 instances.
  2. Orchestration:

    • AWS Fargate: Fargate provides a serverless compute engine for containers. It automatically scales your containers based on demand and handles all the orchestration tasks, such as scaling, load balancing, and logging.
    • Amazon EKS: EKS uses Kubernetes as the orchestration platform. It provides a fully managed Kubernetes control plane, allowing you to deploy and manage containerized applications using Kubernetes features and tools. You have more control and flexibility in managing your workloads compared to Fargate.
  3. Networking:

    • AWS Fargate: Fargate supports VPC networking, allowing you to leverage various AWS networking components like load balancers, security groups, and private subnets. You can configure network ACLs and use VPC endpoints for integrating with other AWS services.
    • Amazon EKS: EKS integrates tightly with AWS VPC, providing you complete control over your network setup. You can define custom networking configurations using VPC features like subnets, routing tables, and security groups. EKS also supports the integration of third-party networking solutions.
  4. Pricing Model:

    • AWS Fargate: Fargate pricing is based on the amount of vCPU and memory resources consumed by your containers. You pay for the resources allocated to your containers and the duration of their execution.
    • Amazon EKS: EKS pricing is based on the underlying EC2 instances used to run your workload. You pay for the EC2 instances and any other AWS resources associated with your EKS cluster, such as load balancers and storage volumes.
  5. Flexibility and Portability:

    • AWS Fargate: Fargate provides a high level of abstraction and simplifies the deployment of containers. It allows you to develop and deploy your applications without worrying about the underlying infrastructure. However, this reduces the level of control and customization available.
    • Amazon EKS: EKS allows you to leverage the full power of Kubernetes for managing your containerized applications. It offers more flexibility and portability, allowing you to move your workloads across different cloud providers or on-premises environments, as long as they support Kubernetes.
  6. Integration with AWS Services:

    • AWS Fargate: Fargate integrates well with various AWS services such as Elastic Load Balancer (ELB), Amazon RDS, Amazon S3, and others. It allows you to seamlessly connect your containers with these services.
    • Amazon EKS: EKS provides tight integration with other AWS services, enabling you to leverage the full ecosystem of AWS services for building your applications. You can easily integrate with services like AWS CloudWatch, AWS Identity and Access Management (IAM), AWS Secrets Manager, and more.

In Summary, AWS Fargate is a serverless compute engine for containers, providing simplicity and abstraction, while Amazon EKS is a managed Kubernetes service offering fine-grained control over the infrastructure and flexibility for managing containerized applications.

Decisions about Amazon EKS and AWS Fargate
Andres Paredes
Lead Senior Software Engineer at InTouch Technology · | 3 upvotes · 87.7K views

If you want to integrate your cluster and control end to end your pipeline with AWS tools like ECR and Code Pipeline your best option is ECS using a EC2 instance. There are pros and cons but it's easier to integrate using cloud formation templates and visual UI for approvals, etc. ECS is free, you need to pay only for the EC2 instance but unfortunately, it is not standard then you cannot use standard tools to see and manage your Kubernetes. EKS in the other hand uses standard Kubernates definitions but you need to pay for the service and also for the EC2 instance(s) you have in your cluster.

See more
Manage your open source components, licenses, and vulnerabilities
Learn More
Pros of Amazon EKS
Pros of AWS Fargate
  • 1
    Better control
  • 1
    Possibility to log in into the pods
  • 1
    Broad package manager using helm
    Be the first to leave a pro

    Sign up to add or upvote prosMake informed product decisions

    Cons of Amazon EKS
    Cons of AWS Fargate
      Be the first to leave a con
      • 2
        Expensive

      Sign up to add or upvote consMake informed product decisions

      What is Amazon EKS?

      Amazon Elastic Container Service for Kubernetes (Amazon EKS) is a managed service that makes it easy for you to run Kubernetes on AWS without needing to install and operate your own Kubernetes clusters.

      What is AWS Fargate?

      AWS Fargate is a technology for Amazon ECS and EKS* that allows you to run containers without having to manage servers or clusters. With AWS Fargate, you no longer have to provision, configure, and scale clusters of virtual machines to run containers.

      Need advice about which tool to choose?Ask the StackShare community!

      Jobs that mention Amazon EKS and AWS Fargate as a desired skillset
      What companies use Amazon EKS?
      What companies use AWS Fargate?
      Manage your open source components, licenses, and vulnerabilities
      Learn More

      Sign up to get full access to all the companiesMake informed product decisions

      What tools integrate with Amazon EKS?
      What tools integrate with AWS Fargate?

      Sign up to get full access to all the tool integrationsMake informed product decisions

      Blog Posts

      May 21 2020 at 12:02AM

      Rancher Labs

      KubernetesAmazon EC2Grafana+12
      5
      1535
      DockerAmazon EC2Scala+8
      6
      2759
      What are some alternatives to Amazon EKS and AWS Fargate?
      kops
      It helps you create, destroy, upgrade and maintain production-grade, highly available, Kubernetes clusters from the command line. AWS (Amazon Web Services) is currently officially supported, with GCE in beta support , and VMware vSphere in alpha, and other platforms planned.
      Kubernetes
      Kubernetes is an open source orchestration system for Docker containers. It handles scheduling onto nodes in a compute cluster and actively manages workloads to ensure that their state matches the users declared intentions.
      Rancher
      Rancher is an open source container management platform that includes full distributions of Kubernetes, Apache Mesos and Docker Swarm, and makes it simple to operate container clusters on any cloud or infrastructure platform.
      Git
      Git is a free and open source distributed version control system designed to handle everything from small to very large projects with speed and efficiency.
      GitHub
      GitHub is the best place to share code with friends, co-workers, classmates, and complete strangers. Over three million people use GitHub to build amazing things together.
      See all alternatives