Choose the best storage option
publish date: 2024/08/07 23:00:38.566166 UTC
volume_muteYou're creating a WordPress site on multiple instances. By default, WordPress stores user uploads on the local file system. Since you want to use multiple instances, you will need to move the WordPress installation and all of the user customizations into a shared storage platform. Which storage option would you use?
Correct Answer
Explanation
We are choosing Amazon EFS and not Amazon S3 because S3 is not a file system. it is actually a flat structure for storing objects instead of a hierarchy. And you can't mount it onto multiple instances. Because S3 has a different underlying type of storage, it's not right for this use case. So by moving the entire WordPress installation directory onto an EFS file system and mounting it onto each of your EC2 instances when they boot, your WordPress site and all of its data is automatically stored on a distributed file system that isn't dependent on any one EC2 instance.
Reference
AWS Skills Builder