MykolaSharhan
MykolaSharhan

Reputation: 406

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

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.

Upvotes: 8

Views: 2686

Answers (1)

konqi
konqi

Reputation: 5217

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

Upvotes: 11

Related Questions