Reducing Egress Costs for Image Processing with Cloudflare R2 and Railway
harel-tussi
HOBBYOP

2 months ago

Hi,
I’m generating many images stored in Cloudflare R2. I want to run imgproxy on Railway in front of R2 for on-the-fly resizing/formatting, but outbound egress spiked. I considered moving images to a Railway bucket, but it doesn’t support private networking. Any recommended architecture to reduce egress or handle this better?

$10 Bounty

2 Replies

fra
HOBBY

2 months ago

What about using cloudflare images for the resize? Then you could use signed URL tu upload the images and use the R2 events to do whatever you need in your backend


harel-tussi
HOBBYOP

2 months ago

cloudflare images is pretty costy when dealing with image transformations


Loading...