Google Cloud

GCP Resources - APIs

Nitric APIs are deployed to GCP using API Gateway.

GCP Resources

The following resources are created when deploying APIs to GCP:


During deployment, the Nitric CLI builds your API's routes, methods, and handlers. They are built as follows:

  • Files referenced under functions in nitric.yaml are built into container images
  • Built container images are pushed to the Google Container Registry as private images
  • Container Images are deployed as Cloud Run applications.
  • All route/handler mappings are built into an Open API v2 (Swagger) definition file (Google Cloud API Gateway does not support v3).
    • Your applications will be routed to using Google Clouds Open API Extensions x-google-backend.
  • The API definition and Resource Group is deployed to API Gateway.