News for hackers. Stuff that matters.
Re:Issues with Cloudflare Images by jcsnv on Tuesday December 07, 2021 @12:33PM (#29475534)
We were charged $10k for the first month of use and immediately reverted the implementation. CF was kind enough to refund us since we're still an early stage co. It would be great if pricing was more reasonable
Re:Issues with Cloudflare Images by yawnxyz on Tuesday December 07, 2021 @12:48PM (#29475772)
I remember there was another article about image uploads and content moderation (here: https://news.ycombinator.com/item?id=28684250), essentially saying that if you create a open uploading service, you WILL start getting lots of spammy images / abuse.

CF Images always seems like a LOT more $$ than other image hosting tools out there. What other service did you end up going with?

Re:Issues with Cloudflare Images by arecurrence on Tuesday December 07, 2021 @12:59PM (#29475917)
I often use Bunny CDN where it's $10 a month for UNLIMITED image alterations. They charge half a cent per gigabyte on traffic of the post processed image (in their bulk tier) along with 1 cent per gigabyte for storage.

The nearest competitor is likely over 10x more (Caveat: For the workloads I've applied this on).

Re:Issues with Cloudflare Images by Viruptc on Tuesday December 07, 2021 @12:58PM (#29475907)
Re:Issues with Cloudflare Images by jjkmk on Tuesday December 07, 2021 @04:29PM (#29478457)
How does imgur stay alive, out of curiosity.
Re:Issues with Cloudflare Images by Twirrim on Tuesday December 07, 2021 @04:47PM (#29478614)
Re:Issues with Cloudflare Images by yawnxyz on Wednesday December 08, 2021 @05:49AM (#29483258)
they also removed the private images part, and pivoted towards becoming a "social network" (several years too late). Honestly no idea how they stay alive.

Also honestly no idea why they never jumped on the NFT bandwagon.

Oh, they're also apparently a tiny team (<50) too, so that probably helps

Re:Issues with Cloudflare Images by stillicidious on Tuesday December 07, 2021 @01:12PM (#29476077)
Those are some seriously egregious egress fees!
Re:Issues with Cloudflare Images by john37386 on Tuesday December 07, 2021 @12:53PM (#29475833)
Lucky for you that you don't check your bills on a quarter basis (3 months). It could have been another story to be reimbursed and the bills might have more than triple.
Re:Issues with Cloudflare Images by jbergstroem on Tuesday December 07, 2021 @02:35PM (#29477171)
I would much more prefer if the service cost was tied to image operations instead of "displays".
Re:Issues with Cloudflare Images by josephg on Tuesday December 07, 2021 @09:19PM (#29480598)
I had a client a few years ago who was using another service for image hosting, and they were getting charged through the nose for it. This is before cloudflare had their own image CDN style service. The client's app made heavy use of URL based image transforms. And we didn't want to lose that - so it seemed like they were a little stuck.

The website itself was already using cloudflare's CDN. So I added a simple cloudflare URL rule to redirect all requests hitting /images/XXX to the 3rd party image hosting service. Within a month our client's image hosting bill dropped from $~10k/month down to about $90/month, which I felt great about.

I did made one terrible mistake though - I forgot to tell our client about the configuration change. So cue a monday morning panicked phone call from our client when they got their bill, asking what on earth was happening that caused all their web traffic to disappear overnight. They thought (based on the bill) that their website must be broken and they were freaking out about it! Oops!

Re:Issues with Cloudflare Images by sciurus on Wednesday December 08, 2021 @08:02AM (#29484199)
Your post leaves it a little bit unclear what you actually did.

Are you saying that

1. Originally all requests for images went directly to the egregiously-priced image host

2. You changed that traffic to be routed through Cloudflare instead so it would be cached

3. That reduced requests to your image host enough to cut your bill by 99%

?

Re:Issues with Cloudflare Images by josephg on Wednesday December 08, 2021 @06:39PM (#29492048)
The client was using an image host which supported image transforms. They uploaded all their images there and were using a lot of image transforms from that host on their website. So, HOST/img/123?scale=1.3&color=greyscale type business. They were paying per image loaded from the site.

We tucked cloudflare in front of the image host using a URL rewrite rule. Cloudflare's cache reduced the number of requests made to the image host by 99% or something.

Re:Issues with Cloudflare Images by sciurus on Friday December 10, 2021 @10:29PM (#29518152)
Thanks for confirming! Pretty amazing what some well-placed caching can do.