Can cloudflare help with hosting map tiles somehow ?

I building hobby project and looking for a way to host map tiles for maplibre. Is there any service with cloudflare which cloud either help me to cache or host map tilers ? I am using sveltekit + workers + d1.
5 Replies
interpod
interpodOP5mo ago
Wow that was fast, thx I was wondering if these way of hosting allows me to set hard limit for usage? For example if someone will try to DDoS me I wont go brankrupt ? Thanx
Hello, I’m Allie!
The biggest thing I would recommend is WAF rules. It doesn’t hard limit, but it can definitely stop larger attacks. For cutting off the service entirely, I would probably go with a billing notification that calls to some service to disable the Worker We don’t have billing limits at the moment
interpod
interpodOP5mo ago
Thanks, I was wondering if free tier is able to handle some minimal traffic for worker ? or 10ms of limit is to much for that?
興怡
興怡5mo ago
Here is a similar albeit 2024 walkthrough and even a diagram. His demo is live at protomaps-on-cloudflare.pages.dev However, it doesn't include any info about billing or free tier limits -- https://thomasgauvin.com/writing/maps-web-app-with-protomaps-and-cloudflare/

Did you find this page helpful?