Utilizzare Service Extensions per l'edge computing
Mantieni tutto organizzato con le raccolte
Salva e classifica i contenuti in base alle tue preferenze.
Puoi utilizzare le estensioni di servizio
per eseguire il tuo codice WebAssembly (Wasm) in un
ambiente di calcolo completamente serverless e gestito da Google. Questa pagina descrive
l'estensibilità tramite le estensioni di servizio.
Informazioni sulle estensioni perimetrali Service Extensions per Cloud CDN
Crea plug-in utilizzando Wasm e l'ABI Proxy-Wasm.
L'ABI Proxy-Wasm offre supporto per Rust, C++ e Go.
I plug-in delle estensioni di servizio
vengono eseguiti su un'infrastruttura completamente serverless e gestita da Google. Vengono eseguiti vicino al
piano dati e l'ottimizzazione della latenza viene gestita.
I plug-in delle estensioni di servizio sono destinati a casi d'uso leggeri
con limiti rigidi per CPU e memoria. Collega un plug-in
Service Extensions a un bilanciatore del carico delle applicazioni esterno globale
tramite un'estensione edge.
[[["Facile da capire","easyToUnderstand","thumb-up"],["Il problema è stato risolto","solvedMyProblem","thumb-up"],["Altra","otherUp","thumb-up"]],[["Difficile da capire","hardToUnderstand","thumb-down"],["Informazioni o codice di esempio errati","incorrectInformationOrSampleCode","thumb-down"],["Mancano le informazioni o gli esempi di cui ho bisogno","missingTheInformationSamplesINeed","thumb-down"],["Problema di traduzione","translationIssue","thumb-down"],["Altra","otherDown","thumb-down"]],["Ultimo aggiornamento 2025-09-05 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)."]]