Before following the examples, you need to:
- Get yourself familiar with how to setup Kubernetes on AWS and how to create Amazon EFS file system or create Amazon S3 file system.
- When creating Amazon S3 Files or Amazon EFS file system, make sure it is accessible from the Kubernetes cluster. This can be achieved by creating the file system inside the same VPC as the Kubernetes cluster or using VPC peering
- Install Amazon EFS CSI driver following the Installation steps.
| Example | Amazon EFS | Amazon S3 Files |
|---|---|---|
| Static provisioning | Link | Link |
| Dynamic provisioning | Link | Link |
| Encryption in transit | Link | N/A |
| Accessing the file system from multiple pods | Link | Link |
| Consume file system in StatefulSets | Link | Link |
| Mount subpath | Link | Link |
| Use Access Points | Link | Link |
| Cross account mount | Link | N/A |
| Availability Zone ID configuration | N/A | Link |