chevron_left All Posts
Thursday, December 19, 2024
How Cloudflare Lets Me Self-Host for Free
Exploring the power of Cloudflare Tunnel for self-hosting.

I’ve been diving into Cloudflare Tunnel lately, and honestly, it’s blowing my mind that this service is completely free. Normally, I’d host my APIs on a VPS, but with Cloudflare Tunnel, I can now route connections through their network for specific services and ports. This opens up the possibility of self-hosting on my beefier home server. 👀

The Game Changer: Cloudflare Tunnel

Cloudflare Tunnel allows you to securely expose your local services to the internet without poking holes in your firewall or dealing with complex VPN setups. It’s like having a direct, secure pipeline from the web to your local machine. And did I mention it’s free? This means I can leverage my home server’s superior specs without relying solely on a VPS.

The Catch: Upload Limits

However, there’s a caveat. Cloudflare imposes a global file upload limit:

  • Free and Pro Plans: 100 MB
  • Business Plan: 200 MB
  • Enterprise Plan: 500 MB (with options for increases)

This is particularly relevant for services involving large file uploads, like the IPA Signing tool I’m currently working on.

My Solution: Chunking Uploads

To navigate this limitation, I’m exploring methods to split large IPA files into smaller chunks, each within the 100 MB limit. This approach ensures compatibility with Cloudflare’s restrictions while maintaining the integrity of the upload process.

Final Thoughts

Cloudflare Tunnel’s free offering is a fantastic tool for developers and self-hosters. While the upload size limit presents a challenge, strategies like file chunking can help mitigate these constraints. It’s all about finding creative solutions to leverage powerful tools effectively.

Stay tuned for more updates on my Cloudflare Tunnel journey! 🚀


Cheers,

s0n1c