Skip to content

Commit

Permalink
Aurora needs 3 AZs, at least in some regions
Browse files Browse the repository at this point in the history
  • Loading branch information
andreaswittig committed May 29, 2017
1 parent 503294a commit 56348ba
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
2 changes: 1 addition & 1 deletion docs/wordpress.md
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,7 @@ This template combines the following services:

*Important: A custom domain name (e.g. `www.yourdomain.com`) is needed before installing Wordpress based on this template.*

1. This templates depends on our [`vpc-*azs.yaml`](../vpc/) template. [![Launch Stack](./img/launch-stack.png)](https://console.aws.amazon.com/cloudformation/home#/stacks/new?stackName=vpc-2azs&templateURL=https://s3-eu-west-1.amazonaws.com/widdix-aws-cf-templates-releases-eu-west-1/__VERSION__/vpc/vpc-2azs.yaml)
1. This templates depends on our [`vpc-3azs.yaml`](../vpc/) template. [![Launch Stack](./img/launch-stack.png)](https://console.aws.amazon.com/cloudformation/home#/stacks/new?stackName=vpc-3azs&templateURL=https://s3-eu-west-1.amazonaws.com/widdix-aws-cf-templates-releases-eu-west-1/__VERSION__/vpc/vpc-3azs.yaml)
1. Create an ACM certificate for your custom domain name within the region you want to launch your stack in. Copy the ARN of the certificate. This is for the ELB.
1. Create another ACM certificate for your custom domain name in region `us-east-1`. Copy the ARN of the certificate. This is for CloudFront (note: [CloudFront only supports ACM certificates in us-east-1](https://docs.aws.amazon.com/acm/latest/userguide/acm-services.html))
1. [![Launch Stack](./img/launch-stack.png)](https://console.aws.amazon.com/cloudformation/home#/stacks/new?stackName=wordpress-ha&templateURL=https://s3-eu-west-1.amazonaws.com/widdix-aws-cf-templates-releases-eu-west-1/__VERSION__/wordpress/wordpress-ha-aurora.yaml)
Expand Down
1 change: 1 addition & 0 deletions wordpress/wordpress-ha-aurora.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -303,6 +303,7 @@ Resources:
SubnetIds:
- 'Fn::ImportValue': !Sub '${ParentVPCStack}-SubnetAPrivate'
- 'Fn::ImportValue': !Sub '${ParentVPCStack}-SubnetBPrivate'
- 'Fn::ImportValue': !Sub '${ParentVPCStack}-SubnetCPrivate'
DatabaseCluster:
Type: 'AWS::RDS::DBCluster'
Properties:
Expand Down

0 comments on commit 56348ba

Please sign in to comment.