DEV Community

Raghavendra Reddy
Raghavendra Reddy

Posted on

Hey Need help

So Hey community i need a help I am confused!
So here is it i am building a frontend and backend webapp
So in that I wrote whole code evrything is finalized but I am confused where to host my backend,
I know aws is an option but i can't afford, the api calls are minimal so i thought of hosting it in heruko or render but the free tiers usually turn off without any intimation making it for me hard and restart the server again and again !!
So is there anything like to host it
For frontend i can host for free in vercel without any limitations I need something I that for backend as well any help or suggestions?

Top comments (9)

Collapse
 
prema_ananda profile image
Prema Ananda

Google Cloud Platform offers an Always Free tier program that allows you to use certain resources for free without time limitations. For virtual machines, this includes:
Free Compute Engine virtual machine:

1 e2-micro instance (up to 1 vCPU, 1 GB memory)
Available only in specific US regions (us-west1, us-central1, us-east1)
30 GB of standard persistent disk
1 GB of egress traffic per month (excluding traffic to China and Australia)

Collapse
 
kurealnum profile image
Oscar

The free tier on AWS is pretty nice. You can't really host your frontend & backend on different platforms (well, I guess you could, but that greatly over-complicates things). A VPS is probably your best bet for sheer affordability, but that takes a lot more effort & knowledge to set up.

It also depends on the framework you're using. If it's Django, PythonAnywhere is a good option.

Collapse
 
purnima_chowrasia profile image
Purnima Chowrasia

As mentioned by @kurealnum you can utilise AWS free tier. Also, if you want to move frontend on AWS then Amplify is really simple to host your frontend just connect your GitHub and the corresponding branch.
You can also explore enabling CORS on your backend if your FE is on different platforms or request is coming from different origin to your backend.

Collapse
 
nghimgiabo6 profile image
Nghiêm Gia Bảo

Hey there! 👋
My friend and I are currently working on a full-stack PERN (PostgreSQL, Express, React, Node.js) e-commerce website as a portfolio project. We're looking for a few more coding buddies to join us and build something awesome together!

If you're interested in collaborating, feel free to reach out to me on Discord:
nghiemgiabao2306

Collapse
 
contractorx profile image
Collins Dada

i just stumbled on Canine, called itself the alternative to Heroku and the hosting sites are cheep ($4) and really easy to use, also seem to be in partnership with Github somehow.

Collapse
 
raizo03 profile image
Raizo-03

You can try Heroku education program. They have free 2-years subscription with allotment of $13 per month. But you have to be a student and you have to apply for the GitHub education program. The setup is beginner friendly and you can host your web application there along with the database if you have any.

Collapse
 
nevodavid profile image
Nevo David

Bruh I’ve been through this backend hosting mess - figuring out where to put your server without headaches is half the battle.

Collapse
 
citronbrick profile image
CitronBrick

DigitalOcean has a free tier too.

Collapse
 
dotallio profile image
Dotallio

I've run into the same issue with free backend hosting sleeping way too much. Have you looked at cheap VPS options like Hetzner or maybe even trying the free tier of Fly.io?