We compared three different WordPress images from Amazon AWS and tested them against each other for performance. I always wondered how the different WordPress AWS Marketplace images would stack up against each other in terms of page load time, Time to first Byte( TTFB ) and other page speed benchmark results. If you are not very sure, checkout why PageSpeed optimization matters here. If you would like to jump to results, click here. Or if you are as excited as I am, let us get to it then!
We used two different themes on a vanilla WordPress installed so we were sure that whatever performance differences we see are exclusively related to the AWS image used.
A blank default WordPress install, with the Twenty Sixteen (Referred as TS) theme installed. Hello Dolly and Askimet plugins come pre-installed with the vanilla WordPress Install. No performance optimization or other plugins were used. No tweaks were made to the installs. All installs were used as-is and no tweaks were made prior to benchmarks.
The theme of the default WordPress install was switched to GeneratePress (Referred as GP ) Free Version. It was chosen as it is the best theme if your priority is performance. It is clean, flexible, bloat-free and super fast. No performance optimization or other plugins were used. All installs were used as-is and no tweaks were made prior to benchmarks.
Now that you are clear on the WordPress installs used, let us look at the AWS images we used to setup our Test WordPress Websites. All of the following AWS images were installed on a micro.t2 instance. Again, this was done to ensure that the server infrastructure was same across all tests and we could measure the performance impacts of the WordPress images themselves. Furthermore, multiple tests were done and an average was picked to maintain data consistency.
WordPress Certified By WordPress and Automattic ( referred as "Bitnami" in this post) is the most popular WordPress image on Amazon AWS Marketplace. Here's a screenshot of the description from AWS:
WordPress with NGINX and SSL Certified by Bitnami and Automattic ( referred as "Bitnami+NGINX" in this post) is another WordPress image variant that uses NGINX and has SSL included. Here's the official description from AWS:
The third WordPress AWS image, WordPress with LiteSpeed Cache (Powered OpenLiteSpeed) ( referred to as Litespeed in this post) was chosen because LiteSpeed Cache has been praised in the WordPress community for its Caching and Impact on overall website performance. Here's the official description from AWS:
To test the performance of each of the WordPress install combination, We used Google Page Speed Insights to gauge different performance parameters.
Google Page Speed Insights is a performance benchmark tool by Google. It uses Lighthouse, an open source tool that helps find the cause of a slow loading page and recommends actions that can be taken. It gives you an overall score from 0-100 for mobile and desktop respectively. PSI is free to use!
Make your web pages fast on all devices
Google Pagespeed Insights
Now that we have established all the variables for our benchmarks, now comes the good part. Are you excited? I sure am!
Let us compare all three WordPress images using Google Pagespeed Insights. We have 3 comparisons to do.
First, we compare the default blank WordPress install using 3 different WordPress installations (Bitnami, Bitnami+NGINX and LiteSpeed).
Secondly, We compare default blank WordPress install after switching the theme to GeneratePress and running tests on the three different WordPress installs.
Lastly, since we have all the data, let's do a performance comparison for each of the combinations, i.e. Bitnami (TS), Bitnami (GP), Bitnami+NGINX (TS), Bitnami+NGINX (GP), LiteSpeed (TS) and LiteSpeed (GP) .
Following are the Google PageSpeed Insights Performance Metrics that were recorded and used to compare the different AWS WordPress images:
Metric | Description |
FCP Mobile | First Contentful Paint for Mobile |
FCP Desktop | First Contentful Paint for Desktop |
TTI Desktop | Time To Interactive for Desktop |
TTI Mobile | Time To Interactive for Mobile |
Speed Index Mobile | Speed Index Mobile |
Speed Index Desktop | Speed Index Desktop |
TTFB Mobile | Time To First Byte for Mobile |
TTFB Desktop | Time To First Byte for Desktop |
Total Averaged | Average of all above Metrics to gauge an overall winner |
The graph below shows the three AWS flavors of WordPress with Twenty Sixteen installed. On the Y-Axis is time in seconds and on the X-Axis are the different performance metrics we summarized earlier that can be represented in seconds. All metrics from Google PageSpeed Insights.
Click on the colored boxes above the graph to show/hide graph plots to compare one against another.
Looking at the above Graph (Lower is Better), we can conclude that:
In conclusion, Taking all the Google PageSpeed metrics into account, the fastest loading AWS image is LiteSpeed using Twenty Sixteen! Also, average time in seconds was the lowest for LiteSpeed (0.946s) compared to Bitnami (1.498, Slowest) and Bitnami+NGINX (1.011s). Don't you just love when the data talks? Me Too! Onward to our next experiment!
The graph below shows the three AWS flavors of WordPress with GeneratePress installed. On the Y-Axis is time in seconds and on the X-Axis are the different performance metrics we summarized earlier that can be represented in seconds.
Click on the colored boxes above the graph to show/hide graph plots to compare one against another.
Looking at the Graph (Lower is Better), we can conclude that:
Finally, Taking all the Google PageSpeed metrics into account, the fastest loading AWS image is Bitnami+NGINX using GeneratePress! Also, average time in seconds for all PSI metrics was the lowest for Bitnami+NGINX (0.9637 s) compared to Bitnami (1.347, Slowest) and LiteSpeed (0.982s) . Now Let us see how all the combinations of theme and AWS images stack against one another!
The graph below shows the three AWS flavors of WordPress with GeneratePress or Twenty Sixteen installed. On the Y-Axis is time in seconds and on the X-Axis are the different performance metrics we summarized earlier that can be represented in seconds. Furthermore, this graph helps identify which AWS image-theme combination loads the fastest. Note that all metrics are from Google PageSpeed Insights.
Click on the colored boxes above the graph to show/hide graph plots to compare one against another.
Finally, taking all the Google PageSpeed metrics into account, the fastest loading combination is LiteSpeed using Twenty Sixteen Theme! Moreover, average time in seconds for all PSI metrics was the lowest for LiteSpeed (TS - 0.946 s) followed by Bitnami+NGINX (GP 0.963) and LiteSpeed (GP - 0.982s) .
Also , let us summarize our findings in and rank all our WordPress AWS Images and see our WordPress Performance Winners! We have 3 different winner lists, the tables are sorted by highest performer (1) to the lowest performer.
In conclusion, LiteSpeed AWS Image (0.946s) topped the charts compared to Bitnami (1.498, Slowest) and Bitnami+NGINX (1.011s) when using Twenty Sixteen Theme.
S.No. | AWS Image | Theme | Tool | Average Time in Seconds |
1 | LiteSpeed | Twenty Sixteen | Google PageSpeed Insights | 0.946 |
2 | Bitnami+NGINX | Twenty Sixteen | Google PageSpeed Insights | 1.011 |
3 | Bitnami | Twenty Sixteen | Google PageSpeed Insights | 1.498 |
In conclusion, Bitnami+NGINX AWS Image (0.9637 s) was the winner when using GeneratePress Theme. Furthermore, Litespeed clocked in at 0.9820s and Bitnami at 1.347s averaging all PSI metrics.
S.No. | AWS Image | Theme | Tool | Average Time |
1 | Bitnami+NGINX | Generatepress | Google PageSpeed Insights | 0.9637 |
2 | LiteSpeed | Generatepress | Google PageSpeed Insights | 0.9820 |
3 | Bitnami | Generatepress | Google PageSpeed Insights | 1.3470 |
In conclusion, The fastest loading combination is LiteSpeed using Twenty Sixteen Theme averaging at 0.946 Seconds for all PSI Metrics!
S.No. | AWS Image | Theme | Tool | Average Time |
1 | LiteSpeed | Twenty Sixteen | Google PageSpeed Insights | 0.946 |
2 | Bitnami+NGINX | Generatepress | Google PageSpeed Insights | 0.963 |
3 | LiteSpeed | Generatepress | Google PageSpeed Insights | 0.982 |
So, if you were considering choosing a WordPress Image from AWS marketplace, I would recommend either Bitnami+NGINX image with GeneratePress theme or LiteSpeed with GeneratePress theme. The reason I recommend GeneratePress over Twenty Sixteen is the theme's flexibility and optimization potential. Its simple, beautiful, wonderfully coded and has a lot of hooks! Furthermore, the GeneratePress theme is actively developed and the developers are very responsive towards user feedback.
If you are considering options for your next WordPress website, drop me a line at purushottam@counsellr.com or fill up a form here! If you already have a website and would like to speed it up, check out our WordPress Speed Optimization Services.