views:

1183

answers:

2

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.

+3  A: 

It certainly is possible. For example, google for "django ec2" and check out the first and second links.

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

Peter Recore
As an added point I would recommend they go with a managed solution if they don't know how to manage a server. Chances are they will spend less time pulling their hair out and the web will enjoy not having another bot in the farm.
envalid
I am a newbie in terms of django and python. I want to try to run an open source website on EC2 just because I believe EC2 is cheapest one I can use. I can run my django website on my local machine. Just want to publish it to Internet.
CodeYun
EC2 is far from the cheapest you can use. If you NEED a dedicated VPS, try slicehost.com. Otherwise, look at one of the hosted solutions.
Paul McMillan
+1  A: 

A good step by step guide can be found here: http://uswaretech.com/blog/2009/03/django-with-mysql-and-apache-on-ec2/

Lakshman Prasad