Cloud CDN(内容分发网络)借助 Google 分布在全球各地的边缘入网点,在靠近用户的位置缓存经过外部 HTTP(S) 负载平衡处理的内容。通过在 Google 的网络边缘缓存内容,您可以在降低传送费用的同时,更快地为用户分发内容。了解详情
获享 $300 免费赠金开始概念验证
-
体验 Gemini 2.0 Flash Thinking
-
免费使用热门产品(包括 AI API 和 BigQuery)的每月用量
-
不会自动收费,无需承诺
继续探索 20 多种提供“始终免费”用量的产品
使用适用于常见应用场景(包括 AI API、虚拟机、数据仓库等)的 20 多种免费产品。
培训
培训和教程
Cloud CDN
练习使用 Cloud CDN。
培训
培训和教程
试用包含 Cloud CDN 的其他教程。
培训
培训和教程
了解如何使用负载平衡器来提高网络性能。
使用场景
使用场景
通过同一主机名传送安全内容和非安全内容
将预留的 IP 地址绑定到外部 HTTP(S) 负载平衡器中的 HTTP 和 HTTPS 前端配置。
CDN
负载均衡
HTTP
HTTPS
使用场景
使用场景
使用 Apigee 保护应用和 API 的最佳做法
使用 Apigee API 管理、Cloud Armor、reCAPTCHA Enterprise 和 Cloud CDN 保护应用和 API。
CDN
Cloud Armor
使用场景
使用场景
托管静态网站
配置 Cloud Storage 存储桶和 Cloud CDN,以便为您的网域托管静态网站
CDN
Cloud Storage
使用场景
使用场景
缓存来自计算来源的内容
创建使用 Compute Engine 后端和 Cloud CDN 的负载均衡器。
CDN
Compute Engine
使用场景
使用场景
使用 Terraform 部署启用了 Cloud CDN 的示例外部 HTTP(S) 负载均衡器后端。
CDN
Compute Engine
Terraform
使用场景
使用场景
缓存来自无服务器产品(例如 Cloud Run、Cloud Functions 和 App Engine)的内容
创建使用无服务器后端和 Cloud CDN 的负载均衡器。
CDN
无服务器
Cloud Run
Cloud Functions
App Engine
使用场景
使用场景
使用第三方对象存储空间设置 Cloud CDN
传送托管在本地或其他云中的缓存内容。
CDN
外部源站
第三方
使用场景
使用场景
为 Google Cloud 上的 Kubernetes Ingress 配置 CDN。
CDN
Ingress
Kubernetes
如未另行说明,那么本页面中的内容已根据知识共享署名 4.0 许可获得了许可,并且代码示例已根据 Apache 2.0 许可获得了许可。有关详情,请参阅 Google 开发者网站政策。Java 是 Oracle 和/或其关联公司的注册商标。
最后更新时间 (UTC):2025-08-14。
[[["易于理解","easyToUnderstand","thumb-up"],["解决了我的问题","solvedMyProblem","thumb-up"],["其他","otherUp","thumb-up"]],[["很难理解","hardToUnderstand","thumb-down"],["信息或示例代码不正确","incorrectInformationOrSampleCode","thumb-down"],["没有我需要的信息/示例","missingTheInformationSamplesINeed","thumb-down"],["翻译问题","translationIssue","thumb-down"],["其他","otherDown","thumb-down"]],["最后更新时间 (UTC):2025-08-14。"],[[["\u003cp\u003eCloud CDN leverages Google's global network to cache content at the edge, ensuring faster delivery to users and reducing serving costs.\u003c/p\u003e\n"],["\u003cp\u003eThe documentation provides comprehensive guides on setting up Cloud CDN, including using various cache modes, backend configurations, signed URLs, and content invalidation.\u003c/p\u003e\n"],["\u003cp\u003eYou can find various resources including API references, cache locations, pricing details, release notes, troubleshooting steps, billing questions, and support information.\u003c/p\u003e\n"],["\u003cp\u003eCloud CDN is applicable for various use cases, such as hosting static websites, caching content from Compute origins, serverless products, or third-party storage, and securing applications using Apigee and Cloud Armor.\u003c/p\u003e\n"],["\u003cp\u003eTraining and tutorials are available to help you get hands-on experience and explore related technologies such as load balancers and improving network performance.\u003c/p\u003e\n"]]],[],null,["# Cloud CDN documentation\n=======================\n\n[Read product documentation](/cdn/docs/overview)\nCloud CDN (Content Delivery Network) uses Google's globally distributed\nedge points of presence to cache external HTTP(S) load balanced content close to\nyour users. Caching content at the edges of Google's network provides faster\ndelivery of content to your users while reducing serving costs. [Learn more](/cdn/docs/overview)\n[Get started for free](https://console.cloud.google.com/freetrial) \n\n#### Start your proof of concept with $300 in free credit\n\n- Get access to Gemini 2.0 Flash Thinking\n- Free monthly usage of popular products, including AI APIs and BigQuery\n- No automatic charges, no commitment \n[View free product offers](/free/docs/free-cloud-features#free-tier) \n\n#### Keep exploring with 20+ always-free products\n\n\nAccess 20+ free products for common use cases, including AI APIs, VMs, data warehouses,\nand more.\n\nDocumentation resources\n-----------------------\n\nFind quickstarts and guides, review key references, and get help with common issues. \nformat_list_numbered\n\n### Guides\n\n-\n\n [Setup overview](/cdn/docs/using-cdn)\n\n-\n\n [Use cache modes](/cdn/docs/using-cache-modes)\n\n-\n\n [Set up a backend bucket](/cdn/docs/setting-up-cdn-with-bucket)\n\n-\n\n [Set up a managed instance group backend](/cdn/docs/setting-up-cdn-with-mig)\n\n-\n\n [Set up an external backend](/cdn/docs/set-up-external-backend-internet-neg)\n\n-\n\n [Use signed URLs](/cdn/docs/using-signed-urls)\n\n-\n\n [Use cache keys](/cdn/docs/using-cache-keys)\n\n-\n\n [Invalidate cached content](/cdn/docs/invalidating-cached-content)\n\nemoji_objects\n\n### Concepts\n\n-\n\n [Best practices for content delivery](/cdn/docs/best-practices)\n\n-\n\n [Cloud CDN overview](/cdn/docs/overview)\n\n-\n\n [Cloud CDN features](/cdn/docs/features)\n\n-\n\n [Caching overview](/cdn/docs/caching)\n\n-\n\n [Signed URLs and signed cookies overview](/cdn/docs/private-content)\n\n-\n\n [External backends overview](/cdn/docs/ext-backend-internet-neg-overview)\n\n-\n\n [Cache invalidation overview](/cdn/docs/cache-invalidation-overview)\n\ngroup_work\n\n### Reference, resources, and support\n\n-\n\n [API and gcloud references](/cdn/docs/apis)\n\n-\n\n [Cache locations](/cdn/docs/locations)\n\n-\n\n [Pricing](/cdn/pricing)\n\n-\n\n [Release notes](/cdn/docs/release-notes)\n\n-\n\n [Troubleshooting](/cdn/docs/troubleshooting-steps)\n\n-\n\n [Billing questions](/cdn/docs/billing-questions)\n\n-\n\n [Getting support](/cdn/docs/getting-support)\n\n-\n\n [Service Level Agreement](/cdn/sla)\n\nRelated resources\n-----------------\n\nTraining and tutorials \nUse cases \nExplore self-paced training, use cases, reference architectures, and code samples with examples of how to use and connect Google Cloud services. Training \nTraining and tutorials\n\n### Cloud CDN\n\n\nGet hands-on practice with Cloud CDN.\n\n\n[Learn more](https://www.cloudskillsboost.google/focuses/1251?parent=catalog) \nTraining \nTraining and tutorials\n\n### Related tutorials\n\n\nTry out other tutorials that include Cloud CDN.\n\n\n[Learn more](https://www.cloudskillsboost.google/catalog?keywords=Cloud+CDN) \nTraining \nTraining and tutorials\n\n### Improving network performance\n\n\nLearn how to improve network performance with network performance using load balancers.\n\n\n[Learn more](https://www.cloudskillsboost.google/focuses/1287?parent=catalog) \nUse case \nUse cases\n\n### Deliver secure and non-secure content over the same hostname\n\n\nBind a reserved IP address to both the HTTP and HTTPS frontend configuration in the external HTTP(S) load balancer.\n\nCDN load balancing HTTP HTTPS\n\n\u003cbr /\u003e\n\n[Learn more](/cdn/docs/http-https-over-same-domain) \nUse case \nUse cases\n\n### Best practices for securing your applications and APIs using Apigee\n\n\nSecure your applications and APIs using Apigee API management and Cloud Armor,\nreCAPTCHA Enterprise, and Cloud CDN.\n\nCDN Cloud Armor\n\n\u003cbr /\u003e\n\n[Learn more](/architecture/best-practices-securing-applications-and-apis-using-apigee) \nUse case \nUse cases\n\n### Host a static website\n\n\nConfigure a Cloud Storage bucket and Cloud CDN to host a static website for your\ndomain\n\nCDN Cloud Storage\n\n\u003cbr /\u003e\n\n[Learn more](/storage/docs/hosting-static-website) \nUse case \nUse cases\n\n### Cache content from Compute origins\n\n\nCreate load balancer with Compute Engine backend backends and Cloud CDN.\n\nCDN Compute Engine\n\n\u003cbr /\u003e\n\n[Learn more](/cdn/docs/setting-up-cdn-with-mig) \nUse case \nUse cases\n\n### Automate your setup with Terraform\n\n\nUse Terraform to deploy a sample external HTTP(S) load balancer backend with Cloud CDN\nenabled.\n\nCDN Compute Engine Terraform\n\n\u003cbr /\u003e\n\n[Learn more](/cdn/docs/cdn-terraform-examples) \nUse case \nUse cases\n\n### Cache content from serverless products, such as Cloud Run, Cloud Functions, and App\nEngine\n\n\nCreate load balancer with serverless backends and Cloud CDN.\n\nCDN serverless Cloud Run Cloud Functions App Engine\n\n\u003cbr /\u003e\n\n[Learn more](/cdn/docs/setting-up-cdn-with-serverless) \nUse case \nUse cases\n\n### Set up Cloud CDN with third-party object storage\n\n\nServe cached content that is hosted either on-premises or in another cloud.\n\nCDN external origin third party\n\n\u003cbr /\u003e\n\n[Learn more](/cdn/docs/setting-up-cdn-with-third-party-storage) \nUse case \nUse cases\n\n### Configure Cloud CDN through Ingress\n\n\nConfiguring CDN for Kubernetes Ingress on Google Cloud.\n\nCDN Ingress Kubernetes\n\n\u003cbr /\u003e\n\n[Learn more](/cdn/docs/setting-up-cdn-with-third-party-storage)\n\nRelated videos\n--------------"]]