Deploy AI Apps to
Any Cloud Account

Bring your Compose file. Deploy to your cloud account, or your customer's. Native Bedrock, Vertex AI, and Azure AI. No Terraform required.

  • Your Account or Theirs
  • Docker Compose Native
  • AWS, GCP, and Azure

40,000+ successful deployments

Bring Your Compose File.
Defang Does the Rest.

Point it at any AWS, GCP, or Azure account. Defang configures the infrastructure, including Bedrock, Vertex AI, or Azure AI if you need it.

compose.yaml
services:
app:
build: ./app
ports:
- "8000:8000"
depends_on: [db, llm]
db:
image: pgvector/pgvector:pg16
x-defang-postgres: true # Managed RDS/Cloud SQL
llm:
x-defang-llm: true # Bedrock, Vertex, or Azure AI

Defang configures

  • ECS / Cloud Run / ACA cluster
  • Bedrock, Vertex AI, or Azure AI access
  • Managed Postgres, MongoDB, and Redis
  • Per-service IAM roles (least privilege)
  • Load balancer + TLS
  • Secrets encrypted in your SSM / Secret Manager
  • Private VPC + locked-down security groups
  • Logging and observability
  • Auto-scaling
$ defang upThat's it.

Why Is This Important?

Deployment requirements are fundamentally different in the agentic era. Understand what changed and how Defang enables you to meet those requirements.

Works with any AI framework: CrewAI, LangGraph, AutoGen, Strands, and more.

One Workflow. Any Number of Accounts.

The same Compose file deploys to your account, a client's account, or fifty customer accounts. The workflow doesn't change.

Deploy to Your Cloud

Ship to your own AWS, GCP, or Azure account. You control the infra, the bill, and the data. Use the same workflow for dev, staging, and production.

For developers shipping their own products

Try it free →

Deploy to a Client's Cloud

Same Compose file, different cloud account. Compare costs across providers, deploy to a client's AWS or GCP, hand off the project with infra included.

For freelancers and agencies doing client work

Try it free →

Deploy to Every Customer's Cloud

Develop once, deploy anywhere. The same Compose file works across every customer's account with no app changes. Manage the whole fleet from the Portal.

For companies with data-conscious customers

Try it free →

Built for AI Your Customers Can Trust

AI agents need to run where the data lives: in your customer's cloud. Defang deploys your app into any account with security, compliance, and AI infrastructure handled automatically.

Data Sovereignty by Default

AI agents access your customer's most sensitive data: conversations, documents, decisions. Defang deploys into their cloud account so data never leaves their control.

Any Customer, Any Cloud

One Compose file deploys to any customer's AWS or GCP account. No per-customer infra work, no Terraform rewrites.

Security and Compliance Built In

IAM roles, private VPCs, encrypted secrets, and least-privilege policies, all configured automatically on every deployment.

AI Infrastructure Included

LLM access via Bedrock or Vertex AI, GPU instances, and managed Postgres, MongoDB, and Redis. Each just one annotation in your Compose file.

Deploy Any Stack

AI agents, web apps, APIs. If it runs in Docker Compose, it deploys with Defang. Here are some popular combinations from our 80+ samples.

Browse all 80+ samples →

Secure By Design

You don't have to trust Defang with your data. The architecture means Defang never sees it.

Your credentials never leave your machine

The CLI uses your local AWS, GCP, or Azure SDK. Defang's servers never see your cloud credentials. Not even temporarily.

Secrets encrypted in your cloud

Stored in your cloud's native secret manager: SSM, GCP Secret Manager, or Azure Key Vault. Defang cannot decrypt them.

Least-privilege IAM per service

Each service gets its own IAM role with only the permissions it needs. No shared roles. Locked-down security groups by default.

Open source CLI and providers

The CLI and cloud providers are open source. Inspect every command, audit every deployment, and verify exactly what runs in your account.

Pick a Starting Point

One command to deploy

Point Defang at your Compose file and your cloud account. It handles the rest.

~/my-app
$ defang compose up
* Deploying 2 services to AWS...
* Configuring IAM roles, VPC, load balancer
* Wiring Bedrock access for agent service
* Done. https://my-app.defang.dev

Our Partners

KhasmAI Partnerships CorporationIngram Micro

I had an amazing time working with Defang’s web hosting technology and learning about web deployment at StormHacks2024 hackathon.

Linda L. - Student @ UBC

WTF, It’s revolutionary

@prathamvishwakarma - User

Woooo 🥳! Thank you Defang Labs, for making web app deployment more accessible ❤!

Joar H. - User

What a relief to be able to just deploy containers with Defang and not deal with the over-engineered monstrosity that is Kubernetes.

Bjørn S. - Founder @ Early Orbit, Happylatte, App Annie / Data.ai

What sorcery is this? I can hardly believe how amazing this is!

@shemmarie - User

As a student with limited production environment experience, I recently completed my first full-stack AI project deployment using Defang, and I was thoroughly impressed by the experience.

@vrx2314 - User

With Defang we were able to deploy our application within our own AWS account in under an hour.

Jason F. - CEO

The AI integration is amazing

@dextermorgan660 - User

Join the Community

Join our Discord community to connect with developers, share insights, and get real-time support.