Hi, 

Before we dive into your question, I believe it would be worth it for you 
to understand how applications are structured 
<https://cloud.google.com/appengine/docs/flexible/nodejs/an-overview-of-app-engine#components_of_an_application>as
 
well as how the requests are routed 
<https://cloud.google.com/appengine/docs/flexible/python/how-requests-are-routed>
 
on Google App Engine Flex. 

If you wish to have different URL's for each client of yours, you may 
consider incorporating a dispatch.yaml 
<https://cloud.google.com/appengine/docs/flexible/python/reference/dispatch-yaml>
 
file that routes specific URL patterns according to your own rules. In your 
specific use case, you may want to do this at the application layer 
<https://cloud.google.com/appengine/docs/images/modules_hierarchy.svg>, 
using the same dispatch.yaml file mentioned above. 

The aim is to route each request through the dispatch file based on the URL 
supplied as shown in the last example here 
<https://cloud.google.com/appengine/docs/flexible/python/reference/dispatch-yaml#example>.
 
This in return will allow you to have distinguishable URL's for the 
different or a specific service that you set.

*ie: customer1.myapp.com and customer2.myapp.com routed to a specific 
service.*

As for the Cloud SQL instance/database connectivity, as all clients are 
using the same codebase, you would need to manage the connections 
programmatically. 

-- 
You received this message because you are subscribed to the Google Groups 
"Google App Engine" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to google-appengine+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/google-appengine/67706fbe-6edb-4eb5-87be-c5b54614d945%40googlegroups.com.
  • [google-appe... Mapperkids Li
    • [google... 'Harmit Rishi (Cloud Platform Support)' via Google App Engine

Reply via email to