Modifying EC2 User Data to Mount EFS

Learn to update the launch template to mount the EFS file system.

Now that we’ve copied wp-content files to EFS, we just need to make sure that all our WordPress instances use it automatically.

The following script will do exactly that. Lets go through it:

Get hands-on with 1400+ tech skills courses.