Best Practices for WordPress on AWS - AWS Whitepaper

Best Practices for WordPress on AWS

AWS Whitepaper

Best Practices for WordPress on AWS AWS Whitepaper

Best Practices for WordPress on AWS: AWS Whitepaper

Copyright ? 2023 Amazon Web Services, Inc. and/or its affiliates. All rights reserved. Amazon's trademarks and trade dress may not be used in connection with any product or service that is not Amazon's, in any manner that is likely to cause confusion among customers, or in any manner that disparages or discredits Amazon. All other trademarks not owned by Amazon are the property of their respective owners, who may or may not be affiliated with, connected to, or sponsored by Amazon.

Best Practices for WordPress on AWS AWS Whitepaper

Table of Contents

Abstract ............................................................................................................................................ 1 Are you Well-Architected? ........................................................................................................... 1

Introduction ...................................................................................................................................... 2 Simple deployment ............................................................................................................................ 3

Considerations ........................................................................................................................... 3 Available approaches .................................................................................................................. 3 Amazon Lightsail ....................................................................................................................... 4

Selecting an Amazon Lightsail pricing plan ............................................................................ 4 Installing WordPress ........................................................................................................... 4 Recovering from failure ....................................................................................................... 4 Improving performance and cost efficiency ........................................................................................... 6 Accelerating content delivery ....................................................................................................... 6 Static content offload ......................................................................................................... 6 Dynamic content ................................................................................................................ 7 Database caching ....................................................................................................................... 8 Bytecode caching ....................................................................................................................... 8 Elastic deployment ............................................................................................................................. 9 Reference architecture ................................................................................................................ 9 Scaling the web tier ................................................................................................................. 10 Stateless web tier ..................................................................................................................... 11 Shared storage (Amazon S3 and Amazon EFS) ..................................................................... 11 Data tier (Amazon Aurora and Amazon ElastiCache) .............................................................. 12 Conclusion ....................................................................................................................................... 13 Contributors .................................................................................................................................... 14 Document revisions .......................................................................................................................... 15 Appendix A: CloudFront configuration ................................................................................................. 16 Origins and behaviors ............................................................................................................... 16 CloudFront distribution creation ................................................................................................. 16 Appendix B: Static content configuration ............................................................................................. 19 User creation ........................................................................................................................... 19 Amazon S3 bucket creation ....................................................................................................... 19 Static origin creation ................................................................................................................ 20 Appendix C: Backup and recovery ....................................................................................................... 21 Appendix D: Deploying new plugins and themes .................................................................................. 23 Notices ............................................................................................................................................ 24 AWS glossary ................................................................................................................................... 25

iii

Best Practices for WordPress on AWS AWS Whitepaper Are you Well-Architected?

Best Practices for WordPress on AWS

Publication date: October 19, 2021 (Document revisions (p. 15)) This whitepaper provides system administrators with specific guidance on how to get started with WordPress on Amazon Web Services (AWS) and how to improve both the cost efficiency of the deployment as well as the end user experience. It also outlines a reference architecture that addresses common scalability and high availability requirements.

Are you Well-Architected?

The AWS Well-Architected Framework helps you understand the pros and cons of the decisions you make when building systems in the cloud. The six pillars of the Framework allow you to learn architectural best practices for designing and operating reliable, secure, efficient, cost-effective, and sustainable systems. Using the AWS Well-Architected Tool, available at no charge in the AWS Management Console, you can review your workloads against these best practices by answering a set of questions for each pillar. For more expert guidance and best practices for your cloud architecture--reference architecture deployments, diagrams, and whitepapers--refer to the AWS Architecture Center.

1

Best Practices for WordPress on AWS AWS Whitepaper

Introduction

WordPress is an open-source blogging tool and content management system (CMS) based on PHP and MySQL that is used to power anything from personal blogs to high-traffic websites. When the first version of WordPress was released in 2003, it was not built with modern elastic and scalable cloud-based infrastructures in mind. Through the work of the WordPress community and the release of various WordPress modules, the capabilities of this CMS solution are constantly expanding. Today, it is possible to build a WordPress architecture that takes advantage of many of the benefits of the AWS Cloud.

2

................
................

In order to avoid copyright disputes, this page is only a partial summary.

Google Online Preview   Download