Become a MacRumors Supporter for $50/year with no ads, ability to filter front page stories, and private forums.

ArtOfWarfare

macrumors G3
Original poster
Nov 26, 2007
9,671
6,212
I've never done this kind of thing before, so I'm not sure if my terminology is right, but here goes:

I have a development server running on my iMac right now that consists of Apache, MySQL, and a Python application that uses Django and Django Rest Framework.

When it's time to release the public version of this, I'm going to need a real server. If this is hugely successful and I end up with the budget for this kind of thing, I'll bring the servers in house, but initially, I figure I should rely on another service that already has all the server infrastructure and maintenance crew and whatnot set up.

Has anyone done this before? Can you either tell me exactly what I need to do or point out a tutorial that shows me exactly what I need to do?
 
When it's time to release the public version of this, I'm going to need a real server. If this is hugely successful and I end up with the budget for this kind of thing, I'll bring the servers in house, but initially, I figure I should rely on another service that already has all the server infrastructure and maintenance crew and whatnot set up.

Has anyone done this before? Can you either tell me exactly what I need to do or point out a tutorial that shows me exactly what I need to do?
There really is no point in wasting CapEx on servers if it successful, choose a cloud provider and let them deal with hardware-related costs. You move from on-prem hosting to cloud-based hosting not the other way round, unless you really have a huge need to do so ;)

Places to look would be Heroku, AWS Elastic Beanstalk, Openshift, DigitalOcean and linode among others. Here's a link to a getting started with Django on Heroku guide, however for most general hosting companies you'll get a virtual machine that you then install Django on yourself.
 
Last edited:
There really is no point in wasting CapEx on servers if it successful, choose a cloud provider and let them deal with hardware-related costs. You move from on-prem hosting to cloud-based hosting not the other way round, unless you really have a huge need to do so ;)

Yep. Don't rush into running your own servers. Buying the hardware and colocating it in a datacentre can be pretty pricey and then you need to factor in the cost of keeping spare parts as well in case you have hardware failures etc. Leave it to an existing company to handle the hardware side of things for you.

Places to look would be Heroku, AWS Elastic Beanstalk, Openshift, DigitalOcean and linode among others. Here's a link to a getting started with Django on Heroku guide, however for most general hosting companies you'll get a virtual machine that you then install Django on yourself.

As someone who has used both Linode and Digital Ocean I'd highly recommend Linode as a web host for running Django applications. They have excellent hardware, reasonable prices and decent specs for their VPS instances.

Of course with Linode and Digital Ocean you'll be in charge of system administration so make sure you know what you are doing with Linux before jumping in.

Is there any particular reason you are using MySQL? PostgreSQL is the much preferred option as a database server in the Django community for good reason. If you don't have anything keeping you on MySQL I'd make the move now before you waste time and money on your MySQL deployment.

If you must stick with MySQL then use a MySQL compatible database such as MariaDB instead. Oracle are not the most trust worthy company in the world when it comes to open source.
 
Register on MacRumors! This sidebar will go away, and you'll see fewer ads.