Search⌘ K
AI Features

Setting Up an EFS File System

Explore how to create a scalable EFS file system using AWS CLI. Learn to set performance, throughput, encryption, and tags, and update IAM permissions to enable EFS access for your WordPress cloud application.

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:

Shell
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:

  • Performance mode (
...