Skip to content

Commit

Permalink
Wordpress to WordPress
Browse files Browse the repository at this point in the history
  • Loading branch information
michaelwittig committed Nov 2, 2016
1 parent b727feb commit 30308c5
Show file tree
Hide file tree
Showing 3 changed files with 15 additions and 15 deletions.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ We are offering the following templates:
* [Security](./security/)
* [Static website](./static-website/)
* [VPC](./vpc/)
* [Wordpress](./wordpress/)
* [WordPress](./wordpress/)

We are interested in your requirements. [Please use the following survey to upvote and add templates you are impatiently waiting for](https://docs.google.com/forms/d/e/1FAIpQLSerhIuMuCWrHai639FoUOt8ffmMqWr0PWzLhCn3VN29VUi8TA/viewform?usp=send_form)

Expand Down
14 changes: 7 additions & 7 deletions wordpress/README.md
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
# Wordpress Templates for AWS CloudFormation
# WordPress Templates for AWS CloudFormation

## Wordpress: fault tolerant and scalable
Use this CloudFormation template to create a fault tolerant and scalable Wordpress environment on AWS.
## WordPress: fault tolerant and scalable
Use this CloudFormation template to create a fault tolerant and scalable WordPress environment on AWS.

### Features
* HTTPS only
Expand All @@ -14,13 +14,13 @@ This template combines the following services:
* CloudFront: CDN for dynamic and static content
* ELB: load balancer forwarding requests to EC2 instances and terminating SSL
* EC2: virtual machines running the web servers
* EFS: storage for Wordpress files (Wordpress core, plugins, themes, user uploads, ...)
* EFS: storage for WordPress files (WordPress core, plugins, themes, user uploads, ...)
* RDS: MySQL database

![Architecture](./wordpress-ha.png?raw=true "Architecture")

## Installation Guide
1. This templates depends on our [`vpc-*azs.yaml`](../vpc/) template. Wordpress will use 2 AZs only. <a href="https://console.aws.amazon.com/cloudformation/home#/stacks/new?stackName=vpc-2azs&templateURL=https://s3-eu-west-1.amazonaws.com/widdix-aws-cf-templates/vpc/vpc-2azs.yaml">Launch Stack</a>
1. This templates depends on our [`vpc-*azs.yaml`](../vpc/) template. WordPress will use 2 AZs only. <a href="https://console.aws.amazon.com/cloudformation/home#/stacks/new?stackName=vpc-2azs&templateURL=https://s3-eu-west-1.amazonaws.com/widdix-aws-cf-templates/vpc/vpc-2azs.yaml">Launch Stack</a>
1. Create an ACM certificate for your domain name within the region you want to launch your stack in. Copy the ARN of the certificate.
1. Create another ACM certificate for your domain in region `us-east-1`. Copy the ARN of the certificate.
1. <a href="https://console.aws.amazon.com/cloudformation/home#/stacks/new?stackName=wordpress-ha&templateURL=https://s3-eu-west-1.amazonaws.com/widdix-aws-cf-templates/wordpress/wordpress-ha.yaml">Launch Stack</a>
Expand All @@ -31,10 +31,10 @@ This template combines the following services:
1. Check the **I acknowledge that this template might cause AWS CloudFormation to create IAM resources.** checkbox.
1. Click **Create** to start the creation of the stack.
1. Wait until the stack reaches the state **CREATE_COMPLETE**
1. Grab the `URL` of the Wordpress environment from the **Outputs** tab of your stack.
1. Grab the `URL` of the WordPress environment from the **Outputs** tab of your stack.

## Dependencies
* `vpc/vpc-*azs.yaml` (**required, Wordpress will use 2 AZs only**)
* `vpc/vpc-*azs.yaml` (**required, WordPress will use 2 AZs only**)
* `vpc/vpc-ssh-bastion.yaml` (optional)
* `security/auth-proxy-*.yaml` (optional)

Expand Down
14 changes: 7 additions & 7 deletions wordpress/wordpress-ha.yaml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
---
AWSTemplateFormatVersion: '2010-09-09'
Description: 'Wordpress: fault tolerant and scalable, a cloudonaut.io template'
Description: 'WordPress: fault tolerant and scalable, a cloudonaut.io template'
Metadata:
'AWS::CloudFormation::Interface':
ParameterGroups:
Expand All @@ -17,7 +17,7 @@ Metadata:
- CloudFrontAcmCertificate
- ElbAcmCertificate
- Label:
default: 'Wordpress Parameters'
default: 'WordPress Parameters'
Parameters:
- BlogTitle
- BlogAdminUsername
Expand Down Expand Up @@ -57,19 +57,19 @@ Parameters:
Description: 'The ACM Certificate ARN of certificate for the ELB.'
Type: String
BlogTitle:
Description: 'The title of the Wordpress blog.'
Description: 'The title of the WordPress blog.'
Type: String
Default: 'Just another Wordpress blog'
Default: 'Just another WordPress blog'
BlogAdminUsername:
Description: 'A username for the Wordpress admin.'
Description: 'A username for the WordPress admin.'
Type: String
Default: admin
BlogAdminPassword:
Description: 'A password for the Wordpress admin.'
Description: 'A password for the WordPress admin.'
Type: String
NoEcho: true
BlogAdminEMail:
Description: 'The email address of the Wordpress admin.'
Description: 'The email address of the WordPress admin.'
Type: String
WebServerKeyName:
Description: 'Optional key pair of the ec2-user to establish a SSH connection to the web server.'
Expand Down

0 comments on commit 30308c5

Please sign in to comment.