In the Defang Playground, the app is deployed to AWS us-west-2. In the Defang BYOC model, the region is determined by your Defang BYOC Provider settings.
Yes! Defang makes it easy to deploy your application to your own cloud account. Please check out the Defang BYOC documentation for more information.
On AWS, can I deploy to services such as EC2, EKS, or Lambda?
The current release includes support for containers only, deployed to ECS. We are still exploring how to support additional execution models such as VMs and functions-as-a-service. However, using our Pulumi provider, it is possible to combine Defang services with other native AWS resources.
Can I access AWS storage services such as S3 or database services such as RDS? How?
Yes! You can access AWS services in the AWS Dashboard as you normally would when you are deploying to your AWS account using Defang. In fact, you can access whatever other resources exist in the cloud account you are using for Defang BYOC.
While we currently support AWS for production, GCP and DigitalOcean are in preview with Defang V1. We plan to support other clouds, such as Azure, in future releases.
Yes! Defang makes it easy to deploy your app on production-ready infrastructure in your own cloud account. For example, you can deploy your app to AWS with defang compose up --provider=aws --mode=production. Check out your preferred cloud provider on Defang BYOC and see our Deployment Modes documentation for more information.
Defang does not currently support blue/green deployments, but it does support rolling updates with the --mode=production flag. See the Deployment Modes documentation for more information.
No. Defang does not currently support auto-scaling. However, you can check out the Scaling Your Services tutorial to see how you can scale your services manually with Defang.
No. Once a deployment has started, it cannot be canceled. However, you can always deploy a new version of your app which will replace the current deployment.
Will deploying a new version of my app cause downtime?
If you have deployed your application with the --mode=production flag, Defang will use the production deployment mode. This mode will perform a rolling update to ensure zero downtime. If you use another deployment mode, you may experience downtime during the deployment, as Defang will not provision multiple replicas to save cost. See the Deployment Modes documentation for more information.
Yes! You can deploy multiple services at once by defining them in a single compose.yaml file. When you run defang compose up, Defang will deploy all the services defined in the file at once.
Can I deploy a service that depends on another service?
Defang does not currently support service dependencies. All services will be deployed simultaneously. Defang will however run multiple healthchecks before marking a service as healthy and spinning down any previously deployed services when using the production deployment mode. See the Deployment Modes documentation for more information.
No. Defang is not a run-time platform. Instead, it lets you host and run your application on a cloud provider of your choice. You can think of it as a tool that makes it way easier to deploy to that cloud provider. We do provide Defang Playground, but it is meant to be used as a testing environment only.
What is the difference between Defang and platforms such as Vercel, fly.io, and Railway?
Defang is a tool that helps you get your application deployed to a cloud provider of your choice, and it is not a platform. Unlike platforms, Defang does not host your application. We do provide Defang Playground, but it is meant to be used as a testing environment only.
What is the difference between Defang and tools such as SST?
Defang is cloud-agnostic and language-agnostic, meaning that it is designed to work with different cloud providers, and programming languages. Since Defang is not tied to just one cloud or language, this allows for greater flexibility in a wide range of cases. Another difference is that Defang follows the Compose specification, allowing it to work smoothly with various container platforms such as Docker.