Launching Boto on the Google App Engine (GAE)

I'm new to Python and was hoping for help on how to "import boto.ec2" into the GAE Python application for managing Amazon EC2 instances. I use PyDev / Eclipse and installed boto on my Mac, but using just โ€œimport botoโ€ does not work (I get :: There is no module named boto.ec2). I read that boto is supported by GAE, but I could not find instructions anywhere. Thanks!

+6
source share
2 answers

It looks like you did not copy the boto code to the root directory of your application directory.

Boto works with GAE, but Google does not provide you with the code. After you copy it to the root of your GAE directory, the dev server should work, and after the next boot it will work on the prod server as well.

+6
source

A symbolic link should be enough. at the root of your project:

ln -s /path/to/boto/boto boto 

The Google app engine will download it during the deployment of your application.

+3
source

All Articles