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.
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:
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With