(gcloud.preview.app.deploy) Error Response: [13] Managed VMs can not be hosted in the application's region
Asked Answered
E

1

8

I have followed the tutorial https://cloud.google.com/nodejs/getting-started/hello-world (deploying to Google Cloud Platform hello world application on node.js) and after last command:

$ gcloud preview app deploy app.yaml --promote

I get:

Copying files to Google Cloud Storage... Synchronizing files to [gs://staging.first-server-1117.appspot.com/]. Updating module [default]...failed. ERROR: (gcloud.preview.app.deploy) Error Response: [13] Managed VMs can not be hosted in the application's region. (e~) Version: 20151103t135918.388305842753805715

It happens even with unselected timezone.

Why it can happens? Or how it can be fixed?

Thanks.

Extemporize answered 3/11, 2015 at 12:11 Comment(2)
Timezone? I assume you created your project in the EU zone, which currently does not support managed VMs "While in Beta, United States only. European Union-hosted applications should not deploy Managed VM modules." (cloud.google.com/appengine/docs/managed-vms). Create another project in the US Zone.Wiseacre
Thanks a lot. It solve problem. I try change timezone in configuration after calling 'gcloud init'. But it didn`t work. New project in US zone is the solution.Extemporize
W
11

The project was created in the EU zone, which currently does not support managed VMs

While in Beta, United States only. European Union-hosted applications should not deploy Managed VM modules. (source: managed vms documenation)

The solution is to create a new project in a US Zone. Make sure to expand the advanced options during project creation, see the following screenshot:

New Project screen

Wiseacre answered 4/11, 2015 at 11:55 Comment(2)
Is it possible to move an existing project from one zone to another?Seigler
@mjs, currently not possibleHowerton

© 2022 - 2024 — McMap. All rights reserved.