265 points · by wenbin · 3y ago · 84 comments
Pages is essentially totally free. R2 is within the same pricing magnitude as S3. D1 is a very new product and afaik is still in beta and doesn't have production pricing yet; so be weary there. Zero Trust is less usage and more per-user, I think $7/mo/user.
We launched a big presale this year with an e-commerce app hosted on Workers, and we just barely hit the 5$ threshold for the paid plan. Did not use more services (other than DNS/proxy) though, so YMMV.
I've been looking for affordable hosting solution to serve multimedia files, e.g., podcast audio, which is typically the biggest part of cost for hosting.
Cloudflare R2 is an attractive solution. R2 doesn't have egress fee and the free tier includes 10 million read requests/month [1]. Is 10 million a big number? Yes, at least in the podcast industry. If your podcast has 10 million listens per month (or let's be conservative, "only" 1 million listens/month), you could already make big money [2] while still in the free tier of R2! In other words, whenever you'll pay for R2, then you become a very successfully podcaster :)
For other Cloudflare products that we use in microfeed
* Zero Trust (provides logins to admin page) [3]: 50 users for free - how many admins do you need? 50 users enough? :)
* Pages [4]: 100,000 functions requests/month for free. This should be enough for personal/small-business type websites.
* D1 [5]: No pricing info yet. But they'll likely charge by # of reqs/month.
* CDN / Firewall / Cache / DNS etc.: there are other Cloudflare products you can use for free.
Probably the biggest price you'll pay when using microfeed is your time :)
There are (almost) one-click SaaS solutions that save you time, but you'll pay with money.
There are multiple-click self-managed solutions that save you money, but you'll pay with time.
[1] https://developers.cloudflare.com/r2/platform/pricing/
[2] https://www.google.com/search?q=how+many+downloads+does+a+po...
[3] https://www.cloudflare.com/plans/zero-trust-services/
Are there any other CMS's that people are using these days? Perhaps looking forward to be using in 2023?
The big draw for me is it's just Hugo/Gatsby/Jekyll underneath, and the output files can be delivered anywhere that will host static files (CloudFlare pages does this really well, as does Netlify).
> Our team is working on a V2 product. See it at Tina.io (in beta).
I'm going to go ahead and say it's the same people.
I will try this out this week!
Shouldn't that be two seperate issues?
Traditional CMS you do the setup and plumbing in the server because you have full control
Static website hosting you prebuild a website and push it up all complied and done but in a standard supported format, do it easily can go to different providers.
There's not much in between, because you can't (easily) write code that is happy to run in two different systems controlled by other people with different plumbing under the hood... It's certainly doable, but the more you generalize the more complicated your code gets... and the less you can benefit from the vendor specific stuff (e.g. removing features that one side does not support ... Or adding code to use it if it's there -- which makes code even more complicated)...
Edit: and to the point of code complexity: if you did this all yourself in an alpha release, you likely would make a company/product like forestry (mentioned elsewhere in this discussion) because you've made something some people would consider somewhat or very valuable
ps. You might want to consider a donation to the internet archive, see [^2] - no affiliation, just a happy user.
[^1]: https://middlemanapp.com/
[^2]: https://archive.org/
https://github.com/subzerocloud/showcase/tree/main/cloudflar...
It uses templates with Twig, and it's very simple PHP so you can host it anywhere.
I once hit the frontpage of a big aggregator from my country and it handled like it was nothing from a very cheap shared hosting.
From my Linux Mint laptop, all it takes is to open my FTP on Thunar (which involves a click in my sidebar), and I'm navigating it like any other file system. Right click, create file, write & format my post, and save the file.
Viola, it's published.
Oh, and you can mix Markdown with HTML and JS in your posts. Less stuff you need to learn.
This setup is also completely free since the content lives on GitHub and my static site on render.com (but any static site hosting will work).
And since it’s Nuxt based, it automatically also supports more advanced features such as tagging, advanced queries and filtering.
Can only recommend it!
So you basically remove 99% of the attack surface.
I like the idea of having web content you can put up with minimal configuration and cost but we have to draw a line for that definition somewhere.
If you have no access to the code then it would qualify as being hosted for you.
For example, if you run a Nextcloud instance and upload pictures there, then you are self-hosting your photos.
microfeed uses Cloudflare Pages to host and run the code, R2 to host and serve media files, D1 to store metadata, and Zero Trust to provide logins to the admin dashboard.
@jacooper is correct that the term has been wrongly used by the creator.I think you can ask 3 people this question and get 5 answers to where the "self hosting" line is drawn...
I am not sure were I would draw this line myself :-)
Seems yes for rented servers like hetzner but gets more heated when it's about "serverless"
I think "not SaaS" sums up today's definition of "self hosted" although I could be mistaken.
Edit: Netlify Edge functions seems to be pretty much exactly what I'm describing (drop js/ts files in a directory, deploy with your static site). The only problem with it for me is it's not self-hosted. Serveless functions would work, tho the separate deployment adds a layer of complexity, and I'd have to learn CORS finally lol
https://docs.aws.amazon.com/AmazonCloudFront/latest/Develope...
From a 2016 post CloudFlare states they don’t block Tor traffic and don’t let their customers block the traffic either but they will put restrictions such as captchas in place [1].
To me, their 2016 post claiming not to "block Tor traffic" is disingenuous, since they are exceedingly hostile to it. I only ever experience Cloudflare as an obstacle and nuisance online.
I also deeply dislike their attitude and PR stand, which is essentially victim blaming and disrespectful of those who make different technological choices. Their message seems to be;
"We make an effort to sound sorry to those who are harmed by our
business model. But you are a minority, and we make a lot of
money. If you want to make an omelet, you gotta break some eggs. Now
get out of the road."This is a subset of a larger push-pull on the privacy needs of users vs. the integrity needs of service providers; the modern threat model is a lot more complicated than it was in the era where you could deal with an attack by black-holing an IP range. For example, Google's login flow requires (required? this may have changed) JavaScript because there are attacks possible in non-JS HTML that Google cannot protect against without using JS to do DOM inspection. Does enabling JS also allow for various privacy risks? Yes. But it increases user security.