Can someone give specific steps how to implement hosting a Django based website by using Amazon EC2 hosting service?

Is that possible?

My website source code can be found here

I goolged and found this article

But before doing anything I just want to get some basic ideas about Amazon EC2 hosting.


What questions do you have which are not answered if you read the article you found?

Written by dar

After reading that article I feel EC2 is not a simple hosting like FTP my website to some folder, I have to follow lots of steps make it work. Just want to know from high level why i need to do those steps not simply upload my website and database to hosting machine.

Written by CodeYun

Django code will NEVER be "just simply upload my website". It doesn't work like that. Any host at all will require extensive setup and configuration. Django is not PHP, sorry.

Written by Paul McMillan

Accepted Answer

It certainly is possible, but it sounds like EC2 is not the best option for you. For examples of people doing it, google for "django ec2" and check out the first and second links. links like this or this (edited because this question is now the top google result for that query!)

In a very oversimplified sense, EC2 is just a server you can rent by the hour. You can have it run windows or linux, and then install python and django like you normally would. In fact there is probably an image that has django preconfigured already. What stage of your project are you at? Just researching, or have you gotten stuck on a particular problem with either django or ec2?

UPDATE: Ok, I think what you are confused about is that there are all different types of hosting out there. At one extreme, you can pay for your very own physical server, install your own operating system (like windows or linux), install your own python, you own web server like apache or IIS, your own django libraries, your own database (like mysql) etc, and then upload your web site to that. At the other extreme you can pay for an account on a shared hosting service, where someone else has done all the setup of the OS, the python, the web server, etc, and all you need to do is upload your web site code. EC2 is a lot closer to the first extreme, and is probably overkill for you. I think in your case you should be looking for a more managed solution.
I would check out this web page, which lists a bunch of different django hosting companies: Django hosting

Written by Peter Recore
This page was build to provide you fast access to the question and the direct accepted answer.
The content is written by members of the community.
It is licensed under cc-wiki