WordPress and Elastic Beanstalk

The following posts offer step-by-step instructions for creating a WordPress website hosted with Amazon Web Services (AWS) Elastic Beanstalk. Elastic Beanstalk offers performance, reliability, scalability, full configuration and control, and easy integration with other AWS services. Follow the guides to set up a professional, fast, and secure WordPress website.

Getting Started

Create a WordPress website on Elastic Beanstalk with an AWS RDS MySQL database and an AWS S3 bucket to host media files. You’ll have a fully functional website at the end of this tutorial and a launching point for subsequent articles.

Automating Build and Deployment

Learn how to implement build and deploy scripts to aid in website development. At the end of this tutorial you’ll be able to modify your site code and deploy an update with a single command line.

Add a Custom Domain

Use AWS Route 53 to point a custom domain to your Elastic Beanstalk environment. At the end of this tutorial you’ll have a proper website.

Force HTTPS Connections

Add an SSL/TLS certificate to your site using AWS Certificate Manager and redirect all traffic to HTTPS. At the end of this tutorial any attempts to access your site via a browser will be redirected to HTTPS.

Set Cache Controls

Configure your servers to provide caching directives to browsers. This will allow browsers to serve cached static resources to returning users and improve overall performance.

Enable Server-side Compression

Configure your servers to compress files before sending them to a browser. This will reduce file size and improve site performance.

Install Varnish to Enable Server Caching

Install and configure Varnish, an Apache service, to cache objects returned by your server. This will improve site performance by serving cached objects when available.