https://github.com/mongoexpuser/global-aurora-postgres-sless-v2-db-with-dr-and-ml-capabilities
Global Aurora PostgreSQL Serverless V2 Database with Disaster Recovery and In-Database Machine Learning Capabilities
https://github.com/mongoexpuser/global-aurora-postgres-sless-v2-db-with-dr-and-ml-capabilities
aurora aws comprehend disaster-recovery global-database machine-learning posgresql sagemaker serverless serverless-v2 terraform
Last synced: 4 months ago
JSON representation
Global Aurora PostgreSQL Serverless V2 Database with Disaster Recovery and In-Database Machine Learning Capabilities
- Host: GitHub
- URL: https://github.com/mongoexpuser/global-aurora-postgres-sless-v2-db-with-dr-and-ml-capabilities
- Owner: MongoExpUser
- License: mit
- Created: 2023-06-23T17:15:03.000Z (over 2 years ago)
- Default Branch: main
- Last Pushed: 2023-08-03T19:22:22.000Z (about 2 years ago)
- Last Synced: 2025-05-30T10:13:58.457Z (4 months ago)
- Topics: aurora, aws, comprehend, disaster-recovery, global-database, machine-learning, posgresql, sagemaker, serverless, serverless-v2, terraform
- Language: HCL
- Homepage:
- Size: 300 KB
- Stars: 1
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
[](https://github.com/MongoExpUser/Global-DB-Aurora-Postgres-Sless-V2-With-DR-and-ML-Capabilities/actions/workflows/global-aurora-pgs-sless-v2-dr-ml.yml)
## Global-Aurora-Postgres-Sless-V2-DB-With-DR-and-ML-Capabilities
## View of Global Database With Disaster Recovery Feature In Secondary Region
## View of Global Database Integration with Machine Learning Features

## Purpose
* Deploy a Global Aurora Postgres Serverless V2 Database Cluster with Disaster Recovery (DR) and In-Database Machine Learning Capabilities.
* Machine learning features include:
* AWS Comprehend for Sentiment Analysis.
* AWS SageMaker Machine with Linear Learner, Random Forest & Xboost algorithms features.## Advantage of Global Cluster
* The global database ensures Cross-Region Disaster Recovery, hence:
* If the primary (source) region suffers an outage, the secondary region cluster can be promoted to a stand alone primary cluster.
* The cluster can recover in less than 1 minute with an effective Recovery Point Objective (RPO) of 1 second and a Recovery Time Objective (RTO) of less than 1 minute.## Deployed Resources:
* The following resources are deployed:
* AWS Secret Manager Secret
* AWS VPC Security Group
* AWS RDS DB Subnet Group
* AWS RDS Cluster Parameter Group
* AWS RDS DB Parameter Group
* AWS RDS Enhanced Monitoring IAM Role
* AWS Aurora Postgres Cluster-Comprehend IAM Role
* AWS Aurora Postgres Cluster-Sagemaker IAM Role
* AWS Aurora PostgreSQL Serverless Global Cluster
* AWS Aurora PostgreSQL Serverless Primary and Secondary Clusters (on the Global Cluster) and Related Primary and Reader DB Instances
* AWS RDS Cluster Role Associations for Associating Cluster with AWS Comprehend on the Primary and Secondary Clusters
* AWS RDS Cluster Role Associations for Associating Cluster with AWS SageMaker on the Primary and Secondary Clusters
# License
Copyright © 2023. MongoExpUser