by 3eb7988a1663 · 2y ago · 0 comments
Based on Cloudflare R2 S3 object storage costs for 33GB of WordPress plugins, for a private WordPress plugin mirror would cost less than US$0.35/month though will rise as new plugin versions get downloaded and stored and if under generous R2 Class A/B write and read operation free monthly quota, the R2 operation costs would be free. The Cloudflare Worker costs based on past 24hrs metrics was 765K Worker requests at median of 2.1ms CPU time. So with 100K Worker requests/day free, cost would essentially be the $5/month Cloudflare Worker subscription fee as overages won't apply under their generous paid US$5/month subscription plan includes up to 10 million requests per month at average 10ms average CPU time. All up, it would be US$5.35/month starting costs which will rise as number of WordPress plugins and Worker usage increases as outlined here. Cloudflare CDN bandwidth is free of charge, so no need to worry about egress bandwidth fees.
Shockingly affordable.What if I instead buy a cheap 10TB hard drive and crawl at a more relaxed rate on a commodity PC at home? The cost goes way, way down after the initial investment, to near zero.. after one year the amortized H/W costs would be around $30 per month.
Additionally, 1 gigabit+ FTTH unmetered symmetric fiber Internet lines are ever more available at a competitive price.
8 gigabit unmetered symmetric fiber for 50e a month
500e initial one time purchase for a ryzen 6800u in mini desktop factor form with 32 gb of memory and 512 nvme gb drive.
Proxmox installation.
Electricity at 0,017 kwh with a 15w cpu.
You can now hosts dozens of such projects. Upgrades for later include : an UPS for eventual power cut or surge, a small NAS for mass storage, a second mini desktop for Proxmox redondancy and replication.
Since fiber lines have becomes the norm self hosting stuff at home has been a breeze and a joy for small projects.
Extra bonus : jellyfin, pihole, home assistant, and all sort of other goodies can easily get a spot on that proxmox.
free of charge, until sales shows up: https://news.ycombinator.com/item?id=40481808
IIRC that also goes for the other "self serve" plans, so includes paid plans. You need an enterprise plan (probably $5k+/m) to distribute non-Web-page-related files without violating the TOS. People often get away with it as long as they don't go too wild, but you're in even riskier territory than one already is using non-enterprise Cloudflare.
You can use R2 for multiple scenarios, including but not limited to:
Storage for cloud-native applications Cloud storage for web content Storage for podcast episodes Data lakes (analytics and big data) Cloud storage output for large batch processes, such as machine learning model artifacts or data sets