Amazon Elastic Kubernetes Service (Amazon EKS) is a managed service that simplifies containerized application deployment, management, and scaling using Kubernetes. With EKS, you don’t need to install or manage the control plane components of Kubernetes. AWS handles that for you, allowing you to focus on managing your applications and the underlying computing resources.
In this Cloud Lab, you’ll learn how to work with two types of storage volumes on Kubernetes running on Amazon EKS: ephemeral volumes and persistent volumes. You’ll begin by installing the necessary tools and creating an EKS cluster with a single node group. Then, you’ll deploy a pod that uses an ephemeral volume backed by the emptyDir volume type, which is useful for temporary data storage that is discarded when the pod is removed. Next, you’ll transition to working with persistent storage using Amazon EBS. You’ll install the EBS CSI driver and provision a persistent volume backed by an EBS volume. You’ll attach a persistent volume claim to a pod, demonstrating how data can be preserved across pod restarts or failures.
After completing this Cloud Lab, you’ll understand how to use ephemeral and persistent volumes on Amazon EKS to manage storage in Kubernetes. You’ll gain hands-on experience configuring pods with short-lived and durable storage, installing the EBS CSI driver, and managing volume claims in a real EKS environment using eksctl and kubectl.
Below is the high-level architecture diagram of the infrastructure you’ll create in this Cloud Lab: