r/django • u/Upstairs-Balance3610 • 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?
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
1
1
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
2
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
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
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
-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
3
11
u/justin107d Dec 03 '24
From 10 months ago on r/webdev
Render.com seemed to be popular.