reference deployment

WordPress High Availability by Bitnami on AWS

Web publishing with WordPress and Amazon Aurora in a highly available cloud environment

This Partner Solution deploys WordPress High Availability by Bitnami, which includes WordPress with Amazon Aurora, in a highly available environment on AWS in about 40 minutes.

WordPress is a web publishing platform for building blogs and websites. It can be customized via a wide selection of themes, extensions, and plugins. WordPress High Availability by Bitnami installs the WordPress application on multiple servers in the AWS Cloud for high performance and availability. It also sets up an Aurora relational database to help you reduce costs, simplify configuration tasks, and scale with ease. The database and WordPress application are set up on different Amazon Elastic Compute Cloud (Amazon EC2) instances to help improve security and access control. Optionally, you can also deploy an Amazon ElastiCache for Memcached server to cache database queries.

The Partner Solution includes AWS CloudFormation templates and a guide that provides step-by-step instructions to help you get the most out of your deployment.

couchbase logo

 This Partner Solution was developed by Bitnami in collaboration with AWS. Bitnami is an AWS Partner.

  •  What you'll build
  • Use this Partner Solution to set up the following configurable environment on AWS:

    • A highly available architecture that spans two Availability Zones.*
    • A virtual private cloud (VPC) configured with public and private subnets according to AWS best practices. This provides the network infrastructure for your deployment.*
    • An internet gateway to provide access to the internet. This gateway is used by the bastion hosts to send and receive traffic.*
    • In the public subnets, managed NAT gateways to allow outbound internet access for resources in the private subnets.*
    • In the public subnets, Linux bastion hosts in an Auto Scaling group to allow inbound Secure Shell (SSH) access to EC2 instances in public and private subnets.*
    • Elastic Load Balancing (ELB) to distribute HTTP and HTTPS requests across multiple WordPress instances.
    • In the private subnets, EC2 instances that host the WordPress application on Apache. These instances are provisioned in an Auto Scaling group to ensure high availability.
    • In the private subnets, Aurora DB instances administered by Amazon Relational Database Service (Amazon RDS).
    • In the private subnets, Amazon Elastic File System (Amazon EFS) to share assets (such as plugins, themes, and images) across WordPress instances.
    • In the private subnets, Amazon ElastiCache for Memcached nodes for caching database queries.

    * The template that deploys the Partner Solution into an existing VPC skips the tasks marked by asterisks and prompts you for your existing VPC configuration.

  •  How to deploy
  • To deploy WordPress High Availability by Bitnami on AWS, follow the instructions in the deployment guide. The deployment process includes these steps:

    1. If you don't already have an AWS account, sign up at https://aws.amazon.com.
    2. Launch the Partner Solution. Each deployment takes about 40 minutes. You can choose from two options:
    3. Test the deployment by accessing WordPress and logging into the dashboard, either through the WordPress user interface or by connecting to the cluster through SSH.
    4. (Optional) If you've enabled ElastiCache, test the W3 Total Cache plugin, which configures the WordPress cache.
    5. (Optional) Customize the configuration of OPcache, which is PHP's byte code cache.

    To customize your deployment, you can change the Aurora database configuration, ElastiCache configuration, DNS and SSL settings, and WordPress web server settings.

    Amazon may share user-deployment information with the AWS Partner that collaborated with AWS on this solution.  

  •  Costs and licenses
  • You are responsible for the cost of the AWS services used while running this Partner Solution reference deployment. There is no additional cost for using the Partner Solution.

    The AWS CloudFormation template for this Partner Solution includes configuration parameters that you can customize. Some of these settings, such as instance type, will affect the cost of deployment. See the pricing pages for each AWS service you will be using for cost estimates. Prices are subject to change.

    Tip: After you deploy the Partner Solution, we recommend that you enable the AWS Cost and Usage Report to track costs associated with the Partner Solution. This report delivers billing metrics to an S3 bucket in your account. It provides cost estimates based on usage throughout each month, and finalizes the data at the end of the month. For more information about the report, see the AWS documentation.

    WordPress High Availability by Bitnami and its components are provided as open-source software, and are distributed under the following licenses:

    • WordPress: GNU General Public License version 2 (GPL2)
    • Apache HTTP Server: Apache License version 2.0 (APACHE2)
    • PHP: The PHP License version 3.01 (PHP)
    • MySQL client: GNU General Public License version 2 (GPL2)
    • Gonit: GNU General Public License version 2 (GPL2)

    To check licenses for other components deployed by this Partner Solution, view the /opt/bitnami/licenses folder of your stack after you deploy the Partner Solution.