If my project is using only serverless functions/applications, do I still need a VPC? In other words the project does not have any VMs.
Example - The project only uses API gateway, cloud functions, pub/sub and BigQuery.
Solved! Go to Solution.
Yes, my understanding is that you don't need to create or specify a VPC when using serverless functions.
On a related note, you can create VPC access connectors, to enable your serverless functions to connect to other resources in VPCs.
As described in this doc, you can...
...disable the creation of default networks by creating an organization policy with the compute.skipDefaultNetworkCreation
constraint. Projects that inherit this policy won't have a default network.