Tetap teratur dengan koleksi
Simpan dan kategorikan konten berdasarkan preferensi Anda.
Anda dapat menggunakan Ekstensi Layanan
untuk menjalankan kode WebAssembly (Wasm) Anda sendiri di lingkungan komputasi yang terkelola sepenuhnya oleh Google dan tanpa server. Halaman ini menjelaskan
ekstensibilitas menggunakan Ekstensi Layanan.
Tentang ekstensi edge Ekstensi Layanan untuk Cloud CDN
Anda membuat plugin menggunakan Wasm dan ABI Proxy-Wasm.
ABI Proxy-Wasm menawarkan dukungan untuk Rust, C++, dan Go.
Plugin Ekstensi Layanan
berjalan di infrastruktur yang sepenuhnya serverless dan dikelola oleh Google. Mereka berjalan dekat dengan
bidang data, dan pengoptimalan latensi dikelola.
Plugin Ekstensi Layanan ditujukan untuk kasus penggunaan ringan dengan batas ketat pada CPU dan memori. Anda melampirkan plugin Ekstensi Layanan ke Load Balancer Aplikasi eksternal global melalui ekstensi edge.
[[["Mudah dipahami","easyToUnderstand","thumb-up"],["Memecahkan masalah saya","solvedMyProblem","thumb-up"],["Lainnya","otherUp","thumb-up"]],[["Sulit dipahami","hardToUnderstand","thumb-down"],["Informasi atau kode contoh salah","incorrectInformationOrSampleCode","thumb-down"],["Informasi/contoh yang saya butuhkan tidak ada","missingTheInformationSamplesINeed","thumb-down"],["Masalah terjemahan","translationIssue","thumb-down"],["Lainnya","otherDown","thumb-down"]],["Terakhir diperbarui pada 2025-08-11 UTC."],[],[],null,["# Use Service Extensions for edge compute\n\n| **Preview**\n|\n|\n| This product or feature is subject to the \"Pre-GA Offerings Terms\" in the General Service Terms section\n| of the [Service Specific Terms](/terms/service-terms#1).\n|\n| Pre-GA products and features are available \"as is\" and might have limited support.\n|\n| For more information, see the\n| [launch stage descriptions](/products#product-launch-stages).\n\nYou can use [Service Extensions](/service-extensions/docs/overview)\nto run your own [WebAssembly (Wasm)](https://webassembly.org/) code in a\nfully serverless, Google-managed compute environment. This page describes\nextensibility by using Service Extensions.\n\nAbout Service Extensions edge extensions for Cloud CDN\n------------------------------------------------------\n\nYou build plugins using Wasm and the [Proxy-Wasm ABI](https://github.com/proxy-wasm).\nThe Proxy-Wasm ABI offers support for Rust, C++, and Go.\n[Service Extensions plugins](/service-extensions/docs/plugins-overview)\nrun on a fully serverless, Google-managed infrastructure. They run close to the\ndata plane, and latency optimization is managed.\nService Extensions plugins are intended for lightweight use\ncases with tight limits on CPU and memory. You attach a\nService Extensions plugin to a global external Application Load Balancer\nthrough an edge extension.\n\nFor more information, see\n[How edge extensions work](/service-extensions/docs/lb-extensions-overview#edge-extensions).\n\nCommon use cases\n----------------\n\nUse Service Extensions plugins with global external Application Load Balancers in\nthe following sample scenarios:\n\n**Custom traffic steering**\n: Manipulate request headers to influence backend service selection.\n\n**Cache optimization**\n: Influence which content is served from a Cloud CDN cache.\n\n**Exception handling**\n: Redirect clients to a custom error page for certain response classes.\n\n**Custom logging**\n: Log user-defined headers or custom data into Cloud Logging.\n\n**Header addition**\n: Create new headers relevant for your applications or specific customers.\n: Insert new headers for request.\n\n**Header manipulation**\n: Rewrite existing request headers or override client headers on their way\n to the backend.\n\n**Security**\n: Write custom security policies based on client requests and make enforcement\n decisions within your plugin.\n\nGet started\n-----------\n\n1. [Create a plugin](/service-extensions/docs/create-plugin)\n2. [Configure an edge extension](/service-extensions/docs/configure-edge-extensions)\n\nWhat's next\n-----------\n\n- Learn more about [Service Extensions](/service-extensions/docs/overview) concepts.\n- View Rust, Go, and C++ plugin examples and testing tools in the [Service Extensions GitHub repository for plugins](https://github.com/GoogleCloudPlatform/service-extensions/tree/main/plugins#docs).\n- Learn how to [prepare and upload the files required](/service-extensions/docs/access-control) to create plugins by using Service Extensions.\n- Learn how to [create a plugin](/service-extensions/docs/create-plugin).\n- Learn how to [configure an edge extension](/service-extensions/docs/configure-edge-extensions)."]]