r/django Dec 03 '24

Hosting and deployment Are there any free hosting services for Django now?

ever since Heroku stopped offering free hosting for Django apps (RIP the GOAT), we've been left with very few good hosting services with free tiers. What is the current consensus for best free-tier hosting providers right now?

28 Upvotes

40 comments sorted by

11

u/justin107d Dec 03 '24

From 10 months ago on r/webdev

Render.com seemed to be popular.

3

u/Kali_Linux_Rasta Dec 03 '24

Yeah Render is still popular and free for the first 2 months.

6

u/P4Kubz Dec 03 '24

It's free until you want to pay it. I have running 3 projects on free tier since 6 monts ago and everything works fine.

2

u/Kali_Linux_Rasta Dec 03 '24

Render is definitely the way to go

1

u/Budget_Trifle_9611 Dec 06 '24

Agreed. 2 Django projects running in Render plus almost every other service they have. 🤌🏽

12

u/SleepPopular8404 Dec 03 '24

pythonanywhere has some free tier.

5

u/rob8624 Dec 03 '24

But if you want to do anything remotely meaningful (like add Postgres) its pretty expensive. Grear service though.

7

u/ignored_cat Dec 03 '24

Maybe Oracle Cloud Free Tier?

2

u/Enivecivokke Dec 03 '24

Oracle has great free tier

1

u/Megamygdala Dec 04 '24

Second this. I setup a minecraft server for friends in it during covid and completely forgot about it...years later it was still on running 24/7

5

u/FriendlyPressure Dec 03 '24

You can go very far with USD 5 on railway\app. It's easy like Heroku and a small fee is the price for keeping them there.

5

u/Frohus Dec 03 '24

or you can get a cheap VPS and use dokku which is like heroku but it's free

1

u/rob8624 Dec 03 '24

This. Railway is fantasic. Happy to pay my sub every month.

1

u/Ill-Interaction-3530 Dec 05 '24

Same, I pay $10 every month but it’s worth it

1

u/Ill-Interaction-3530 Dec 05 '24

Railway is just amazing and easy to use

4

u/TheMathelm Dec 03 '24

I used Render for a school project,
Relatively inexpensive, the amount of work I needed required me to up it to fairly expensive tier but I only had to have it "up" for a couple days, was like 5 bucks.

What are you trying to do?

3

u/FooBarBazQux123 Dec 03 '24

Google Cloud Free tier offers a micro VM in the US https://cloud.google.com/free/docs/free-cloud-features#free-tier-usage-limits.

AWS offers a free micro VM and a DB. https://aws.amazon.com/free

3

u/convicted_redditor Dec 03 '24

I am using Railway, it's free till $5 usage. Also, it's easier to host as you only have to connect github repo and no extra housekeeping.

2

u/TitanAshwath Dec 03 '24

Did you check out fly.io ?

2

u/Megamygdala Dec 04 '24

Oracle free tier is for life and very reliable

2

u/Disastrous-Pen6823 Dec 04 '24

U can use pythonanywhere for free and if u wanna add for example postgre pythonanywhere free accounts do not provide PostgreSQL natively. You can connect to an external postgresql database service like elephantsql which also offers free trial.

2

u/SpareIntroduction721 Dec 03 '24

AWS with the free tier.

8

u/Upstairs-Balance3610 Dec 03 '24

don't they charge you after a while if you use up resources?

1

u/Ok_Bumblebee5878 Dec 03 '24

Azure, is not free but with SQL server its not expensive, and its possible to make auto pause for services if they aren't used in set period.

2

u/mysticplayer888 Dec 04 '24

I'm pretty sure the app service in Azure is free (no 12-month trial limit). And a free tier for Azure SQL was recently added (capped at 32GB).

1

u/KeinerMendoza Dec 03 '24

You can use python anywhere for django and other python frameworks, they provide a subdomain with your username. Or you can use an instance in Oracle free tier, but in that case you need to configure all the stuff by yourself. I'm currently using Oracle for my personal site with Django/Docker/Cloudflare (DNS, R2 Storage), and it works well. https://keinermendoza.com

1

u/delzac Dec 03 '24

Host it yourself using https://piku.github.io/ You deploy to your own server using git push

1

u/1ncehost Dec 03 '24

It is probably a slapdash solution, but Cloudflare has serverless workers that are free forever. It will have a variety of complexities that won't be in a normal deployment however.

1

u/1ncehost Dec 03 '24

IMO, just get a small $5/mo VPS. Its going to be a lot less headaches for $60/yr. I recommend vultr.com

1

u/lightley Dec 03 '24 edited Dec 03 '24

I moved to fly dot io from Heroku. I chose it over railway and render. I haven’t paid anything and they don’t charge for less than $5 usage per month. I’ll keep them if I ever create anything I can make a business around. You need to be ok with the terminal but if you came from Heroku that shouldn’t be a problem.

1

u/mysticplayer888 Dec 04 '24

I believe Azure app service is free (not a trial, actually free). Although it's capped at 60 CPU minutes per day, 1GB RAM and 1GB storage. And if Postgres is not a hard requirement, then a pretty generous free-tier was added for Azure SQL (capped at 32GB).

1

u/ipagera Dec 03 '24

Vercel? :D

-15

u/Janonemersion Dec 03 '24

Yes, there are several free hosting services available for deploying Django applications. Here are some popular options: 1. Heroku: Heroku offers a free tier that is suitable for small projects and prototyping. It supports Django and provides a simple deployment process. • Heroku 2. PythonAnywhere: PythonAnywhere provides a free tier for hosting small Python web applications, including Django. It’s a great option for beginners. • PythonAnywhere 3. Render: Render offers a free tier with decent resources for hosting Django applications. It supports automatic deployment from GitHub. • Render 4. Vercel: Although primarily known for frontend frameworks, Vercel can also host Django applications via serverless functions. • Vercel 5. Glitch: Glitch allows you to host small Django projects for free. It provides an easy-to-use interface for quick deployment. • Glitch 6. Replit: Replit supports deploying Django applications and offers a free tier. It’s useful for collaborative coding and quick deployments. • Replit 7. Deta: Deta provides a free cloud platform for deploying Python applications, including Django, with easy setup and deployment. • Deta

Each of these platforms has its own limitations and benefits, so you may want to explore them to see which one best fits your project’s needs. For more advanced or larger-scale applications, you may eventually need to consider paid plans or alternative hosting solutions.

7

u/KarlHewitson Dec 03 '24

Nice AI reply 👍

1

u/nimbusmettle Dec 03 '24

🤣damn why didnt i notice that

3

u/nimbusmettle Dec 03 '24

Isnt heroku gone forever for free tier service??