Skip to content

phillebaba/eks-fargate-workshop

Repository files navigation

EKS Fargate Workshop

TL;DR: EKS on Fargate is cool so go the Setup to start the workshop!

Welcome to this workshop that will be centered around using EKS on Fargate. In the end you should be comfortable creating EKS clusters with pods deployed on Fargate in parallel with EC2 worker nodes. To get the most of this workshop it is recommended to have some basic knowledge of Kubernetes and AWS, but it is possible do without.

Introduction

Since Amazon released EKS on Fargate back in December 2019, people have been trying to figure out what to do with it. If we go by the purpose Amazon states in their release post, EKS on Fargates main purpose is to lower the complexity and threshold for customers to use Kubernetes on AWS.

With AWS Fargate, customers don't need to be experts in Kubernetes operations to run a cost-optimized and highly-available cluster. Fargate eliminates the need for customers to create or manage EC2 instances for their Amazon EKS clusters.

Customers no longer have to worry about patching, scaling, or securing a cluster of EC2 instances to run Kubernetes applications in the cloud. Using Fargate, customers define and pay for resources at the pod-level. This makes it easy to right-size resource utilization for each application and allow customers to clearly see the cost of each pod.

Amazon EKS on AWS Fargate Now Generally Available

Even considering the large pricing differences with EC2 and Fargate at may be beneficial for teams that are small or are new to Kuberntes to start off with Fargate. What other uses are there other than newcomers to Kubernetes?

  • Cron jobs that dont fit into Lambda due to resource requirements or execution time.
  • Small workloads that have periodic load, such as websites that are only used during the day and little to no use during the night.
  • Running E2E test that require a lot of resources for short periods of time.

There is no gaurantee that everyone has a usecase that works well with Fargate, but understanding how EKS on Fargate works is the first step to identifying such workloads.

Chapters

This workshop is split into chapters, where each chapter will focus on a specific subject. Chapters will depend on work done in previous chapters, so it is recommended to do them in order.

  1. Setup
  2. New Cluster
  3. Deploy Application
  4. Fargate Profile
  5. Pod Resources
  6. Autoscaling
  7. Limitations
  8. Cleanup

Useful Resources

License

This project is licensed under the MIT License - see the LICENSE file for details

About

Workshop to learn EKS on Fargate

Topics

Resources

License

Code of conduct

Security policy

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages