Giter Site home page Giter Site logo

kmsarabu / eks-aurora-global-database Goto Github PK

View Code? Open in Web Editor NEW

This project forked from aws-samples/eks-aurora-global-database

0.0 0.0 0.0 1.35 MB

License: MIT No Attribution

Shell 25.15% JavaScript 1.08% Python 39.65% CSS 1.85% Makefile 2.47% HTML 17.97% PLpgSQL 8.98% Dockerfile 2.86%

eks-aurora-global-database's Introduction

Blog content for Scaling Applications using Multi Region Amazon EKS Clusters and Aurora Global Database

Architecture

This solution deploys Amazon EKS clusters in two regions, Application, PgBouncer on EKS in both regions and Amazon Aurora Global Database.

We configure both regions to be active-active using the local read and global write design pattern. We start by creating an Amazon EKS cluster and Aurora Global Database with PostgreSQL compatibility in regions us-east-2 and us-west-2. We use PgBouncer for database connection pooling, which is an open-source connection pooling solution for PostgreSQL. We also implement a workflow using Amazon EventBridge for PgBouncer to handle planned Aurora Global Database failover. We then deploy the application stack, which includes stateless containerized applications on Amazon EKS clusters in both regions. We then expose the application endpoint using an Application Load Balancer in the respective Regions. Finally, we configure AWS Global Accelerator for the Load Balancers as endpoints

image-application-architecture

Deployment

Please refer to Blog - Scale applications using multi-Region Amazon EKS and Amazon Aurora Global Database for details.

Security

See CONTRIBUTING for more information.

License

This library is licensed under the MIT-0 License. See the LICENSE file.

eks-aurora-global-database's People

Contributors

ajrajkumar avatar dependabot[bot] avatar kmsarabu avatar amazon-auto avatar cdaveaws avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.