DEMO: Implementing a Basic EFS

Ref: https://learn.cantrill.io/courses/1820301/lectures/41301665 and https://learn.cantrill.io/courses/1820301/lectures/41301666

Configuring an EC2 Instance to Use EFS

  1. df -k — List all mounted FSs in the Linux OS (we can see there is no EFS file system yet)
  2. sudo mkdir -p /efs/wp-content — Make a directory with specified path and name
  3. sudo dnf -y install amazon-efs-utils — Install a package of tools to interact with EFS
  4. sudo nano /etc/fstab — Open FSTAB file to edit it
  5. sudo mount /efs/wp-content — Mount the specified directory according to the FSTAB file configuration
  6. df -k — We can now see that the EFS file system is mounted in the instance

WordPress Architecture with EFS

Ref: https://learn.cantrill.io/courses/1820301/lectures/41301667

Untitled