Category: cloud

How to create a PyDev project with DJango and Google App Engine support

Posted by – December 13, 2011

PyDev is an awesome plugin for Python development under Eclipse, with this plugin you can easily create a Django project or a Google App Engine project, but not a project which uses Django and run under Google App Engine at same time.

Here’s what I did to create a project which has support for both features:


Amazon EC2, autoscaling and Glassfish challenges

Posted by – July 9, 2011

Are you thinking about put a awesome java webapplication running on top of Glassfish application server and use the awersome Amazon Elastic Balancer? If the answer is yes, please read this article first.

At first time the autoscaling feature seens to be an awesome solution, but it may bring some problems if the website deployment isn’t properly planned.

The first and the biggest issue that I found is website update, I created a simple script that check if there’s a new version of site war file at Amazon S3 and then perform its download, if I just redeploy the war file it may crash because of the current database connections made by JPA which cause to put all website down.