menu
arrow_back

Managing Cloud Run gRPC Services with API Gateway

search share Rejoindre Se connecter

Managing Cloud Run gRPC Services with API Gateway

1 heure 7 crédits

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 you are using API Gateway or not, 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.

Inscrivez-vous sur Qwiklabs pour consulter le reste de cet atelier, et bien plus encore.

  • Obtenez un accès temporaire à Cloud Console.
  • Plus de 200 ateliers, du niveau débutant jusqu'au niveau expert.
  • Fractionné pour vous permettre d'apprendre à votre rythme.
Inscrivez-vous pour démarrer cet atelier