Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

(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.

like image 736
MykolaSharhan Avatar asked Nov 03 '15 12:11

MykolaSharhan


Video Answer


1 Answers

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

like image 86
konqi Avatar answered Oct 16 '22 20:10

konqi