I am trying to deploy my Node js application which will connect to CloudSQL database which is in our VPC network and have only private ip , but I am noticing that whenever I try to launch Appengine it gets launch on the default network with external ip , I want deploy my appengine on my vpc network so that I can connect to my CloudSQL database instance directly.
vpc name :- xyz and subnet name :- testing
I tried to add this on my yaml file
I have give all the permission to service account but still not able to launch.
please help I am stuck.
Hi @nishitkumar,
Welcome to the Google Cloud Community!
Try to perform the following troubleshooting options:
In terms of your Service Account not having the compute.firewalls.list permission, follow the troubleshoot options below:
let me know if it helped, thanks!
@Marramirez for your second step of suggestion does that applies to app engine flex , do we need to create vpc access connector for appengine flex to access vpc and resources or is it just for appengine standard.
Hi, for the App Engine Flexible Environment, you don't need to create VPC connectors. The App Engine instances in Flex already run inside the VPC network.