Hi,
May I ask which Amazon Route 53 DR strategy[1] would be recommended in this situation?
Extracted from the original request: "Based on below documentation [2] it seems that we need to allow access to dataminer server on ports 80 and 443 for external clients. We’re going to resolve that by putting load balancer in each region as server is in private network.
But we need to know if those regions should work in active-active or active-passive way.
If we’re going with active-passive, we can configure route53 to detect which region is alive based on healthcheck of the application."
Thanks in advance,
[1] https://aws.amazon.com/blogs/architecture/disaster-recovery-dr-architecture-on-aws-part-iv-multi-site-active-active/
The solution was to activate custom API endpoints (on both agents), allowing the load balancer to query the DataMiner status via a HTTP POST request (ex: https://dmaip:5001/api/deploy/scripts/_GetDmaStatus).
With the help of this information returned by the API (ex. agent status, public ip) route53 can detect which region is online and redirect the traffic to the correct agent.