by TomBombadildoze · 6y ago · 0 comments
From the GCS pricing page:
Network egress within Google Cloud applies when you move or copy data from one bucket in Cloud Storage to another or when another Google Cloud service accesses data in your bucket.
Within the same location (for example, US-EAST1 to US-EAST1 or EU to EU) -- Free
From the original tweet (not the linked reply): For reference most of the fees are from transferring from NA to EU and ACAP
It's costing them assloads of money because they're moving data between regions. AWS works the same way. Azure is probably also the same but their pricing page is incomprehensible so who knows.Lesson: if you're going to use data in a given location, you need to host data in the same location.
Data egress from your bucket to a non-Cloud Storage Google Cloud service is free in the following cases:
Your bucket is located in a region, the Google Cloud service is located in a multi-region, and both locations are on the same continent. For example, accessing data in a US-EAST1 bucket with a US App Engine instance. Your bucket is located in a multi-region, the Google Cloud service is located in a region, and both locations are on the same continent. For example, accessing data in an EU bucket with an EU-WEST1 GKE instance.
EDIT 2:
the cloud ai documentation suggests the correct setting is regional/regional
https://cloud.google.com/ml-engine/docs/regions
Cloud Storage You should run your AI Platform job in the same region as the Cloud Storage bucket that you're using to read and write data for the job.
You should use the Standard Storage class for any Cloud Storage buckets that you're using to read and write data for your AI Platform job.
EDIT 3:
----------- I don't think you can set a region for colab, so I am not sure you can make egress free. ----------