Context:
Cloud Functions requires Serverless VPC access to connect to a VPC private IP address.
A key item to understand is that Private (RFC1918) IP addresses are private. RFC1918 addresses do not route outside their.network. The same address can exist in multiple.networks and VPCs. You must set up a gateway/proxy/tunnel/connector to access a private IP address from another.network.
Google Cloud Functions Connecting to a VPC.network
Why is it that it works without a VPC for App Engine but a VPC is required for cloud functions
Which App Engine works (Standard or Flexible)?
App Engine Standard also requires Serverless VPC access to connect to a VPC private IP address. link
For App Engine Flexible, your app is actually deployed on a VM within the VPC. link
The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.