Defang BYOC
Defang aims to make it easier to deploy your services to the cloud. Specifically, Defang's goal is to make it easier to deploy your workloads to your own cloud accounts. We refer to this as bring-your-own-cloud (BYOC).
BYOC is available on all tiers (Starter, Pro, Enterprise). The Starter tier (free) includes 1 cloud account. Pro ($49/mo) includes 1 cloud account with additional deployment modes. Enterprise ($499/mo) includes 3 cloud accounts with fleet management capabilities.
Defang provisions and configures the necessary native managed services from your cloud provider to get your services up and running. For example, on AWS, Defang will configure an ALB, set up ECR, configure CloudWatch, and run your service on ECS and more. The following lists the existing and planned support for cloud providers.
Defang does not install or run any Defang or third party services at runtime. Defang does run the Defang build service to build your container images, which terminates after every build.
Configuration
The Defang CLI can be configured to deploy to a cloud provider either by using the --provider flag or by setting the DEFANG_PROVIDER environment variable. For example:
# Supported provider values: auto, aws, azure, gcp
# Default is auto, which uses detected cloud credentials when available
$ defang compose up --provider=aws
# or
$ export DEFANG_PROVIDER=gcp
AWS
Please read the AWS Provider documentation for more details about how the AWS provider works and how to get started.
DigitalOcean
The DigitalOcean provider is deprecated. For new projects, use AWS, Google Cloud or Azure.
The DigitalOcean Provider page describes how it works for existing users.
GCP
The Defang GCP Provider is available for Public Preview as of December 2024.
Please check out the GCP Provider page for more details.
Azure
Please read the Azure Provider documentation for more details about how the Azure provider works and how to get started.
You can use the Azure Free Tier to try out Defang. Learn more about it here. If you're an eligible startup, you can sign up for credits through Microsoft for Startups.