GCP Storage - Archival and CDN Interconnect egress pricing.
GCP's archival storage is a decent price for some stuff I'd like to store at $0.0012/GB/month. There are files I don't actually expect to need to retrieve (other backups in place first) but if it came to it I'd do it.
In this example I will be storing 1400GB, and I am in Europe (UK).
Intended GCP Storage Region: Belgium(europe-west1) or Netherlands(europe-west4)
GCP Charge $0.05/GB for retrieval from archival storage: $70
GCP Charge $0.11/GB for network egress to "worldwide destinations": $154
Total Cost: $224
Source: https://cloud.google.com/storage/pricing
Google, however, have a "CDN Interconnect" program which is linked up with CF's bandwdith alliance as far as I can tell here: https://cloud.google.com/network-connectivity/docs/cdn-interconnect
If your CDN provider is already part of the program, you don't have to do anything. Traffic from supported Google Cloud locations to your CDN provider automatically takes advantage of the direct connection and reduced pricing.In this case they note EU egress should be $0.05/GB so my total would drop to around $140. Basically my question is; should setting up something with CF Transform rules, like Backblaze's guide for "Free image hosting" (https://www.backblaze.com/blog/free-image-hosting-with-cloudflare-transform-rules-and-backblaze-b2/) result in this halving of total egress cost?
2 Replies
Basically my question is; should setting up something with CF Transform rules, like Backblaze's guide for "Free image hosting" (https://www.backblaze.com/blog/free-image-hosting-with-cloudflare-transform-rules-and-backblaze-b2/) result in this halving of total egress cost?It doesn't have anything to do with transform rules if that's your question. It has to do with gcp understanding the traffic is coming from Cloudflare, part of that list.
Google works with approved CDN partners in supported locations to allowlist provider IP addresses.I would be careful of Cloudflare's own cdn specific terms though https://www.cloudflare.com/service-specific-terms-application-services/#content-delivery-network-terms
Cloudflare’s content delivery network (the “CDN”) Service can be used to cache and serve web pages and websites. Unless you are an Enterprise customer, Cloudflare offers specific Paid Services (e.g., the Developer Platform, Images, and Stream) that you must use in order to serve video and other large files via the CDN. Cloudflare reserves the right to disable or limit your access to or use of the CDN, or to limit your End Users’ access to certain of your resources through the CDN, if you use or are suspected of using the CDN without such Paid Services to serve video or a disproportionate percentage of pictures, audio files, or other large files. We will use reasonable efforts to provide you with notice of such action.
Thank you! I actually found a better way to get data out of GCP buckets for cheaper; you can use GCE to copy from the bucket to Google Drive with zero network fees as it turns out.