I have a GCE VM & GCS Storage bucket (single-region), both in us-west1. On october 9 I transferred 6GB from the VM to the bucket, and was charged “Network Inter region Data Transfer Out” (see below). The gcs endpoint used was “storage.googleapis.com”. I did not expect an inter-region data transfer fee for writing from GCE us-west1 to GCS us-west1. This is blocking a larger migration of data.
Questions
What tools can I use to test an endpoint or IP address for inter-region charges?
From my understanding and it’s not something restricted only to GCP service endpoints by default are using public routing even if it’s from a GC resource, so that outbound request will be there unless, depending on your architecture you enable private google access.
Use a Regional Endpoint is a good idea, would redirect traffic with no other hops.
Although won’t fully fulfill your desires the network topology tool from the network intelligence module in gc with the egress filter may bring you a nifty visualization of the regions interconnecting with your VM and from there take your conclusions
thanks for the help. I did a more empirical experiment on the 2 endpoints and found that https://storage.us-west1.rep.googleapis.com/ bills as “intra-zone data transfer out” and storage.googleapis.com bills as one of “inter-zone” or “inter-region” data transfer out (with a cost)
Transfer Out will be charged as the same using Private Google Access (PGA), once the Resource to be reached out is located in another Region from the Source.