Reputation: 2146
Given yesterday's us-east-1 S3 outage, how do I best architect a CloudFront CDN which uses a S3 bucket as the source and the bucket is setup to replicate to another region?
or
Any other solution?
Your insights and comments are much appreciated.
Cheers Bernie
Upvotes: 4
Views: 4781
Reputation: 2146
It turns out that neither of my proposals worked and that Cloudfront does not support S3 replication and failover out of the box.
Below architecture should have survived the 2/28/17 North Virginia S3 outage (Thanks for the help @Michael-sqlbot).
I am surprised though that AWS does not offer a more trivial solution for such a fairly common scenario...
Upvotes: 5
Reputation: 273
You can create cross-region replication and use your CloudFront with multiple origins.
Also you will need to write explicit rules, how your content will be routed with multiple origins.
Upvotes: 1
Reputation: 873
I would personally select your first choice as S3 has 99.99.. durability and is highly available. So, that's an ideal solution to assure your replicated data remains highly available. Further, if your data volume is high, you can store your old replicated data with Amazon Glacier. However, this is a tradeoff between how critical your data is and how much time you consider for this valuable data to be recovered; because Amazon Glacier may take up to few hours to bring your archived data back up for usage.
Upvotes: 2