Kin
Kin

Reputation: 1397

Is there EC2 Django Stack with Automatic git or hg deployment

I'm redoing a badly built web application that my company uses in python/django (after deciding it was the best tool for the job).

I don't have much time to spend on development, which means I have even less time to get it deployed, and since its resource intensive and will be used by a lot of people concurrently, I'd like to be able to take advantage of all the tools that AWS offers, such as RDS, ElastiCache, CloudWatch, and especially any auto scaling tools.

I've seen Heroku and liked it, but I would prefer to use AWS, and the price seems quite high.

I don't mind getting my hands dirty as long as it doesn't take half the development time setting up deployment.

I'm looking for something we can use, whether it be a service or AMI so that we can deploy automatically from our repository, without spending days configuring it and figuring out how to get it working, and without drastically increasing the price to host our app.

Upvotes: 1

Views: 908

Answers (3)

Vlad
Vlad

Reputation: 201

To automate the deployment you can use a 3rd party tool like capistrano or http://nudow.com. Capistrano will do a lot of the deployment but you have to host it yourself and you have to do the deployment in a specific way for it to work correctly (such as using the same keys everywhere, etc). Nudow.com is easier to setup and is hosted. It will deploy to your existing infrastructure and will do stuff like versioning. Also it has a lot of tools to do things like minimizing javascript/css and uploading to cloudfront.

Upvotes: 0

alanjds
alanjds

Reputation: 4130

Heroku runs on AWS: http://devcenter.heroku.com/articles/external-services

So, you can use AWS services from Heroku as any EC2 instance. If really wanting it, set Heroku for hard-to-setup services and some little AWS EC2 instance for I-do-myself services.

Upvotes: 0

cloudartisan
cloudartisan

Reputation: 656

As you want something quick and simple, maybe consider RightScale's ServerTemplates to get you up and running quickly. RightScale have a free developer account. There are a few Django ServerTemplates and they are all priced for "All Users", so they'll work with the free developer account.

That will get you a base application stack quickly.

Next, I'd look into using fabric (similar to capistrano) and/or github post-commit hooks to automate deployment of your application.

Once you're happy with that and have more time on your hands you could look at adding all the other stuff you want to use (ElastiCache, etc).

Upvotes: 1

Related Questions