English | Site Directory

Deploying your Google App Engine Application on your Google Apps Domain

Introduction

With Google App Engine, you can use Google Apps to:

  1. deploy your application to any domain you own, or
  2. restrict your application to members of your domain

Below, we outline the steps required to perform either of these tasks.

1. Deploying your application to a domain of your choice

To begin, you'll need to sign up for Google Apps. If you don't already own your domain, you can use Google Apps to register it.

To deploy your application to your Google Apps domain, click the 'Versions' link on the left hand navigation menu of your application's dashboard. Click the 'Add Domain...' button in the light blue box at the bottom of the screen:


On the next screen, enter the domain on which you wish to deploy your app and click 'Add Domain...':


Then, read and accept the terms of service, enter the subdomain to which you want to deploy the application, and click 'Activate this Service':


After completing these steps, when you deploy your application it will be published on your Google Apps domain.

2. Restrict your application to members of your domain

The option for restricting an application's authentication settings can only be set at app creation time, so your first step is to create a new application:


You'll need to specify the Application Identifier (a unique ID you'll include in your app.yaml configuration file) and the Application Title.

By default, Google App Engine applications use Google Accounts for authentication, which means that if your application uses authentication, anyone with a valid Google Account will be able to sign in. This does not include Google Apps accounts.

If you'd like to restrict your application to members of your Google Apps domain (i.e. only users with accounts on mydomain.com), click on the 'Edit' button at the bottom of the orange Authentication Options box.


Select the radio button next to 'Restricted to the following Google Apps domain:' and enter your Google Apps domain (e.g. mydomain.com) in the text box and click 'Save'. You will be taken to a confirmation screen indicating your application has been successfully registered.