Lesson 59 of 60
GoDeploying a gRPC Service on Google Cloud Run
20 minutes
Course progress98%
Cloud Run for gRPC
This lesson explains the main concept clearly with beginner-friendly examples and background so you can learn why the code works.
- Dockerfile (same as lesson‑47) – expose port
8080. - Build and push the image.
$ docker build -t gcr.io/<PROJECT>/go-grpc .
$ docker push gcr.io/<PROJECT>/go-grpc
- Deploy with the gcloud CLI:
$ gcloud run deploy go-grpc \
--image gcr.io/<PROJECT>/go-grpc \
--platform managed \
--region us-central1 \
--allow-unauthenticated \
--port 8080