Search code examples
google-app-enginegrpcgrpc-python

grpc in GAE Standard


Is it possible to host a gRPC server in GAE Standard environment using Python? I have seen https://cloud.google.com/endpoints/docs/grpc/tutorials which seems to me you have to use ESP to host a gRPC server in GCP (GAE Standard is not listed here). Is ESP the only way to implement a gRPC server? Can't I write my own gRPC implementation such as https://grpc.io/docs/languages/python/basics/ and host it in GAE Standard?

I apologize for the basic questions as gRPC is quite new to me.


Solution

    1. gRPC support is not available for App Engine as mentioned in group conversation here .
    2. Endpoints supports gRPC services for GKE, Compute Engine, and Cloud Run (Beta). The framework available for Cloud Endpoints control of API in App Engine for Python you can refer here
      Cloud Endpoints Frameworks