aws-templateswordpress-production-ready

Adjust the performance of the shared Amazon EFS file system

The Production-Ready architecture allows you to horizontally scale the infrastructure, or to increase the number of servers to meet high-availability requirements. The CloudFormation template uses the Amazon Elastic File System (EFS) to provide a shared file system available for all the server replicas. Amazon EFS is designed to provide parallel shared access to Amazon EC2 instances, enabling the applications to achieve high levels of aggregate throughput and IOPS with consistent low latencies.

In this specific case, the shared EFS folder is /bitnami. As an example of how to use this folder, the Bitnami WordPress Production Ready stack ships the wp-content folder that contains the installed plugins or uploaded images for posts.

Depending on how your application has to access the EFS volume, it is important to know that the performance of the website will also depend on the throughput mode. There are two throughput modes to choose from for your file system, Bursting Throughput and Provisioned Throughput. The default mode is Bursting Throughput, which scales as the size of your file system grows.

Without sufficient size, the burn rate of burst credits is high. You have two options to improve the throughput. The first one is to increase the file size to earn credits. The second one is to change between Bursting Throughput mode and Provisioned Throughput mode to fix the rate manually depending on your needs.

Read more info about how to configure the EFS Performance in the AWS EFS documentation.

Last modification October 27, 2020