Skip to content

Latest commit

 

History

History
74 lines (48 loc) · 1.75 KB

File metadata and controls

74 lines (48 loc) · 1.75 KB

Deploy DreamFactory to Google Cloud Run

Welcome

This tutorial walks you through deploying DreamFactory with commercial features to Google Cloud Run.

Time to complete: 15 minutes Cost: Cloud SQL ($8/mo) + Cloud Run (pay-per-use)

Prerequisites

You'll need:

  • A Google Cloud project with billing enabled
  • A DreamFactory license key (from your DreamFactory sales rep)

Select your project

Set your project:

gcloud config set project <walkthrough-project-id/>

Run the deployment

The deploy script provisions everything automatically:

  • Cloud SQL (MySQL 8.0)
  • Secret Manager secrets
  • Artifact Registry + Cloud Build
  • Cloud Run service

Run it now:

chmod +x deploy.sh && ./deploy.sh --project=<walkthrough-project-id/>

You'll be prompted for:

  1. Region (default: us-central1)
  2. DreamFactory license key
  3. Admin email and password

The script takes about 10-15 minutes (Cloud SQL creation is the longest step).

Access DreamFactory

Once deployment completes, the script prints your service URL.

Open it in your browser and log in with the admin email and password you provided.

Next steps

  • Custom domain: Map your own domain to the service
    gcloud run domain-mappings create --service=dreamfactory --domain=api.yourdomain.com --region=us-central1
  • Scale up: Adjust instances and resources in the Cloud Run console
  • Monitor: View logs in Cloud Run > Logs tab

Teardown

To remove all resources:

./teardown.sh --project=<walkthrough-project-id/>

Congratulations

DreamFactory is now running on Google Cloud Run!