Skip to content

Commit 69a0b16

Browse files
authored
Merge pull request #158 from DefangLabs/eric-teardown-production-apps
2 parents 62b02e4 + 63c0c4d commit 69a0b16

File tree

1 file changed

+11
-0
lines changed

1 file changed

+11
-0
lines changed

docs/tutorials/updating-your-services.md

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -32,6 +32,17 @@ 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+
## Deleting your Application
36+
37+
To delete your app, use `defang compose down` in your compose file working directory, or use the `--project-name` flag.
38+
39+
In some cases, particularly on the AWS platform, additional actions may be required. Specifically load balancers may have Deletion Protection on. To turn this off in the AWS Console for EC2 Load Balancers, follow these steps:
40+
41+
1. Select the load balancer corresponding to the app’s name.
42+
2. Go to the Attributes tab.
43+
3. Click the Edit button.
44+
4. Locate Deletion Protection and disable it.
45+
3546
:::info
3647
For more information on Deployment Modes, see the [Deployment Modes](/docs/concepts/deployment-modes) concept documentation.
3748
:::

0 commit comments

Comments
 (0)