Setting Up an EFS File System

Learn to set up an EFS file system.

The first step to use EFS is to create the EFS file system.

The CLI command

The CLI command to create an EFS file system is as follows:

Press + to interact
efs create-file-system

EFS is an autoscaling file system, so in contrast to EBS, we don’t need to specify a size when creating the file system. We also only pay per GB used (minus the 5 GB free tier).

To have a highly available file system, we need to select EFS Standard and create a regional file system. EFS Standard is the default option, so we do not need to explicitly specify it. If we wanted to use the One Zone storage class instead, we could specify it via the --availability-zone-name parameter by choosing a single availability zone.

When we create a file system, we can additionally choose the following modes:

...
Access this course and 1400+ top-rated courses and projects.