Google云端存储是一个全球性的自动CDN吗? [英] Is Google Cloud Storage an automagical global CDN?

查看:145
本文介绍了Google云端存储是一个全球性的自动CDN吗?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我试图设置Google云端存储分区来存储和投放我网站的所有静态对象。我还试图将该存储桶中的所有对象都推送到Google Cloud CDN提供的所有全球边缘位置。



我在Google Cloud上创建了一个存储分区存储: cdn.mysite.com 。我选择美国多区域作为存储区位置设置。



我的假设是存储在此存储分区将被复制到所有 us - * 区域以实现高耐用性,但不是推送到所有Google Cloud CDN全局边缘或者,我的美国多区域存储桶中的所有对象是否已自动推送到所有Google Cloud CDN边缘位置?

>

我很喜欢gobsmacked,我无法弄清楚我的存储桶是不是已经是CDN或不是。即使经过两天的搜索(谷歌,具有讽刺意味)。

预先感谢您的任何帮助。

解决方案

云CDN和云存储是不同的,因此您的多区域存储桶中的对象不一定会推送到云CDN边缘。您可以在此处找到有关云存储区域的信息;正如您可能已经知道的那样,Cloud CDN的边缘位置已在此处映射出来。 然而,将Cloud Storage与Cloud CDN集成非常简单:只需按照这些步骤


I’m attempting to setup a Google Cloud Storage bucket to store and serve all the static objects for my site. I’m also attempting to push all the objects in that bucket out to all the global edge locations offered by Google Cloud CDN.

I’ve created a bucket on Google Cloud Storage: cdn.mysite.com. I chose "US" multi-region for the bucket location setting.

My assumption is that any object stored in this bucket will be replicated to all the us-* regions for high-durability purposes, but not pushed out to all the Google Cloud CDN global edge locations for CDN purposes.

Or are all my objects in my "US" multi-region bucket already automagically pushed out to all of Google Cloud CDN edge locations?

I’m gobsmacked that I can’t figure out whether or not my bucket is already a CDN or not. Even after two days of searching (Google, ironically).

Thanks in advance for any help.

解决方案

Cloud CDN and Cloud Storage are distinct, so objects in your multi-region bucket are not necessarily pushed to Cloud CDN edges. You can find information about Cloud Storage regions here; as you probably already know, Cloud CDN's edge locations are mapped out here. However, it's very straightforward to integrate Cloud Storage with Cloud CDN: just follow these steps!

这篇关于Google云端存储是一个全球性的自动CDN吗?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆