HN
Today

Dropping Cloudflare for Bunny.net

A developer meticulously documents their migration from Cloudflare to Bunny.net, driven by concerns over centralization and a desire to support EU tech. The post offers a detailed, step-by-step technical guide to setting up Bunny.net for improved performance and control. Hacker News debates the motivations, the nature of 'free' services, and the perceived advertising nature of the article.

109
Score
46
Comments
#4
Highest Rank
6h
on Front Page
First Seen
Apr 7, 2:00 PM
Last Seen
Apr 7, 7:00 PM
Rank Over Time
546101720

The Lowdown

This article details the author's decision and process for migrating a personal blog from Cloudflare to Bunny.net. The primary motivation was a growing unease with Cloudflare's significant centralization of internet infrastructure, viewing it as a potential single point of failure and a US-centric entity. The author aimed to find a competitive alternative, settling on Bunny.net, a Slovenian company, partly to support the European tech ecosystem.

The migration process involved several key steps and configurations:

  • Domain Registrar Switch: Moving the domain from Cloudflare to Porkbun, as no suitable European registrar with free WHOIS Privacy was found.
  • Bunny.net Setup: Creating a Bunny.net account and utilizing the provided credits to explore the service.
  • Pull Zone Configuration: Setting up a 'pull zone' to enable CDN services, pointing to the origin server, and configuring host headers.
  • DNS Integration: Updating CNAME records at the registrar to route traffic through Bunny.net and verifying SSL activation.
  • Advanced Caching: Leveraging Bunny.net's caching options, including respecting origin cache-control headers or using Smart Cache. The author specifically implemented aggressive HTML caching for speed, necessitating manual cache purges upon content updates.
  • Sensible Defaults: Configuring essential features such as enforcing SSL, activating Origin Shield for server load reduction, enabling Stale Cache for improved user experience during origin issues, and setting up an Edge rule for redirecting default pull zone URLs to the primary domain.

In conclusion, the author expresses high satisfaction with Bunny.net, praising its performance, dashboard insights, and forthcoming features like S3-compatible storage. The article encourages others to consider Bunny.net as a robust alternative to Cloudflare.

The Gossip

Ad Accusations & Affiliate Ado

Many commenters quickly pointed out the pervasive use of affiliate links throughout the original post, leading to accusations that the article was an 'ad' or a 'marketing post.' This sparked a broader discussion about transparency in online content and affiliate disclosures, with some suggesting FTC guidelines were applicable. The author later clarified their intent, edited the post to be more explicit about the affiliate links, and apologized for the oversight.

Cloudflare Concerns & Centralization Critiques

The author's primary stated reason for leaving Cloudflare was its centralization, raising concerns about a 'single point of failure.' Commenters debated the validity of this argument, with some agreeing that diversifying services is wise, while others questioned if switching to Bunny.net truly solves the 'single point of failure' issue. There were also mentions of negative experiences with Cloudflare, including service terminations and support issues, contrasting with its generally perceived reliability.

Bunny.net's Boons & Blunders

Users shared a range of experiences with Bunny.net. Positive feedback highlighted excellent support, innovative features like 'Magic Containers' for global APIs, and the appeal of supporting an EU-based company. Conversely, some users reported significant reliability issues, including assets not loading for certain users, unresponsive customer service, and technical problems with features like Edge Scripting or cache invalidation, leading to migrations *away* from Bunny.net.

Free vs. Fee: The Hobbyist Hurdle

A significant point of discussion revolved around the cost aspect, specifically Bunny.net's minimum €1/month fee versus Cloudflare's extensive free tier. Some commenters argued that even a minimal fee is a barrier for hobbyists, students, or those in regions with lower incomes, preferring Cloudflare's zero-cost entry. Others dismissed the €1 fee as negligible, suggesting that reliable services should be paid for, and that 'free' services often come with hidden costs or risks of sudden price changes.