From Docker Compose to GCP in one command
Stop wrestling with gcloud commands and Kubernetes. Deploy your entire Docker Compose stack to serverless Cloud Run with a single command.
Trusted by developers — 40,000+ successful deployments
$ defang compose up --provider=gcp
* Uploading build context for web
* Deploying service web
* Tailing logs for deployment ID a1b2c3d4 ;
2026-02-19T10:00:12Z cd Update succeeded ; provisioning...
2026-02-19T10:00:45Z web Listening on port 8080
* Done.
ENDPOINT: https://myapp-web--8080.prod1.defang.dev
Your Docker Compose app works locally. Now deploy it.
You run docker compose up and everything works. Getting that to production GCP shouldn't require a cloud engineering degree.
Without Defang
- ✗ Rewrite your Docker Compose workflow for cloud-native services
- ✗ Learn gcloud CLI and Cloud Console
- ✗ Configure VPC, subnets, firewall rules
- ✗ Set up Cloud Run services and revisions
- ✗ Manage IAM roles and service accounts
- ✗ Configure load balancing and SSL
- ✗ Wire up Cloud SQL, Memorystore, secrets...
With Defang
- ✓ Use your exact Docker Compose file — the one that already works locally
- ✓
One command:
defang compose up - ✓ Automatic Cloud Run configuration
- ✓ Least-privilege IAM by default
- ✓ SSL certificates handled automatically
- ✓ Add managed services with annotations
Production-ready GCP from your Docker Compose file
Defang reads your Docker Compose file and provisions everything. No rewrites, no new config format.
One Command Deploy
Run defang compose up and your entire Docker Compose application deploys to Google Cloud Run. No gcloud commands, no YAML manifests, no complexity.
Your GCP Project
Unlike PaaS platforms, Defang deploys directly to your GCP project. You own and control your infrastructure while we handle the complexity.
Managed Services
Automatically provision Cloud SQL Postgres, Memorystore Redis, Firestore MongoDB, and Vertex AI LLMs with compose annotations like x-defang-postgres and x-defang-llm.
Serverless Scaling
Cloud Run automatically scales your containers from zero to thousands of instances based on demand. Pay only for what you use.
Cost Optimized
Cloud Run's pay-per-request model means you only pay when your app is handling traffic. Choose affordable, balanced, or high_availability deployment modes.
Agentic Apps
Deploy AI agent apps built with CrewAI, LangGraph, AutoGen, Strands, or n8n. Native managed LLMs, databases, and caching for your agents.
Deploy from Your IDE
Use Defang's MCP Server to deploy from Cursor, VS Code, Claude Code, Windsurf, or Kiro. Just run defang mcp setup and deploy without leaving your editor.
Named Stacks
Deploy multiple isolated environments from one compose file. Create dev, staging, and production stacks with defang stack new — each fully independent.
Security & Compliance
SOC 2 certified. Least-privilege IAM, encrypted secrets, and private networking by default.
Your Docker Compose file is ready. Deploy it.
If docker compose up works on your machine, you're one command away from production.
# Works locally?
$ docker compose up
✔ Container web Started
# Deploy the same file to GCP
$ defang compose up --provider=gcp
* Done.
SOC 2 Certified · Google Cloud Partner