I want to setup Route53 so that when people go to xyz.mydomain.com they will hit one of my two S3 buckets that I've setup with S3 replication.
I already have one of the buckets configured on Route53 but I'm not understanding how to configure the second one, like what do I put for the alias target?
Thanks.
We had the same issue to load balance s3 on outage and here is how it is resolved,
This is not just a failover, it is also active-active with latency based routing,
https://read.iopipe.com/multi-region-s3-failover-w-route53-64ff2357aa30
I thank Erica Windisch for this wonderful article.
The only disadvantage of the failover url is it can serve only on http and not https.
You can take the http and server over cloudfront to make it to https.
'AWS is still pending giving a cleaner solution for this issue'
Ideally, cnames should be accepted on multiple regions and automate the failover or latency based routing.
Hope it helps.