The Network part of the yaml is optional and should be use only if you have
one setup, other than that it is not needed.
Could you try remove it, and deploy to see if it'll work, make sure the
yaml formatting is correct, as this might have been the original
issue here.
On Monday, March 23, 2020
Thank you so much for your help!
But I still don't know how to find the EXISTING_GCE_INSTANCE_NAME ?
Where can I find this information?
I tried the project name and the sql instance name !
And of course, it's not working
Sarah
Le ven. 20 mars 2020 à 14:15, 'Pierre-Yves (Google Cloud Support)'
Hi Sarah,
Under the App Engine flex environment, the app is served by underlying
Compute Engine (GCE) instances already by default. You can read more about
this here [1]. There is no need to create new ones. When using the “gcloud
compute instances add-tags” command, the ‘instance-name’ should
Hello,
I can't create that tag and still don't know why ?
C:\someproject>*gcloud compute instances add-tags aef-instance --zone
europe-west1-b --tags mynetwork*
ERROR: (gcloud.compute.instances.add-tags) Could not fetch resource:
- *The resource
As previously mentioned, the "aef-instance" tag was probably not added
prior to being referenced in the "app.yaml" file. Here is the documentation
[1] on how to properly set the network settings in the configuration file,
with an explanation on the "instance_tag" and "name" option. Here is how
Hi,
You need to have added the tags before you can use them in your app.yaml
file. Refer to this
https://cloud.google.com/vpc/docs/add-remove-network-tags you can create
the tags via the console or via
gcloud command as follows
gcloud compute instances add-tags [INSTANCE-NAME] --zone [ZONE]
Hello,
Thank you, you're right for the identation.
But now I'm getting another error about the network.
At this line in app.yaml : "name: mynetwork "
Here is the error message:
Finished Step #1
PUSH
DONE
The error indicates your yaml file is not properly formatted.
Try checking your indentation somewhere. Maybe something is not well
aligned or given more spacing somewhere.
Generally it is two(2) spacing something of the sort. Let me know if the
error still persists. For instance take a look at
Hello,
This doesn't work. I don't know what to put there on the instance_tag.
And I have read so many times the Google documentation about Network
settings.
C:\Users\someproject>gcloud app deploy
ERROR: (gcloud.app.deploy) An error occurred while parsing file:
[C:\Users\someproject\app.yaml]
*instane_tag* can be anything of your choice. you can use for example
"aef-instance". this tag is assigned to each instance of the service upon
its creation.
The network *name *has to be the short name not the resource path (for
example, *mynetwork* rather than
I already tried with adding this to my app.yaml file but it's not working.
I thing I don't have the right values for the TAG_NAME and the NETWORK_NAME.
Do you know what value should I put there ?
Thanks in advance
network:
instance_tag: TAG_NAME
name: NETWORK_NAME
subnetwork_name:
Hello Ben,
This is usually indicative of a situation characterized by a missing
default network. Your default network could have been deleted at a certain
moment in time. Recreating the default network should address the issue, or
specifying your actual network in app.yaml:
*network:*
*
12 matches
Mail list logo