An open API service indexing awesome lists of open source software.

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

Awesome Lists containing this project

README

          

[![CI - TF Deploy AuoraPgsGlobalSless2](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/badge.svg)](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
![Image description](https://github.com/MongoExpUser/Global-DB-Aurora-Postgres-Sless-V2-With-DR-and-ML-Capabilities/blob/main/global-db.png)

## View of Global Database Integration with Machine Learning Features
![Image description](https://github.com/MongoExpUser/Global-DB-Aurora-Postgres-Sless-V2-With-DR-and-ML-Capabilities/blob/main/ml-integration.png)

## 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