https://github.com/chris-luiz-16/dr-of-aws-infra
This documentation provides an overview of AWS disaster recovery
https://github.com/chris-luiz-16/dr-of-aws-infra
aws-alb aws-route53 disaster-recovery
Last synced: 8 days ago
JSON representation
This documentation provides an overview of AWS disaster recovery
- Host: GitHub
- URL: https://github.com/chris-luiz-16/dr-of-aws-infra
- Owner: Chris-luiz-16
- License: mit
- Created: 2023-06-11T15:13:12.000Z (over 2 years ago)
- Default Branch: main
- Last Pushed: 2023-06-11T17:40:05.000Z (over 2 years ago)
- Last Synced: 2025-01-15T07:59:27.982Z (9 months ago)
- Topics: aws-alb, aws-route53, disaster-recovery
- Homepage:
- Size: 2.93 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# DR-of-aws-infra
This documentation provides an overview of the ALB (Application Load Balancer) setup for disaster recovery. The configuration involves two ALBs located in the Ohio and North Virginia regions. The ALB endpoints are pointed to the a one common domain, which serves as the entry point for the application.
To ensure high availability and mitigate the impact of outages, the domain is load balanced using a weighted route policy in a 50:50 ratio. This means that incoming traffic is evenly distributed between the ALBs in any of the 2 regions. [Let's say Virginia and Ohio region]
In the event of a failure or outage in one region, the traffic is automatically routed to the other region, providing seamless failover and uninterrupted service. This setup enhances the resilience of the infrastructure and ensures continuous availability of the application.

## Disaster Recovery
This ALB setup described here serves as a disaster recovery (DR) mechanism. In the event of a failure or outage in one region, the traffic can automatically failover to the other region, ensuring continuous availability of your application.
By distributing the traffic across multiple regions, you enhance the resilience of your infrastructure. If one region becomes unavailable, the other region can handle the incoming traffic and minimize the impact on your users.
Once any region is completely down, then we can trasfer 100% of the incoming traffic to the unaffected region thereby minimizing the downtime.

## Usage
To set up the ALB configuration for disaster recovery in your own environment, follow these steps:
```
1. Configure the ALBs in both the Ohio and North Virginia regions.
2. Point the ALB endpoints via aliasing to a common dommain name
3. Set up the weighted route policy in both regions with a 50:50 ratio.
```Let's say suppose I'm having a domain name shopping.chrisich.fun and my route53 record will look like this

If N.Virginia is down, then we can change the weighted route policy to 100% in the ohio-region which will handle the incoming traffic and minimize the impact on your users.
## Contributors
- [Chris Luiz](https://github.com/Chris-luiz-16) - Project Owner