Skip to main content
Cloud Run is the recommended way to deploy Hyperterse on GCP. It provides serverless containers with automatic scaling, built-in HTTPS, and pay-per-use pricing. Hyperterse runs as a standard container — no special adaptation needed.

Prerequisites

You need the gcloud CLI configured with a project that has the Cloud Run, Cloud Build, and Secret Manager APIs enabled:

Deploy to Cloud Run

1

Build the artifact

2

Build and push the container image

Use the Docker deployment patterns to create your Dockerfile. Then build and push to Google Container Registry:
Alternatively, use Cloud Build:
3

Store credentials in Secret Manager

Grant your Cloud Run service account access:
4

Deploy

5

Get the service URL

Cloud SQL integration

Connect to Cloud SQL for managed PostgreSQL or MySQL:
Use a Unix socket connection string for Cloud SQL:

Scaling

Cloud Run scales automatically based on incoming requests. Configure minimum and maximum instances:
Setting min-instances=1 avoids cold starts at the cost of continuous billing.

GKE alternative

For Kubernetes-based deployments on GCP, create a GKE cluster and follow the Kubernetes deployment guide: