Comment by cobertos
11 hours ago
Huh, how? Did you have to modify your site a lot to do switch?
I tried to test it out as a CDN replacement for Cloudflare but the workflow was a lot different. Instead of just using DNS to put it in front of another website and proxy the requests (the "orange cloud" button), I had to upload all the assets to Bunny and then rewrite the URLs in my app. Was kind of a pain
They do have the CDN proxy too. Not sure when it was implemented though.
It's a similar process to Cloudflare. Point the NS to them and enable the proxy for a domain or subdomain.
You can also create a standalone pull zone and point your existing DNS provider to the CNAME they give you.
(don't use CNAME flattening with DNS-routed CDNs like Bunny though, if you must use an apex domain then use the CDNs integrated nameservers)
> don't use CNAME flattening with DNS-routed CDNs like Bunny though
What is the problem with doing that?
1 reply →
When I tried it last year, their edge compute infra was just not there yet. It could not do any meaningful server-side rendering because of code size, compute and JS standard constraints.
Has this situation changed?
Depending on your precise requirements, I think it might have changed.
I've been trying out Bunny recently and it looks like a very viable replacement for most things I currently do with Cloudflare. This new database fills one of the major gaps.
Their edge scripting is based on Deno, and I think is pretty comparable to e.g. Vercel. They also have "magic containers", comparable to AWS ECS but (I think) much more convenient. It sounds from the docs like they run containers close to the edge, but I don't know if it's comparable to e.g. Lambda@Edge.
I haven’t tried to do SSR in bunny but they also have bunny magic containers now where you run an entire container instead of just edge scripts (but still at the edge).
Not sure what you mean with ssr for a CDN?
1 reply →
I have been using them for over a year. THey have the same flow as Cloudflare, point domain to thier CDN, set CDN Pull Zone to target your server. I havent had to do anything.
They even support websockets.
Why they cant do is the TUnnel stuff, or at least fake it. I have ipv6 servers, and I can't have the IPv4 Bunny traffic go to the ipv6 only sources.
Amazing. I had not noticed they support websockets now. That was always what I missed from CF.
It should work as a drop in. You can just proxy your website. You don’t need to upload anything to Bunny (but you can if you want).