Service Infrastructure는 조직 전체에서 API와 서비스를 생성, 관리, 보호, 사용할 수 있는 기본 플랫폼입니다. Google APIs, Cloud APIs, Cloud Endpoints, API 게이트웨이에서 사용됩니다. Service Infrastructure는 인증, 승인, 감사, 비율 제한, 분석, 청구, 로깅, 모니터링 등 서비스 소비자 및 서비스 제작자에게 다양한 기능을 제공합니다.
아키텍처
Service Infrastructure는 수백만의 서비스 제작자와 서비스 소비자를 지원하도록 디자인되었습니다. 이러한 확장성을 위해 Service Infrastructure에는 분산형 마이크로서비스 아키텍처가 사용됩니다.
이 시스템은 해당 기능을 기준으로 세 가지 영역으로 구분됩니다.
관리 영역에서는 개발자가 자신의 서비스 구성 및 서비스 사용을 관리할 수 있습니다.
데이터 영역에서는 클라이언트와 서비스 사이의 데이터 트래픽을 관리합니다. 데이터 영역은 다양한 환경에서 실행할 수 있고 내부 클라이언트와 외부 클라이언트를 모두 지원합니다.
제어 영역에서는 비율 제한과 같이 관리 영역에서 가져온 구성을 기준으로 데이터 영역을 제어합니다.
Service Infrastructure는 세 가지 영역을 위해 몇 가지 공개 API를 제공합니다. 개발자는 이러한 API를 사용하여 서비스를 Service Infrastructure와 직접 통합하거나 Cloud Endpoints 및 API 게이트웨이와 같이 이러한 API를 기반으로 빌드된 프레임워크를 사용할 수 있습니다.
API 및 서비스 만들기
Service Infrastructure를 사용하여 관리형 서비스를 만들려면 서비스 이름 및 API 표시 경로와 같이 서비스 설정 및 동작을 정의하기 위한 서비스 구성을 만들어야 합니다. 그런 후 서비스 구성을 Service Management API에 업로드하여 서비스를 만들고 이를 Google Cloud에 등록합니다.
Service Infrastructure를 사용하여 관리형 서비스를 실행하기 위해서는 해당 서비스가 API 키 검증 및 API 측정항목 보고와 같이 각 요청에 대한 허용 제어 및 각 응답에 대한 원격 분석 보고를 위해 Service Control API를 호출해야 합니다. 이렇게 해서 서비스가 Google Cloud에서 제공되는 다양한 기능 집합을 활용할 수 있습니다.
청구 파이프라인과 같이 서비스에 일부 내부 구성요소가 포함된 경우에는 이러한 구성요소들도 허용 제어 및 원격 분석 보고를 위해 Service Control API를 사용할 수 있습니다. 예를 들어 청구 측정항목을 Cloud Billing에 보고합니다.
자세한 내용은 안내 가이드에서 Service Infrastructure와 통합을 참조하세요.
API 및 서비스 관리
서비스 제작자의 경우에는 Service Consumer Management API 및 Service Networking API를 사용하여 소비자에 대한 테넌트 프로젝트 만들기, 테넌트 프로젝트와 소비자 프로젝트 사이의 네트워크 피어링 설정, 소비자의 할당량 제한 관리를 포함하여 서비스 소비자를 관리할 수 있습니다.
서비스 소비자인 경우 서비스 사용량을 사용하여 Google Cloud 프로젝트에서 API 및 서비스를 나열, 사용 설정, 사용 중지하고 Google Cloud 프로젝트 또는 조직 내에서 사용하는 서비스에 할당량 제한을 적용할 수 있습니다. Google에서 제공하는 서비스와 Cloud Endpoints를 사용하여 생성된 서비스를 모두 관리할 수 있습니다.
[[["이해하기 쉬움","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(UTC)"],[],[],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)."]]