Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Multi-domain deployment of Google App Engine (GAE) apps

We would like to develop and sell custom commercial GAE applications. I would like information on the deployment of GAE applications on arbitrary Google Apps domains (i.e. not appspot).

Suppose our company is abc.com and we are selling app to def.com and xyz.com. What are the steps to deploy our app on our customer's domain?

When an app is deployed on many domains:

  • Is the code duplicated or shared?
  • Is the datastore definition duplicated or shared (or more precisly the kinds)?
  • Any domain attribute add to the entity?
like image 998
Gig68 Avatar asked Oct 20 '09 04:10

Gig68


People also ask

How many App Engine applications can be created in a project?

Each Cloud Platform project can contain one App Engine application.

How many app engines are in a project in GCP?

If you omit the version from the URL you are getting the default version that you have chosen from the dashboard. So in theory you can have up to 25 different application running under the same project, but they will share the same datastore.

How do I add my own domain to Google App Engine?

In the Google Cloud console, go to the Custom Domains tab of the App Engine Settings page. Click Add a custom domain. If your domain is already verified, the domain appears in the Select the domain you want to use section. Select the domain from the drop-down menu and click Continue.


1 Answers

You have three options at the moment, when it comes to a 'multi-tenant' app such as you describe:

  1. You can have a single app that your customers add to their domains. Your app will have a single datastore, but you can use the Host header to determine which customer is accessing the app, and segregate the datastore entries based on that.
    • Easy to deploy and upgrade
    • Easy for customers to install
    • Users have to have Google accounts, not Apps accounts, to log in.
  2. You can deploy a fresh app instance for each customer.
    • Harder to deploy and upgrade
    • More customer involvement required to install
    • Provides firm separation of data
    • Users can log in with their Apps credentials
  3. You can work with Google to create a new Apps Marketplace app
    • All the benefits of point 1 and 2, above
    • Requires Google involvement
    • No certain release date yet
like image 99
Nick Johnson Avatar answered Sep 20 '22 13:09

Nick Johnson