Creating the EFS

Procedure

  1. Create a new EFS (Elastic File System) instance for the cluster.
  2. Get the VPC ID and the CIDR block of the VPC where the cluster was created:
  3. Choose a creation token and a name for the EFS, and save them in variables:
    The EFS name will be stored as the value of the Name tag.
  4. Create the EFS instance and capture its File System ID:
  5. Create a security group (SG) for the EFS instance and configure it to authorize ingress traffic to the EFS on the standard NFS port 2049.
  6. Capture the security group description and name in shell variables:
  7. Create the security group:
  8. Authorize inbound traffic on port 2049:
  9. Create an EFS mount target in each subnet in the VPC: