Skip to content

Commit 477364f

Browse files
authored
Add information on how to teardown production apps.
1 parent a284e50 commit 477364f

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

docs/tutorials/updating-your-services.md

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -32,6 +32,8 @@ The default deployment mode is `development`. This is the In this mode, the exis
3232

3333
If you are running in `production` mode, the update will be done with zero downtime. Your current version of the service will keep running and handling traffic while the new version is being built and deployed. Only after the new version passes the health checks and accepts traffic will the older version be stopped.
3434

35+
To teardown a production app deletion protection must be disabled. This can be done in two ways. Use `defang compose up --mode=staging` to change the app to a non-delete protected mode. `defang compose down` can then be executed after the deployment mode has been changed. Alternatively, in the AWS console for EC2 Instances dashboard you can turn off Termination Protection for the desired app.
36+
3537
:::info
3638
For more information on Deployment Modes, see the [Deployment Modes](/docs/concepts/deployment-modes) concept documentation.
3739
:::

0 commit comments

Comments
 (0)