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

Networking costs calculation for accessing GCS

Hello

I have setup a private service connect for google storage in one of the projects where i have GKE running. I would like to access the buckets residing in different locations. The access works fine in my case, but I m still not sure if there egress costs associated with this transfer. If yes, how is it calculated? For instance i have a bucket in mumbai that is being accessed from the US cluster, do the routing charges of 0.08$ per Gi and 0.01$ for the PSC? 

Is there a cost associated with the data transfer from a bucket to the GKE even when they are in the same region? 

Thanks in advance

0 3 3,793
3 REPLIES 3

Hi @vinivas ,


@vinivas wrote:

The access works fine in my case, but I m still not sure if there egress costs associated with this transfer. If yes, how is it calculated?


Yes, there are egress costs associated with data transfer between Cloud Storage and GKE. These costs are billed based on the amount of data transferred and the location of the source and destination.


@vinivas wrote:

For instance i have a bucket in mumbai that is being accessed from the US cluster, do the routing charges of 0.08$ per Gi and 0.01$ for the PSC? 


For your specific case, if you are accessing a bucket in Mumbai (Asia) from a GKE cluster in the US (North America), you will be charged for egress from Mumbai to the US. The costs you mentioned, 0.08$ per Gi and 0.01$ for the PSC, are for inter-region data transfer. In this case, the data transfer is inter-continental, so the costs will be higher.

Google Cloud provides a detailed pricing page for data transfer costs: https://cloud.google.com/storage/pricing#network-egress. According to this page, the cost for data transfer between Mumbai (Asia) and the US (North America) is $0.12 per GiB.


@vinivas wrote:

Is there a cost associated with the data transfer from a bucket to the GKE even when they are in the same region? 


If you are transferring data between a GCS bucket and a GKE cluster within the same region, you will not be charged for data transfer. However, you may still be charged for other operations, such as listing objects in the bucket or reading/writing data to/from the bucket.

Hi @Marvin_Lucero ,

thanks a lot for your response. It is really helpful

I have to understand here that it is impossible to avoid the inter region/inter continental data transfer costs. 

Is the case the same when connecting clusters between mumbai and US using a peered network? Do we have a egress costs for communication between the clusters in 2 different regions if the network is peered. 

Thanks 

Hi @vinivas ,

You're welcome!


@vinivas wrote:

Is the case the same when connecting clusters between mumbai and US using a peered network? Do we have a egress costs for communication between the clusters in 2 different regions if the network is peered. 


According to the pricing page, data transfer out pricing is based on the source geolocation of traffic. This means that if you are transferring data between clusters in Mumbai and the US, you will be charged for inter-region data transfer, even if the network is peered.

The cost for data transfer between Mumbai (Asia) and the US (North America) is $0.12 per GiB, as mentioned on my previous answer.