Reputation: 47
I have API gateway configured in us-east-1 and us-west-1 to serve rest service requests. Also,i have a Route53 which is on failover policy. Only us-east-1 is primary, it will be failed over to us-west-1 only when health check failed in us-east-1. As i'm planning to make things active-active, i need to route the read calls to both the regions, however write calls to only us-east-1 as primary. Is it possible to achieve this requirement? Can i route the traffic of my rest service requests based on url parameters.
Upvotes: 0
Views: 213
Reputation: 238259
Is it possible to achieve this requirement?
No. Route53 does not participate in your API's read or write operations. It does not differentiate between them, thus it can't "direct" read operations different that write operations.
Upvotes: 1