I have an instance of NSQ running within a zone in google compute engine as part of a larger application.
As part of an automated testing effort, I'd like the ability to push events to this queue in our test environments. I would rather not expose this instance to the internet, and instead, create a google cloud function that acts as a facade. The cloud function can be installed at the project level, which is great since I don't want production to have this capability.
It seems that cloud functions are created at the region level and do not have access to zone local IP addresses. As a result, I can't figure out a way to post events to NSQ without exposing it to the public internet.
Is it possible to have a google cloud function communicate down to an instance running on gce without exposing that instance to the public internet?