login to http://appspot.com using your Google ID.
in Google App Engine welcome screen, create an application using Create Application option.
in project context menu, choose→ In App Engine dialog, enter the Application ID field with Application ID created in previous step. Start with 1 for Version number and increment it whenever there is a major release of the app. For multiple deploy, you may continue with the same version number.
in Project Explorer view, select the project and click Google Drop Down Menu icon and choose Deploy to App Engine option. This will compile the project, upload the files and deploy the app to App Engine. App may be accessed through URL http://your_app_id.appspot.com/
Rollback the broken deployment
One of potential problems you may encounter is broken deployment. In case of drop in connection or termination by the user, then subsequent tries will throw an error – Another transaction by user User is already in progress for this app and major version. That user can undo the transaction with appcfg.py’s “rollback” command.
appcfg.shwhich comes with App Engine SDK. Location of
appcfg.shdepends upon the method you chose to install the SDK.
appcfg.shwill be in its bin dir. Search these two locations for SDK and appcfg.sh.
$ find $HOME/.eclipse -name "appcfg.sh"
$ find /orange/apps/google/gae -name "appcfg.sh" ### GAE SDK archive is install at /orange/apps/google/gae and the above cmd finds the path to appcfg.sh and outputs something like /orange/apps/google/gae/appengine-java-sdk-1.7.5/bin/appcfg.sh
$ $SDK_PATH/bin/appcfg.sh -A yourAppId -s appengine.google.com rollback $WORKSPACE_PATH/fins/war
$ $SDK_PATH/bin/appcfg.sh -A yourAppId -s appengine.google.com rollback /tmp/appcfg8593320566371318406.tmp
/tmp, something like
/tmp/appcfg8593320566371318406.tmpand you may use this directory in rollback command.
App Engine Features – For features and quota details refer What Is Google App Engine