Open-Source WordPress Stack

A fully open-source, customizable template for Static WordPress stacks on AWS.

The source for all assets is in our GitHub repo.

Open-Source WordPress Stack

Prerequisites

You will need an AWS account. You can create an account online if you don't already have one. You may need to add a payment method to your AWS acccount to be able to create this stack.

1. Record Your Password

Write your password down or save it in a password manager. You'll need it in step 4.

2. Launch a Stack

First, click the Launch Stack button above.

This will take you to the AWS CloudFormation console. You will have to log in to your AWS account if you're not already logged in.

You can ignore all of the form fields on this page, as the defaults have been filled in already. (Most fields will be empty). Scroll down and find the blue box headed The following resource(s) require capabilities: [AWS::IAM::ManagedPolicy]. Check this box near the bottom of the page:

Then click the Create Stack button just below:

3. Wait 10-30 Minutes

It will take a while for AWS to provision all of the resources in the stack. When it's done, you'll see a CREATE_COMPLETE status that looks like this:

4. Log in to WordPress

Click on the Outputs tab, then find the AdminLoginUrl link as shown below:

Click the AdminLoginUrl link to log in to WordPress. Enter user for the username, and enter the password that you recorded in step 1.

5. Change Your Password

It's recommended to change your password after logging in for the first time. Go to the Users page in the WordPress Admin, click Edit under user, and set a new password. If you want to log in under a different username, then add a new user after you've changed the password.

6. Start Building Your Site!

You now have a lightning-fast, highly-available static WordPress deployment. It's time to take advantage of it by building a great website!

Keep in mind that there are two different domains: One with the WordPress admin where you can edit the site, and another with your static website. The second domain is the one that you want to publicize. You can access it by clicking on the WP2Static button at the top of the page:

You can also find the domain listed as StaticSiteDomainName in the CloudFront Outputs tab: