Convert a python program to work on the cloud Google app engine or Amazon EC2

Posted on 2012-09-12
Last Modified: 2014-11-12
I have a reasonably simple program I have written in python on eclipse that I am looking to move over to amazon ec2 or google app engine as a learning exercise.  it uses the python imaging library to apply filters e.g. sepia & negative, to jpg,bmp and png image files.

My first thoughts were that it would be easiest to move it over on to google app engine, however, the tutorial books I have looked at on google app engine has code that only works with a python 2.5 runtime environment.  I am using a python 2.7 runtime environment as my program is written in python 2.7.  So the tutorial code from these books does not work.  This is all new to me and I am struggling to find accessible guides on how to convert my python program to work with the google app engine python 2.7 runtime environment.  Can anyone suggest suitable guides/ places to look?

I am thinking that perhaps I may not be able to get this to work on google app engine.  Alternatively, how could I go about migrating such a program so that it would be served from an Amazon EC2 cloud?  Are there any accessible guides that are particularly recommended?

Many thanks
Question by:conradblue
    LVL 32

    Accepted Solution

    If you have it running on your PC, then using Amazon EC2 is really simple.
    Consider EC2 as just a smart way to run standard computers.
    Therefore, as a learning exercise, do the following:
    * Signup to AWS
    * Open the AWS console
    * Start an instance of your choice (windows or linux). Use the AWS public images as base.
    * Install Python and everything that you need to execute.
    * Install your code
    * Have a beer and rejoice

    When you are happy with the learning exercise, you may also want to look at the AWS Elastic BeanStalk product.

    Author Comment

    Thanks shalomc!

    I will look to find out about how to implement this on Amazon.  Reckon I will have to learn some javascript

    Featured Post

    How to run any project with ease

    Manage projects of all sizes how you want. Great for personal to-do lists, project milestones, team priorities and launch plans.
    - Combine task lists, docs, spreadsheets, and chat in one
    - View and edit from mobile/offline
    - Cut down on emails

    Join & Write a Comment

    Suggested Solutions

    Title # Comments Views Activity
    scoresClump  challenge 31 88
    endX challenge 2 33
    stringclean challenge 26 43
    countHi2 challenge 7 32
    A short article about a problem I had getting the GPS LocationListener working.
    Whether you’re a college noob or a soon-to-be pro, these tips are sure to help you in your journey to becoming a programming ninja and stand out from the crowd.
    The viewer will learn how to use the return statement in functions in C++. The video will also teach the user how to pass data to a function and have the function return data back for further processing.
    In this seventh video of the Xpdf series, we discuss and demonstrate the PDFfonts utility, which lists all the fonts used in a PDF file. It does this via a command line interface, making it suitable for use in programs, scripts, batch files — any pl…

    745 members asked questions and received personalized solutions in the past 7 days.

    Join the community of 500,000 technology professionals and ask your questions.

    Join & Ask a Question

    Need Help in Real-Time?

    Connect with top rated Experts

    17 Experts available now in Live!

    Get 1:1 Help Now