menu
arrow_back
뒤로

Managing Cloud Run gRPC Services with API Gateway

—/100

Checkpoints

arrow_forward

Deploy the gRPC service on Cloud Run

Create the API config

Deploying an API Gateway

Send a request to the API

Managing Cloud Run gRPC Services with API Gateway

1시간 크레딧 7개

GSP875

Google Cloud Self-Paced Labs

Introduction

API Gateway enables you to provide secure access to gRPC services through a well-defined API configuration. To create a gRPC service, whether or not you are using API Gateway, you specify the interface definition in one or more proto files, which are text files with the .proto extension. In a proto file, you define the surface of your API, including the data structures, methods, method parameters, and return types. Then, you compile your proto file by using the language-specific protocol buffer compiler, protoc. For more information, see What is gRPC? and gRPC concepts

To have your gRPC service managed by API Gateway, in addition to the compiled proto file, you have to specify a service configuration in one or more YAML files. A service configuration is a specification that lets you define the behavior of a gRPC service, including authentication, quotas, and more.

In this lab, you will use Cloud Run, which allows you to develop and deploy highly scalable containerized applications on a fully managed serverless platform, to host a pre-compiled gRPC backend service and expose it using API Gateway. You will then invoke the gRPC service using a gRPC client to ensure calls are being routed through API Gateway. Finally, you will enhance security to the gRPC backend by requiring an API key is provided by the client when calling API Gateway.

이 실습의 나머지 부분과 기타 사항에 대해 알아보려면 Qwiklabs에 가입하세요.

  • Cloud Console에 대한 임시 액세스 권한을 얻습니다.
  • 초급부터 고급 수준까지 200여 개의 실습이 준비되어 있습니다.
  • 자신의 학습 속도에 맞춰 학습할 수 있도록 적은 분량으로 나누어져 있습니다.
이 실습을 시작하려면 가입하세요