Hosting this site needs to adhere to the following criteria for this to remain free or as cheap as possible:
- Unlimited or high amount of bandwidth (100GB/month+?)
- Enough storage for lots of images (All images will be optimized)
- Mechanism to limit spending if bandwidth cap is exceeded.
- HTTPS
- CDN
- CI/CD with GitHub Actions
GitHub Pages
GitHub Pages seems like the logical choice, at least for now. Zero cost, unlimited space (not a big deal), and limited deploys, though, a static docs site isn’t going to be deploying too often. See about page: https://docs.github.com/en/pages/getting-started-with-github-pages/about-github-pages
GitHub Pages sites are subject to the following usage limits:
- GitHub Pages source repositories have a recommended limit of 1 GB. For more information, see "About large files on GitHub"
- Published GitHub Pages sites may be no larger than 1 GB.
- GitHub Pages deployments will timeout if they take longer than 10 minutes.
- GitHub Pages sites have a soft bandwidth limit of 100 GB per month.
- GitHub Pages sites have a soft limit of 10 builds per hour. This limit does not apply if you build and publish your site with a custom GitHub Actions workflow
- In order to provide consistent quality of service for all GitHub Pages sites, rate limits may apply. These rate limits are not intended to interfere with legitimate uses of GitHub Pages. If your request triggers rate limiting, you will receive an appropriate response with an HTTP status code of 429, along with an informative HTML body.
Netlify
I like Netlify, but I’ve never used it for a site that could potentially generate lots of traffic. Being on free tier would be risky without any safeguards put in place to not get a huge bill if 1) the site get popular really fast or 2) the site got DDOS attacked. A $100K bill out of nowhere doesn't sound fun. See pricing: https://www.netlify.com/pricing/
Free tier main features:
- Single member seat
- Global edge network
- Live site previews with collaboration UI
- 100GB bandwidth
- 300 build minutes
- Instant rollbacks
- Static assets
- Dynamic serverless functions
Add-ons:
- Additional bandwidth
- Additional build minutes
- Additional teams
Cloudflare Pages
Pretty cool, b/c it comes with built-in analytics. Could replace Goat Counter. See pricing: https://pages.cloudflare.com/
Free tier:
- 1 build at a time
- 500 builds per month
- 100 custom domains per project
- Unlimited sites
- Unlimited static requests
- Unlimited bandwidth
Hosting this site needs to adhere to the following criteria for this to remain free or as cheap as possible:
GitHub Pages
GitHub Pages seems like the logical choice, at least for now. Zero cost, unlimited space (not a big deal), and limited deploys, though, a static docs site isn’t going to be deploying too often. See about page: https://docs.github.com/en/pages/getting-started-with-github-pages/about-github-pages
GitHub Pages sites are subject to the following usage limits:
Netlify
I like Netlify, but I’ve never used it for a site that could potentially generate lots of traffic. Being on free tier would be risky without any safeguards put in place to not get a huge bill if 1) the site get popular really fast or 2) the site got DDOS attacked. A $100K bill out of nowhere doesn't sound fun. See pricing: https://www.netlify.com/pricing/
Free tier main features:
Add-ons:
Cloudflare Pages
Pretty cool, b/c it comes with built-in analytics. Could replace Goat Counter. See pricing: https://pages.cloudflare.com/
Free tier: