Sites with access to backend API

Hi,
we would like to implement something like this but on cloudflare instead fo CloudFront.
image

We want to use sites but forward the requests to our /api/ backend directly to our LB. Thing is we are ingesting PB of data and hence can’t use the CF LB because of the 0.1$/gb pricing. Our ingest pricing is 0$ at the moment.

Could we do this with rules? I didn’t see any regex capability.

That would be possible with Cloudflare Workers, but

If your API is going to have a lot of traffic then Workers pricing can be expensive too.

https://developers.cloudflare.com/workers/platform/pricing

This topic was automatically closed 3 days after the last reply. New replies are no longer allowed.