My use case is mentioned below
-
From within the Cloud Run service i need to make external 3rd API calls to public API vendors that don’t need whitelisting.
-
At the same time i have 1 specific paid 3rd party vendor that needs to whitelist my external Cloud Run static IP.
In summary i need to satisfy both the above conditions.
I configured static egress IP by following the official documentation page by using a serverless VPC connector (not direct VPC egress which is in Preview) and below is the behaviour i am observing. I don’t see any logs in Cloud NAT (not sure if this requires some logs to be enabled)
- With “only requests to private IPs” option enabled all external API calls are working but IP whitelisting to my 3rd party API vendor doesn’t work.
- With the 2nd option related to “allow VPC traffic” all external API calls including the specific 3rd party API that needs whitelisting are failing. I need to check if there is a route to the internet which i am assuming should exist.
Sometimes I feel Google Cloud Platform is overly complicated to work with ![]()


