Skip to content

Commit 31d294e

Browse files
committed
Merge branch 'linda-docs-8' of https://github.com/DefangLabs/defang-docs into linda-docs-8
2 parents 5e8b53c + 5de2e5d commit 31d294e

File tree

2 files changed

+11
-5
lines changed

2 files changed

+11
-5
lines changed

docs/concepts/accounts.md

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -8,9 +8,7 @@ sidebar_position: 100
88

99
Below, we will cover account creation with Defang, and how resources are organized within a cloud environment using your account info.
1010

11-
Defang requires an account so we can organize your resources and provide you with a way to manage them. We also use your account to authenticate you when you interact with [Defang Playground](./defang-playground.md) and the [Defang Portal](./portal.md).
12-
13-
Eventually, billing and payment information will be associated with your account.
11+
Defang requires an account so we can organize your resources and provide you with a way to manage them. We also use your account to authenticate you when you interact with [Defang Playground](./defang-playground.md) and the [Defang Portal](./portal.md). Billing and payment information is also associated with your account.
1412

1513
## Creating an Account
1614

docs/concepts/deployments.md

Lines changed: 10 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -10,14 +10,22 @@ When you deploy using Defang, whether it's with `defang compose up` with a [Comp
1010

1111
## Deploying Updates
1212

13-
When you run a deployment to update one or more [services](/docs/concepts/services), Defang will also make sure to get your new services up and running before deprovisioning any old services so you don't have to worry about downtime.
13+
When you run a deployment to update one or more [services](/docs/concepts/services), Defang will build new images for your services, and provision new resources to replace your existing services.
14+
15+
### Zero Downtime Deployments
16+
17+
Defang can deploy your services using different [modes](/docs/concepts/deployment-modes). When using the `production` mode, Defang will make sure the new replacement services are healthy before deprovisioning your existing services.
18+
19+
By default, using the `development` mode, Defang will deprovision your existing services before provisioning replacements. This helps reduce costs.
1420

1521
:::info
1622
In [Defang BYOC](./defang-byoc.md), Defang uses your cloud provider account to build and store your images. In [Defang Playground](./defang-playground.md), we build and store your images for you.
1723
:::
1824

19-
Note that we offer different [deployment modes](/docs/concepts/deployment-modes): development, staging, and production. You can switch the modes using the CLI.
2025

26+
### Deployment Modes
27+
28+
As mentioned above, Defang offers different [deployment modes](/docs/concepts/deployment-modes): `development`, `staging`, and `production`. You can switch the modes using the `--mode` CLI flag.
2129
:::warning
2230
Workloads with GPUs do not support zero downtime deployments. If you have a workload with a GPU, you will experience downtime during updates.
2331
:::

0 commit comments

Comments
 (0)