On App Engine, there is no way to restrict specific Instance to particular Users. Instances are spun up based on configurations on the Application's App.yaml file[1][2]. Also, depending on the Scaling Options, it is possible to scale App Engine Standard applications[3] to Zero Instances whenever there are no incoming requests to be handled. I believe this would simulate your design to scale to zero whenever your user disconnects, however, the scaling would only scale to zero based on availability(or unavailability) of incoming requests, rather than the connection or disconnection from a specific User.
Also, App Engine applications can connect with CloudSQL Instances(if you plan to have a relational DB) and you can choose to create databases within a single Cloud SQL Instance, however, these Databases could not be shut down in response to connection or disconnection from a specific User[4]. [1]https://cloud.google.com/appengine/docs/standard/python/config/appref [2]https://cloud.google.com/appengine/docs/flexible/python/configuring-your-app-with-app-yaml [3]https://cloud.google.com/appengine/docs/the-appengine-environments#comparing_high-level_features [4]https://cloud.google.com/sql/docs/mysql/start-stop-restart-instance#stop -- 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/a33098d5-ac21-4936-935c-2ed28244e9cf%40googlegroups.com.