[[["容易理解","easyToUnderstand","thumb-up"],["確實解決了我的問題","solvedMyProblem","thumb-up"],["其他","otherUp","thumb-up"]],[["難以理解","hardToUnderstand","thumb-down"],["資訊或程式碼範例有誤","incorrectInformationOrSampleCode","thumb-down"],["缺少我需要的資訊/範例","missingTheInformationSamplesINeed","thumb-down"],["翻譯問題","translationIssue","thumb-down"],["其他","otherDown","thumb-down"]],["上次更新時間:2025-09-04 (世界標準時間)。"],[],[],null,["# Service Infrastructure\n\n\u003cbr /\u003e\n\nService Infrastructure is a foundational platform for creating, managing,\nsecuring, and consuming APIs and services across organizations. It is used\nby [Google APIs](https://github.com/googleapis/googleapis),\n[Cloud APIs](/apis), [Cloud Endpoints](/endpoints), and\n[API Gateway](/api-gateway). Service Infrastructure\nprovides a wide range of features to service consumers and service producers,\nincluding authentication, authorization, auditing, rate limiting, analytics,\nbilling, logging, and monitoring.\n\nArchitecture\n------------\n\nService Infrastructure is designed to support millions of service producers and\nservice consumers. In order to handle such scalability,\nService Infrastructure uses a distributed microservice architecture.\nThe system is divided into three *planes* based on their functionality:\n\n- The Management Plane, which lets developers manage configurations of their services and their usage of services.\n- The Data Plane, which handles the data traffic between the clients and the services. The data plane can run in different environments and support both internal and external clients.\n- The Control Plane, which controls the data plane based on the configurations coming from the management plane, such as rate limiting.\n\nService Infrastructure provides multiple public APIs for these planes. A developer\ncan use these APIs to integrate their service directly with Service Infrastructure,\nor use a framework built on top of these APIs, such as\n[Cloud Endpoints](/endpoints) and [API Gateway](/api-gateway).\n\nCreating APIs and services\n--------------------------\n\nTo create a managed service using Service Infrastructure, you need to\ncreate a [service configuration](/service-infrastructure/docs/glossary#config) to define your service\nsettings and behaviors, such as service name and API surface. You then deploy\nyour service configuration to the Service Management API to create your\nservice and register it with Google Cloud.\n\nFor more information, see Managing Services in the\n[How-to Guides](/service-infrastructure/docs/how-to).\n\nRunning APIs and services\n-------------------------\n\nTo run a managed service using Service Infrastructure, your service needs to\ncall the Service Control API for admission control on each request, and\ntelemetry reporting on each response, such as validating API keys and reporting\nAPI metrics. It allows your service to leverage the rich set of features\nprovided by Google Cloud.\n\nIf your service has some internal components, such as billing pipelines, they\ncan also use the Service Control API for admission control and telemetry\nreporting. For example, reporting billing metrics to\n[Cloud Billing](https://cloud.google.com/billing/docs).\n\nFor more information, see Integrating with Service Infrastructure in the\n[How-to Guides](/service-infrastructure/docs/how-to).\n\nManaging APIs and services\n--------------------------\n\nIf you are a service producer, you can use the Service Consumer Management API and\nthe Service Networking API to manage consumers of your service,\nincluding creating tenant projects for your consumers, setting up network\npeering between tenant projects and consumer projects, and managing the quota\nlimits of your consumers.\n\nFor more information, see Managing Service Consumers in the\n[How-to Guides](/service-infrastructure/docs/how-to).\n\nConsuming APIs and services\n---------------------------\n\nIf you are a service consumer, you can use the Service Usage to list, enable,\nand disable APIs and services in your Google Cloud projects, and apply quota\nrestrictions to services used by your Google Cloud projects or within your\norganization. You can manage both Google-provided services and services created using\n[Cloud Endpoints](https://cloud.google.com/endpoints).\n\nFor more information, see the [Service Usage](/service-usage/docs)\ndocumentation.\n\nGetting started\n---------------\n\nThe recommended way for most use cases to use Service Infrastructure is to use\n[Cloud Endpoints](/endpoints) to create and manage your services. To get\nstarted, see\n[Cloud Endpoints Quickstart](/endpoints/docs/deploy-api)."]]