by AznHisoka · 2mo ago · 0 comments
You also don't pay for actual data transfer, so the billing is overall simpler - AWS and GCP have similar per-request compute options, but every part of the platform has extra fees (like per-gb data transfer billing, sometimes you need a VPC to interconnect services, secrets being an extra charge, etc).
however now i just have agent do it with CLI and that works well and I don't have to find the secret link
Running your stuff, even private stuff, through a tunnel is great so that you don't have to expose your VPS' IPv4.
CDN, DDoS protection, excellent DNS hosting features, web monitoring, web analytics, advanced web and service filtering and blocking, zerotrust networking / vpn options, a solid API that works great with terraform, tons of other stuff.
Pages are now essentially deprecated and Workers have dedicated ways to host static files and are the recommended path going forward for static and dynamic websites
> Workers supports most Pages use cases and offers a broader feature set. It is Cloudflare's primary platform for building applications. Start new projects with Workers.
And I see that the assets[0] wrangler config key can also be setup so that hits it prefers hitting static files, so that they can still be served in a free and unlimited manner.
Although I imagine an official deprecation probably is a long ways off, and if they do it I hope they'd handle a large-scale migration for each page to its own worker with assets preserved.
0: https://developers.cloudflare.com/workers/static-assets/bill...
(Actually multiple, one for each domain)
Actually if you even search "static sites" now it just takes you to Workers & Pages in the dashboard.
Docs:
https://developers.cloudflare.com/workers/
Free plan limits:
https://developers.cloudflare.com/workers/platform/limits/#a...