Browse the Repo

file-type-icon.circleci
file-type-icon_docs
file-type-iconexamples
file-type-iconaurora-global-cluster
file-type-iconaurora-serverless
file-type-iconREADME.md
file-type-iconmain.tf
file-type-iconoutputs.tf
file-type-iconvars.tf
file-type-iconaurora-with-cross-region-replica
file-type-iconaurora
file-type-iconefs
file-type-iconlambda-rds-snapshot-multiple-schedules
file-type-iconlambda-rds-snapshot
file-type-iconrds-mariadb
file-type-iconrds-mysql-with-cross-region-replica
file-type-iconrds-mysql
file-type-iconrds-postgres
file-type-iconrds-sqlserver
file-type-iconrds-with-replicas
file-type-iconredshift
file-type-iconmodules
file-type-icontest
file-type-icon.gitignore
file-type-icon.pre-commit-config.yaml
file-type-iconCODEOWNERS
file-type-iconLICENSE.txt
file-type-iconREADME.adoc
file-type-iconterraform-cloud-enterprise-private-module-...

Browse the Repo

file-type-icon.circleci
file-type-icon_docs
file-type-iconexamples
file-type-iconaurora-global-cluster
file-type-iconaurora-serverless
file-type-iconREADME.md
file-type-iconmain.tf
file-type-iconoutputs.tf
file-type-iconvars.tf
file-type-iconaurora-with-cross-region-replica
file-type-iconaurora
file-type-iconefs
file-type-iconlambda-rds-snapshot-multiple-schedules
file-type-iconlambda-rds-snapshot
file-type-iconrds-mariadb
file-type-iconrds-mysql-with-cross-region-replica
file-type-iconrds-mysql
file-type-iconrds-postgres
file-type-iconrds-sqlserver
file-type-iconrds-with-replicas
file-type-iconredshift
file-type-iconmodules
file-type-icontest
file-type-icon.gitignore
file-type-icon.pre-commit-config.yaml
file-type-iconCODEOWNERS
file-type-iconLICENSE.txt
file-type-iconREADME.adoc
file-type-iconterraform-cloud-enterprise-private-module-...
RDS

RDS

Terraform code and scripts for deploying data-storage resources (e.g. databases, cache) in AWS

Code Preview

Preview the Code

mobile file icon

README.md

down

Aurora Serverless Example

This folder contains an example of how to use the Aurora module to create an Amazon Relational Database Service (RDS) cluster that runs Amazon Aurora Serverless. The cluster is managed by AWS and automatically handles automatic failover, backups, patching, and encryption. Aurora Serverless is compatible with MySQL and Postgres and because storage and processing are separate, you can scale down to zero processing and pay only for storage.

How do you run this example?

To run this example, you need to:

  1. Install Terraform.
  2. Open up vars.tf and set secrets at the top of the file as environment variables and fill in any other variables in the file that don't have defaults.
  3. terraform init.
  4. terraform plan.
  5. If the plan looks good, run terraform apply.

When the templates are applied, Terraform will output the IP address of the cluster endpoint (which points to the master).

Questions? Ask away.

We're here to talk about our services, answer any questions, give advice, or just to chat.

Ready to hand off the Gruntwork?