You already organized your services in your compose.yaml
file. You shouldn't have to do it again.
When you defined your services in your Docker Compose file, you already took into account things like host names, networking, and dependencies. Why should you have to redefine all those things with Terraform, Pulumi, CloudFormation, or some other cloud-specific tool?
Install the Defang CLI and swap docker compose up
for defang compose up
when you're ready to deploy:
How does it work?
Defang transforms your Docker Compose files into scalable, secure cloud deployments. It's like docker compose up
for the cloud. Ensure your cloud provider credentials are set up, then run defang compose up
in the same directory as your compose.yaml
file. Defang will upload your code, run a build process, and provision the necessary resources, including compute, networking, SSL certificates, and more.