Get hands-on experience with 20+ free Google Cloud products and $300 in free credit for new customers.

How google task can connect or hit the internal ip of my machine?

I have created a google cloud task which gets the url from my program the url has internal ip and the contents of my program I want to hit an internal IP with google task the internal IP cannot be accessed without a vpn but all my macines are on same VPC network so they can commnunicate with each other. So is there a list of IP address that google task uses which i whitelist on my firewall so that it can connect to the machine or any other method

Kindly help me please.

1 1 1,577
1 REPLY 1

Hi @Robinwilliam15,

Welcome to Google Cloud Community!

As of the moment, we could only use public IP address based on this documentation on creating HTTP target tasks. Cloud Tasks handlers can now be run on any HTTP endpoint with a public IP address, such as Cloud Functions, Cloud Run, GKE, Compute Engine, or even an on-prem web server.

There are feature requests already raised for this feature. You may check the links below and either click on +1 or add a comment to be able to raise this as a needed feature:

Hope this helps.

Top Labels in this Space