web3studio-soy icon indicating copy to clipboard operation
web3studio-soy copied to clipboard

Cloudfront uses failover origins

Open barlock opened this issue 6 years ago • 1 comments

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:
    1. Infura (ipfs.infura.io)
    2. IPFS.io (gateway.ipfs.io)
    3. Cloudflare (cloudflare-ipfs.com)
    4. Secondary IPFS? (ipfs.io)

Tasks

barlock avatar Dec 20 '18 15:12 barlock

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:

image

barlock avatar Feb 01 '19 16:02 barlock