Working with AWS Fargate
Throughout this book, we have used Elastic Compute Cloud (EC2) instances as worker nodes for our Elastic Kubernetes Service (EKS) cluster, but AWS Fargate can be used as an alternative to host Pods. As we will see later on, Fargate can be used to provide a more secure operating environment for a Pod and can also be more cost-effective (but not always).
In some cases, you want to deploy a workload/application that runs infrequently, has a small memory/CPU footprint, and/or needs enhanced security, for example, creating a regular dump of a production database. Fargate can be used to meet all of these requirements. In this chapter, we will dive into more detail on how and when you should use AWS Fargate, as well as how it works with EKS to provide an alternative to EC2-based worker nodes. Specifically, we will cover the following topics:
- What AWS Fargate is and how is it priced
- How to create a Fargate profile in EKS
- How to deploy a Pod to a...