Skip to content

Commit 909272c

Browse files
authored
Update with deleting production information
1 parent 23a607c commit 909272c

File tree

1 file changed

+5
-6
lines changed

1 file changed

+5
-6
lines changed

docs/tutorials/updating-your-services.md

Lines changed: 5 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -32,13 +32,12 @@ 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 Termination Protection must be disabled. This can be done in two ways.
35+
To delete a production app, use `defang compose down`. In some cases, particularly on the AWS platform, additional actions to be required. Specifically load balancers may have Detetion Protection on. To turn this off in the AWS Console for EC2 Load Balancers, follow these steps:
3636

37-
- 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.
38-
39-
OR
40-
41-
- Alternatively, in the AWS console for EC2 Instances dashboard you can turn off Termination Protection for the desired app.
37+
1. Select the load balancer corresponding to the app’s name.
38+
2. Go to the Attributes tab.
39+
3. Click the Edit button.
40+
4. Locate Deletion Protection and disable it.
4241

4342
:::info
4443
For more information on Deployment Modes, see the [Deployment Modes](/docs/concepts/deployment-modes) concept documentation.

0 commit comments

Comments
 (0)