web3studio-soy
web3studio-soy copied to clipboard
Cloudfront uses failover origins
Overview
As a user, I want to have maximum site uptime, so that I don't get frustrated having the site down.
Reference
Assumptions
- A Cloudfront origin group (with some work?) will rotate through origins if one fails
- All ipfs gateways act the same so using one vs the other doesn't matter too much
Questions
- What other benefits can we get from origin groups? Geo distribution?
Acceptance
- If one gateway goes down, move to the next one in the list
- Gateway order:
- Infura (ipfs.infura.io)
- IPFS.io (gateway.ipfs.io)
- Cloudflare (cloudflare-ipfs.com)
- Secondary IPFS? (ipfs.io)
Tasks
I made an attempt at this, I couldn't figure out how to cloudformation origin groups and when I set it manually with a failing origin:
