3 Cheapest Web Hosting Solutions for Django

Posted by Chris Bartos on June 21, 2017


NOTE: In the first version of this article, one of the 3 options I used Digital Ocean. People have made the point that it’s technically a VPS. Therefore, it doesn’t really make sense to add it here. However, Digital Ocean DOES have a one-click install for Django apps which make it a little bit easier than traditional VPS, it’s still not for beginners. I’m trying to make this easy for beginners. There will be plenty of articles about Digital Ocean and other VPSes if you are interested. This article, however, is not that.


“Need advice on a good Django host, or if I should build my own hosting box on a VPS?”

If you are just starting out, you should definitely use a good Django host instead of a VPS and if you want to learn more about the “why”, definitely click the button at the end of this post to keep updated on the why and a lot more about Django.

I’ll have a post coming up that will talk a little bit about how do you know you’re ready to use a VPS and a little bit about how to set one up. But without further ado, I assume that you’re just beginning with hosting and Django development. So, if that’s the case you want an affordable hosting platform for your Django development.

First, what makes a cheap hosting platform?

What makes a cheap web hosting solution?

If you want a cheap hosting platform, you definitely want to get your money’s worth. So, you need to look at these three things. This is not an exhaustive list. I could go on to things like “excellent support” or “ease of use”. But, I’m not going to go that in depth here. Here are the 3 bare minimum things you should look for when deciding on a hosting solution.

  1. Resources (cpus, ram, bandwidth, etc.)
  2. Number of Apps
  3. Cheap Database access (or, can I get a database without paying a ton of money?)

So, using these three things, let’s see how the top three Django hosting solutions compare. Are you ready?

Before I begin, I’m going to compare the basic monthly subscription with lowest price. Or, the “Starter” or “Basic” package.

Webfaction

Resources?

For a price of $10 / month, you will get the following resources:

  1. 1 GB RAM
  2. Shared multi-core CPU
  3. 100 GB SSD Disk
  4. 1TB bandwidth

How many apps can you create?

As many as you want. Also, for $5 extra dollars, you get 2x the RAM and 5x the space of Digital Ocean.

Price of Database Access?

As many as you want as long as you don’t go over your RAM and space.

Heroku

Resources?

For a price of $7 / month, you will get the following resources:

  1. 512 MB RAM
  2. 1 “Dyno”
  3. Always awake

How many apps can you create?

The short answer is: up to 10. You get 10 process types. A process type can be a “worker”, “web”, “urgentworker”, or a “clock”. A web app would be a “web” but you can also have workers which could run some jobs or harvest data from a place on the internet.

Price of Database Access?

You get 10K rows for free. Then, you get 10M rows for $9.

PythonAnywhere

Resources?

For $5 / month you get the following resources:

  1. RAM – Depends
  2. Processor – Depends (up to 2,000 CPU seconds per day)
  3. 1 GB disk space
  4. Bandwidth – low

How many apps can you create?

You can create 1 application.

Price of Database Access?

Included, although you only get 1 GB of disk space. So, I guess use it wisely.

Winner?

Each of these hosting solutions are fine for beginners. However, if you’re looking for the ability to host a LOT of apps with lots of bandwidth, lots of space and lots of RAM to run your apps, you might want to go with something like Heroku or WebFaction. If you just want to test some code out and get it to run, I’d go with PythonAnywhere (the FREE version).

There is a fair share of people who SWEARS by WebFaction and then there are reviews that says it’s awful. But, you get that with all popular hosting platforms. Heroku is also great for testing apps. But, if you want a production version of your app, you’ll be paying an arm and a leg if your app gets any substantial traffic.

So, what should you do? What hosting platform should you pick?

What should I do?

  1. If you’re a beginner, I recommend picking one of the above options. If you’re more advanced or know a little Linux, you can try your hand at VPS host.
  2. Just pick ONE thing. If you never hosted an app on the internet before, try out PythonAnywhere (the FREE version) and get it to work.
  3. If you have multiple apps that don’t get a lot of traffic, get yourself a multiple app host like Heroku or WebFaction.
  4. If you have multiple apps and you are getting A TON of traffic, go with AWS / EC2 or Google App Engine.

And if you have NO idea what I’m referring to with these different solutions, click the button below to get your name and email on my mailing list so I can send you tutorials that show you exactly how to work with these hosting solutions and many more!




Need help with Django REST Framework? Django REST Framework documentation a little confusing?

Join me for my FREE Django REST Framework email course:

Django REST Framework Email Course

You'll get 1 lesson everyday for 7 days.
You'll learn:

  • Serializers
  • Request Methods
  • Endpoints
  • Basic Authentication
  • JQuery Integration
  • AngularJS Integration
Powered by ConvertKit


Similar Posts

Should you use VPS or Shared Hosted Solution?