gae app moving to eu-datacenter or re-opening

假如想象 提交于 2019-12-12 03:36:32

问题


I had an php app in GAE that i made. At the point only usa was available. (no selection at all)

now i have other app for the same sql-data in eu datacenter. I want to join the 2 apps in eu and using the same cloud-sql instance. Didn't found a way to move app from USA to EU so i deleted the app. 2 weeks have passed and i cannot create new app in eu region with the same id (same address) wtf? I need the same address that was with the old app! I don't mind that the end part of the url is .appspot.com i won't be using my own domain at this point.


回答1:


You can't re-use the same app ID. Ever. From section 2c in https://cloud.google.com/appengine/docs/python/gettingstartedpython27/uploading:

Also discussed here: How can I reuse an application id on Google App Engine?.

You also can't change an application from US to EU after app registration, see highlighted note right under the above-mentioned 2c paragraph:

So you can only:

  • get a new app ID (in EU zone)
  • update the old app code with the new app ID (where applicable) and deploy it as the new app code
  • access the new app at new_app_id.appspot.com (from the EU location)


来源:https://stackoverflow.com/questions/31871914/gae-app-moving-to-eu-datacenter-or-re-opening

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!