Get hands-on experience with 20+ free Google Cloud products and $300 in free credit for new customers.

Unable to launch node application to app engine

I wanted to deploy an dockerized Node application via Google App Engine to my vpc network named 'xyz' but it is showing me an error that 'xyz' does not exist but it is on my network my app.yaml is attached below

runtime: custom
env: flex

network:
name: xyz
subnetwork_name: testing

resources:
cpu: 0.4
memory_gb: 0.9
disk_size_gb: 10

automatic_scaling:
min_num_instances: 1
max_num_instances: 3
cool_down_period_sec: 180
cpu_utilization:
target_utilization: 0.3
target_concurrent_requests: 100

beta_settings:
cloud_sql_instances: lb-nic-rob:us-central1:appengine-testingb

The screenshot of error is attached below: Error Screenshot

Kindly tell me how to fix this issue and is there any changes required in the app.yaml file

Unable to launch my node application to app engine from yaml file.

Robinwilliam15_0-1683544179954.png

 

0 1 162
1 REPLY 1

Hi @Robinwilliam15 ,

Welcome to the Google Cloud Community!

Try to perform the following troubleshooting options:

  1. You need to add tags before you can use them in your app.yaml file. See documentation here
  2. Check your CPU in resources. For the number of cores, it should be one, an even number between 2 and 32, or a multiple of 4 between 32 and 80. See documentation here.
  3. Check your configuration, especially with the VPC network configuration.
  4. Check your app.yaml configuration file. Starting with Node.js version 18, you must specify the version of the operating system. Read more about app.yaml configuration in this documentation.
  5. Check if line 22 should be indented under beta_settings.
  6. You can also get in touch with Google Cloud Support if the above options don't work.

let me know if it helped, thanks!