Posted On: Apr 1, 2021
AWS Batch customers can now specify EFS file systems in their AWS Batch job definitions. AWS Batch jobs using EFS will automatically mount the file systems specified by the customer in the job definition and make them available to the jobs, across Availability Zones. This enables persistent, shared storage to be defined and used at the job level.
To use EFS with AWS Batch, customers can add one or more volume definitions to an AWS Batch job definition. A volume definition includes an EFS file system ID, Access Point ID, and whether to enable IAM authorization or TLS encryption in transit. Previously, customers could only specify volumes at the Compute Environment (CE) level through the Launch Template. With support at the job definition level, customers can now more easily run multiple jobs requiring different volumes in a single CE.
AWS Batch support for EFS is available in all Regions where AWS Batch and Amazon EFS are available. To get started, view our documentation.