Summary
In this chapter, we explored how EBS (block) differs from EFS (filesystem) storage. We identified that EBS is normally used where you need to provide dedicated volumes per Pod, is fixed in size, and is charged as soon as you provision it. Meanwhile, EFS is shared storage and can therefore be mounted across multiple Pods, can scale as needed, and you are only charged for what you use.
We also discussed how EFS requires more setup than EBS, as the EBS filesystem and mount targets need to be deployed prior to it being used in EKS. EFS can be viewed as more complex to set up as it’s a shared storage platform, whereas EBS is just network-attached storage for a single node. EBS is generally cheaper to provision and use but it is mostly only used for columns attached to a single instance (EC2).
We then reviewed how to install the CSI drivers, creating an add-on for the EBS CSI driver and Helm for the EFS CSI driver. Once the drivers were installed, we explored the Kubernetes...