I've a log aggregator service running on a cluster in Google Cloud. Applications both from inside and outside the Google cloud platform are supposed to send data to this service. Due to the design, there is a constraint that all internal/external apps can use only the same hostname/ip to communicate with the service.
Now, if I use external IP as the advertised hostname, the system works fine but I'll be charged by Google for sending the data from Apps in internal network to the service. I want to avoid incurring this cost.
On the other hand, AWS provides a public hostname which resolves to public ip from outside the network but resolves to internal ip from inside the network. This way I could have used public hostname for the service without incurring cost for internal data transfer. Is there a way to achieve the same thing in Google cloud?
Aucun commentaire:
Enregistrer un commentaire