The AWS Database Acceleration Toolkit (DAT) is an open-source solution that enhances database performance, particularly for Amazon Aurora, by utilizing Terraform for setup, provisioning, and maintenance. DAT helps organizations reduce time to market, improve customer satisfaction, and optimize costs. It is beneficial for DevOps teams, SaaS providers, and enterprises transitioning from commercial databases to Aurora. One example of its effectiveness includes a customer reducing database migration time from 12 months to 4 weeks for over 100 databases, achieving zero outages over six months, increasing database team productivity by 60-70%, and lowering infrastructure costs by 42%.
DAT's architecture includes automated resource provisioning and security through Terraform, with source code available in a Git repository. It offers multiple provisioning options for Aurora clusters, including the Terraform CLI and Jenkins pipelines. Key modules include:
- Aurora cluster module for creating new clusters with customization options.
- Amazon RDS Proxy for enhancing application performance and security.
- Aurora GlobalDB for creating clusters across AWS Regions for disaster recovery.
- Aurora Monitoring for configuring CloudWatch dashboards to monitor database performance.
Use case examples are provided in the Git repository for both Aurora PostgreSQL-Compatible and Aurora MySQL-Compatible engines. Deployment options include using Terraform directly, setting up a new Jenkins instance, or integrating with an existing Jenkins setup.
To provision an Aurora PostgreSQL cluster, users must clone the DAT repository, navigate to the appropriate folder, configure the Terraform variable definition file, initialize the working directory, execute a plan, and apply the changes. Security features include customer-managed keys, integration with AWS Secrets Manager for password management, and enhanced monitoring through CloudWatch. To clean up, users can destroy the Aurora cluster with a Terraform command.