Note: You can specify that your new application should reside in the European Union, rather than the United States. Hosting applications in the European Union is especially useful if your application's users are closer to Europe than to the United States. There is less network latency and the End User Content will be stored at rest in the European Union. You must specify this location when you register the application; you cannot change it later. Click Show Advanced Options in the Create Project section to select a location option, either United States or European Union.
To upload your application:
- Sign in to App Engine using your Google account. If you do not have a Google account, you can create a Google account with an email address and password.
- If you haven't already done so, create a project for your App Engine app as follows:
- Visit the Google Developers Console and click Create Project.
- Supply the desired project name in the New Project form. It doesn't have to match your app name, but using the same name as your app might make administration easier.
- Accept the generated project ID or supply your own ID. This project ID is used as the App Engine application ID. Note that this ID can only be used once: if you subsequently delete your project, you won't be able to re-use the ID in a new project.
- If you have an App Engine Premier account, you can specify that your new application should reside in the European Union rather than the United States. This is especially useful if your application's users are closer to Europe than to the United States. There is less network latency and the End User Content will be stored at rest in the European Union. You must specify this location when you register the application; you cannot change it later. To do this, click Show advanced options, then select EU data center from the drop down menu.
- Click Create to create your project and project ID.
- Note the application ID (project ID) you created above.
- Upload your finished application to Google App Engine by invoking the following command:
appcfg.py -A PROJECT_ID update guestbook/
Or click Deploy in the Google App Engine Launcher and enter your Google username and password at the prompts.
- The Datastore Indexes
may take some time to generate before your application is available. You will receive a
NeedIndexErrorwhen accessing your app if the indexes are still in the process of being generated. This is a transient error for the example, so try a little later if at first you receive this exception.
- Your app is now deployed and ready for users!
You have completed this tutorial.
The full URL for your application is
Optionally, you can instead purchase and use a top-level domain name for your app, or use one that you
have already registered. For more information on the subjects covered here, see the rest of
the App Engine documentation.
If you work with the Git version control system, you can create a remote repository in Google's cloud, and configure your development environment to deploy the latest version of your code each time you push it to that repository. See Using Git to Push and Deploy.