Skip to main content

Deploy an Amazon Aurora PostgreSQL DB cluster with recommended best practices using AWS CloudFormation

· One min read

Reference deployment of an Amazon Aurora DB Cluster with AWS recommended best practices for security and high availability using AWS CloudFormation.

Stacks:#

  1. Network components including VPC, subnets, route tables, internet gateway, NAT gateway, S3 gateway endpoint, AWS Secrets Manager interface endpoint.
  2. An Amazon Linux bastion host in an Auto Scaling group to connect to the Aurora PostgreSQL DB cluster.
  3. Aurora PostgreSQL DB cluster with master user password stored in AWS Secrets Manager and bootstrap the database using AWS Lambda.

Full text

Architecture#

Deploy an Amazon Aurora PostgreSQL DB cluster with recommended best practices using AWS CloudFormation

Code#

https://github.com/aws-samples/aws-aurora-cloudformation-samples

Services:#

Aurora | Lambda | VPC | NAT gateway | EC2 | Secrets Manager