Darren
Darren's IoT corner

Darren's IoT corner

How I migrated from servers, to serverless™

How I migrated from servers, to serverless™

And how can you recreate somewhat similar setup

Darren's photo
Darren
·Oct 23, 2021·

2 min read

Subscribe to my newsletter and never miss my upcoming articles

huh?

So, my whole site is technically hosted for "free" all I'm paying for is domain + Cloudflare pro, which I don't really need, but it has more control and has a lot more page build.

So first why, why did I go serverless. Well it's simple. Maintaining server cost a lot more and just not efficient. I normally pay around $250 for hosting per month, now I only pay $45.

Now you may ask What the hell. How in the cow. Why did I pay for 250 for hosting? Well it's because my website get a lot of traffic from My Public lavalink Host and lavalink-replit

cloudflarestats.png

Now we won't get into the details and the cost breakdown for the lavalink & such because you aren't probably going to do what I do lol

I pay 20 dollars for Cloudflare pro, 25 dollars for Amazon S3 Storage for my cdn and file hosting

How can I recreate this?

Well for you average folks, all you need is prob just a domain which cost 12 dollars per year and a Cloudflare account.

heh? that's it? Yes! You can simply use Cloudflare pages Which Is free! And the features:

  • 1 build at a time
  • 500 builds per month
  • Unlimited sites
  • Unlimited requests
  • Unlimited bandwidth

For backend, you can use Cloudflare Workers Which is free for 10k request.

 
Share this