aws-templateswordpress-production-ready

Understand the available deploy-time parameters

Check the architecture overview for more information about which elements are created on this solution.

Network configuration parameters

Parameter Description Default
Availability Zones List of Availability Zones to use for the subnets in the VPC. You need to select only two Availability Zones and the order of your selections is preserved.
An availability zone is a location, inside a geographical region, where the resources are going to be placed. A VPC is created to enclose the availability zones. Each of the Availability Zones will have a different subnet inside the VPC.
Requires input
VPC CIDR Classless Inter-Domain Routing (CIDR) block for the VPC. All the subnets and resources will be provisioned with IP addresses within this address block.
Two subnets are created per Availability Zone (one public and another private).
10.0.0.0/16
Private Subnet 1 CIDR CIDR block for private subnet located in Availability Zone 1. All resources located in this subnet will be provisioned with IP addresses within this address block.
The block cannot overlap with any other subnet inside the VPC.
10.0.0.0/19
Private Subnet 2 CIDR CIDR block for private subnet located in Availability Zone 2. All resources located in this subnet will be provisioned with IP addresses within this address block.
The block cannot overlap with any other subnet inside the VPC.
10.0.32.0/19
Public Subnet 1 CIDR CIDR block for public (DMZ) subnet located in Availability Zone 1. All resources located in this subnet will be provisioned with IP addresses within this address block.
The block cannot overlap with any other subnet inside the VPC.
10.0.128.0/20
Public Subnet 2 CIDR CIDR block for public (DMZ) subnet located in Availability Zone 2. All resources located in this subnet will be provisioned with IP addresses within this address block.
The block cannot overlap with any other subnet inside the VPC.
10.0.144.0/20
Allowed CIDR for ALB Access Allowed CIDR block for external web access to the Application Load Balancer (ALB). It defines the block of IPs that can access the Load Balancer and, consequently, the website. Set it to “0.0.0.0/0” to make it accessible from anywhere.
The ALB distributes the requests to the servers in the public (DMZ) subnets of the availability zones.
10.0.0.0/16

Linux Bastion configuration parameters

Parameter Description Default
Bastion Instance Type Amazon EC2 instance type for the Bastion instances. Bastion hosts are machines placed in the public subnets of each of the Availability Zone which provide secure access to the instances located in the private subnet. t2.micro
Bastion AMI OS The Linux distribution for the AMI to be used for the bastion instance. Amazon-LinuxHVM
Allowed Bastion External Access CIDR Allowed CIDR block for external SSH access to the Bastion hosts. It defines the block of IPs that can access, via SSH, the Bastion hosts. Set it to “0.0.0.0/0” to allow access from anywhere. 127.0.0.132
SSH KeyPair Name The name of an existing public/private key pair, which allows you to securely connect to your instance after it launches. Use ec2-user as the SSH username for the connection to the Bastion hosts, then use bitnami as SSH username for the connection to the instances. Requires input

Amazon RDS (Aurora) configuration parameters

Parameter Description Default
Enable Auto Minor Version Upgrade Select true/false to setup Auto Minor Version Upgrades. When enabled, it allows the database engine to be automatically upgraded when a new minor version is available.
Refer to AWS RDS documentation fore more information.
true
Backup Retention Period The number of days for which automatic database snapshots are retained. You can set this parameter to a value between 1 and 35 days. Set this parameter to 0 to disable automated backups.
Refer to AWS RDS documentation for more information.
7
Preferred Backup Window (Optional) Preferred Backup Window, specified in the format HH:MM-HH:MM using UTC. Automated backups will occur within this time frame. When not set, the backup will take place during the default backup windows of the AWS region.
You may experience elevated latencies for a few minutes during backups, so it’s recommended to set this value according to your needs. Refer to AWS RDS documentation for more information.
Optional
Database Instance Size Select instance size (compute and memory capacity) for Aurora DB instances.
Learn more about the available sizes.
db.t2.small
Database Admin Password 8-41 character, alphanumeric string to be used as the database administrator’s account password (database administrator account username is root)
White space, forward slashes (/), or backslashes (\) are not allowed.
Requires input
Multi-AZ Database Select true/false to configure database as a Multi-AZ deployment or not. Multi-AZ deployments create a database node in each of the Availability Zones providing HA.
Refer to AWS Multi-AZ documentation for more information.
true

DNS and SSL configuration parameters

Parameter Description Default
Domain Name (Optional) Domain name for the web site. It must be an existing, publicly resolvable domain.
When no Route 53 Hosted Zone ID is specified, an email will be sent to the email address defined in the domain’s Start of Authority (SOA) record. The ACM validation email must be accepted during the deployment of the solution. Refer to ACM documentation for more information.
When leaving the parameter blank, no SSL certificate will be generated.However, certificates will be installed if you use the SSL Certificate ARN parameter.
Optional
SSL certificate ARN (Optional) The Amazon Resource Name (ARN) of the SSL certificate to use for the load balancer. If not specified, the certificate will be auto-generated when the previous parameter is set. Optional
Route 53 Hosted Zone ID (Optional) Route 53 Hosted Zone ID of the domain name. When left empty, Route 53 will not be configured and DNS must be configured manually (as detailed in the ACM documentation. When setting an ID, you must also specify a domain name. Optional

WordPress configuration parameters

Parameter Description Default
Admin password 8-41 character, alphanumeric string to be used as the WordPress administrator account password (administrator account username is user) Requires input
Instance Size Select Amazon EC2 instance type for the WordPress instances. t2.small
AMI to use for WordPress Instances (Optional) Select AMI to use for the WordPress instances. When it’s left blank, the default WordPress AMI for your AWS region will be used. When setting an AMI, it must be available in your current region. Optional
Instance enhanced monitoring Set enhanced monitoring for WordPress instances. When enabled, EC2 console displays monitoring graphs with a 1-minute resolution, if not it will be 5-minute resolution. Enabled
Min Number of Instances Minimum number of WordPress EC2 replicas to be maintained when scaling down. 2
Max Number of Instances Maximum number of WordPress EC2 instances to be maintained when scaling up. 12
Desired Number of Instances Desired number of WordPress instances. This will set the number of instances when the scaling group is created. The autoscaler will increase or decrease the current number of instances as the scaling events occur. 2
Autoscaling Notification Email Email address to use when sending notifications for auto-scaling operations. Requires input

ElastiCache configuration parameters

Parameter Description Default
Enable ElastiCache Select true/false to create an [ElastiCache cluster for Memcached](https://aws.amazon.com/elasticache/memcached. This technology caches frequently used objects. It can be used to reduce the number of queries performed on the database, thereby improving overall website performance. true
Enable ElastiCache Auto Minor Version Upgrade Select true/false to setup Auto Minor Version Upgrades. When enabled, it allows the Memcached engine to be automatically upgraded when a new minor version is available. true
ElastiCache Node Type Select node type (compute and memory capacity) for nodes in the ElastiCache cluster.
Learn more about the available types.
cache.t2.micro
Number of ElastiCache Nodes The number of nodes the ElastiCache cluster should have. Increase the number of nodes to guarantee better performance and availability. 2
Last modification June 7, 2019