Copy of an App from Appspot under a different gmail account

55 views
Skip to first unread message

christos vassilopoulos

unread,
Mar 9, 2017, 8:54:19 AM3/9/17
to Google App Engine
Hi. 
We have created an app, and now we have to copy (not transfer) the app under a new gmail account owner.
We also want to change the name (and therefore the url) of the app. The app currently has a url like in this format: [appname].appspot.com

So we want to:
1. Copy and move the app under a different gmail account owner
2. Change the url (and name) to [otherappname].appspot.com

Is there a specific process through Google where we can do that? We saw that there is a process if an owner needs to be changed but just that.

Thank you.

Chris

George (Cloud Platform Support)

unread,
Mar 9, 2017, 9:53:25 AM3/9/17
to Google App Engine

Hello Christos,


There is no direct way of simply copying a whole app to a different location and IP with a single command. It has to be re-created by making use of its available programming code.


So, in reply to your question 1: the way to proceed, taking into account the above considerations:


- Create a new app in the region of your choice using the console, mark its newly created ID.

- Replace the old ID of your existing app in the app code, wherever applicable, with the new, desired app ID, then deploy it as if the old code belongs to a new app.

- Access the newly deployed app at new_location_specific_app_id.appspot.com, that now works from its new location.


In following the above steps, you may encounter issues related to the Datastore. Datastore is a multi regional resource. Still, it is  not truly global, as it remains in fact confined within a region group. One cannot change datastore location, after the initial choice, as stated in the “Google Cloud Datastore Locations” documentation page. A possible way to transfer data to the newly re-created project is by backing up in the old project and then restoring it where needed, i.e. in your newly re-created project, at the second location.


In reply to your question 2: you can choose a custom domain of your liking, to use in place of *.appspot.com, as detailed in the “Using Custom Domains and SSL” documentation page.

christos vassilopoulos

unread,
Mar 9, 2017, 3:29:12 PM3/9/17
to Google App Engine
Hi George.
Thanks for this. I will check and come back.
Have a nice day.
Reply all
Reply to author
Forward
0 new messages