Posted On: Apr 2, 2019
The Amazon Elastic File System (EFS) and Amazon FSx for Lustre Container Storage Interface (CSI) Drivers are now available as open-source alpha projects. These CSI drivers make it easy for developers to use AWS managed file system services with their Kubernetes services running on Amazon Elastic Container Service for Kubernetes (EKS) or on EC2.
Previously, customers wanting to run stateful workloads on their Kubernetes clusters with EFS or FSx needed to manually provision the file systems, connect them to their Kubernetes pods, and maintain the connection as the service scaled and changed.
Now the Amazon EFS and Amazon FSx CSI Drivers make it simple to provision and configure storage for Kubernetes clusters running on AWS. You simply write a Kubernetes StorageClass and a PersistentVolumeClaim to provision, then reference the PersistentVolumeClaim from the pods that use it. If the pod is rescheduled onto a new node, the CSI driver will make sure the volume is available and connected when it restarts.
AWS has donated the CSI drivers for Amazon EFS, and Amazon FSx to Kubernetes SIG-AWS and they are available as Kubernetes alpha projects.
To get started visit the project pages on GitHub:
For a walkthrough of using FSx for Lustre on Amazon EKS follow our blog: