Posted On: Aug 17, 2020

Amazon Elastic Kubernetes Service (EKS) pods running on AWS Fargate can now mount Amazon Elastic File System (EFS) file systems. AWS Fargate will use the EFS CSI driver to automatically mount an EFS file system requested by a pod running on Fargate, without the need for manual driver installation. This enables persistent, regional, shared storage to be used by pods running on AWS Fargate, the serverless compute engine which allows customers to deploy and manage containerized applications without having to manage any of the underlying infrastructure.

Some examples of applications that can benefit from Kubernetes and elastic, durable shared storage are content management systems like WordPress and Drupal, developer tools like JIRA and Jenkins, machine learning frameworks like MXNet and Tensorflow, and data science tools like Jupyter and Airflow.  

As of today, Fargate pods requiring EFS volumes can be started with newly created EKS clusters running Kubernetes version 1.17. Support for existing clusters will be rolled out over the coming weeks. To get started, follow the EKS documentation to create a Kubernetes StorageClass and a PersistentVolumeClaim, then reference the PersistentVolumeClaim from the Fargate pods that require it. To learn more, you can visit the Amazon EKS product page, the AWS Fargate product page, and the Amazon EFS product page.