Skip to content

Deploy to GCP

Prerequisites

  • gcloud CLI authenticated
  • Project ID set (GOOGLE_CLOUD_PROJECT or gcloud config set project)

Deploy

bash
cooper deploy --env prod --cloud gcp

What gets created

ResourceSpec
Cloud SQLdb-f1-micro, Postgres 15
Memorystore1 GB Redis
Pub/Sub topicsPer topic declaration
GCS bucketStandard storage
Cloud RunAuto-scaling, 512 MB

Cost estimate

+ Cloud SQL          ~$10/mo
+ Memorystore        ~$10/mo
+ Cloud Run          ~$0/mo (pay per use)

Apache-2.0 Licensed