These are the input parameters for this template. All of these parameters must be supplied for this template to be deployed.
RestoreDBSnapshotARN is the DB snapshot used to restore the RDS instance from (blank if undesired) -Pilots DEV: arn:aws:rds:us-west-2:998687558142:snapshot:d2lcsr-dev-for-sharing -Pilots TST: arn:aws:rds:us-west-2:998687558142:snapshot:d2lcsr-tst-for-sharing
S3StackName is the name of the stack that created the S3 buckets
VPCID is the ID of the VPC where this template will be deployed. -sls-nonprod: vpc-2dc9b34a -sls-prod: vpc-82ee9de5
PrivateSubnetA is the private Subnet ID for us-west-2a -sls-nonprod: subnet-49338600 -sls-prod: subnet-fd862bb4
PrivateSubnetB is the private Subnet ID for us-west-2b -sls-nonprod: subnet-7f019218 -sls-prod: subnet-ca49c2ad
EmailForSNSSubscription is the email address to use for the SNS subscription -sls-nonprod: d2lcsr-aws-nonprod@list.arizona.edu -sls-prod: d2lcsr-aws-prod@list.arizona.edu
MasterUser is the master username for the SQL Server RDS instance
MasterPassword is the master password for the SQL Server RDS instance
Metadata is mostly for organizing and presenting Parameters in a better way when using CloudFormation in the AWS Web UI.
Establishes conditions based on input parameters.
RDS Instance
Enable the deletion policy if you want to keep automatic snapshots when the stack is deleted/replaced (otherwise they'll be deleted too) DeletionPolicy: Snapshot
Use an m4.xlarge for PRD, m4.large for all other environments
We only want a Multi-AZ deployment in PRD so this conditionally enables it
RDS Subnet Group
RDS Option Groups
RDS Parameter Groups
Sets max SQL (buffer pool) memory to 80% of VM (1310720 is 1048576 / 0.8)
Sets max SQL (buffer pool) memory to 80% of VM (1310720 is 1048576 / 0.8)
RDS Event Subscription
EC2 Security Group for the RDS SQL Server instance
CloudWatch Alarms for the RDS SQL Server instance
Route53 Record Set Group
SNS Topic
IAM Role
IAM Policy
Outputs are values resulting from the CloudFormation stack that can be: 1) Viewed in the AWS cosole under the CloudFormation service. 2) Marked as export to be imported into another stack allowing cross-stack references.
D2L Course Site Request - CloudFormation Template (2 of 4)
Deploys D2L Course Site Request RDS SQL Server instance.