Skip to main content


Defang allows you deploy services defined as containers. You can define your services using a compose file or a Pulumi program. Services can be exposed to the internet or kept private, and can communicate between themselves using the following conventions for hostnames:


You can learn more about accounts and usernames in the accounts page.

Service Names

Service names are defined in your compose file or your Pulumi program.

You can learn more about about how to define services with compose files here and services with Pulumi here. You can learn more about how services are deployed in the deployment page.


While this is the current state of the Defang model, we plan to add support for other types of services in the future, including serverless functions.