Should I Choose AWS Lightsail or Cloudflare Pages for My React Landing Page?

0
7
Asked By TechieSquirrel42 On

Hey everyone! I'm an embedded developer looking to shift my focus from WordPress to a more developer-friendly setup for my smart water meter project. I've been using AWS Lightsail to host a basic WordPress landing page, but I'm finding it limiting and want to transition to a React + TypeScript site. I'm considering using Cloudflare Pages combined with Supabase because it seems to handle static deployments well and offers a lot of free features, like databases and APIs, which could meet my minimal needs. But I also have a free Lightsail instance until October. Should I stick with AWS Lightsail and go full Docker for total control, or should I take the simpler route and use Cloudflare Pages? Also, I'll need an IoT backend for things like an MQTT broker eventually. Should I keep the landing page separate from the backend or run them both on the same server? I'd love to hear your thoughts!

3 Answers

Answered By FrontEndNinja On

Honestly, I recommend separating the two. Use Cloudflare Pages and Supabase for your landing page—it's low maintenance and has a great free tier. Keep the Lightsail instance for your MQTT broker and IoT infrastructure when you need it. This way, your marketing site stays up even if there are issues with your backend, plus you'll avoid the headache of debugging both at once.

HappyHacker101 -

I completely agree! I think that’s the direction I’ll take. Thanks for the help!

Answered By EmbeddedEnthusiast On

Your instincts are spot on! Cloudflare Pages and Supabase for the landing page is the way to go, while keeping Lightsail for when you actually need the IoT backend. Merging these two could lead to issues down the line, especially if your landing page gains traction from Kickstarter. You definitely want to keep them distinct.

Answered By CloudGuru2012 On

Since you'll eventually need a full server for your IoT tasks, I'd stick with AWS Lightsail to keep everything together for now. Also, consider AWS Lambda for any serverless options you might like, as they have a permanent free tier that could benefit you.

CuriousCoder89 -

That sounds good! But if I go that route, is setting everything up on Lightsail going to take much time? I like the idea of doing it myself but don’t want to overcomplicate things.

Related Questions

LEAVE A REPLY

Please enter your comment!
Please enter your name here

This site uses Akismet to reduce spam. Learn how your comment data is processed.