- You remove the deployment. Deployz deletes the application and most of its networking, and keeps the data.
- You delete retained data, when your customer no longer needs it. Deployz deletes the database, stored files, and the rest.
- Your customer deletes the connector stack in their AWS account.
What removal deletes and keeps
The connector removes only resources tagged for this deployment. The removal dialog lists exactly what this deployment removes and keeps. Task-definition revisions that the connector registered, and AWS service-linked roles, also remain after removal. They cost nothing. Deployz also keeps its operational records of the deployment. For every AWS resource and what happens to it at each step, see What remains after removal.
Neither step deletes the Deployz connector stack, because your customer created it. Your customer deletes it last. See Your customer deletes the connector stack.
What stays in the customer's AWS account after each step.
Remove the deployment
Who: you (an owner or admin), in the Deployz dashboard. Members and your customer can’t remove a deployment.- In Deployments, open the customer’s deployment.
- Open the More actions menu (the three-dot button next to the actions), then select Remove deployment.
- In Remove
<application>for<customer>?, wait for the removal plan to load. Review Removed and Kept after removal. - Type the customer’s name exactly as shown, to confirm.
- Select Remove deployment.
Remove a deployment that never connected
If the connector has never connected, for example the deployment still shows Waiting for customer, Remove deployment is available. Nothing is installed yet, so the dialog says nothing is removed from your customer’s AWS account, and the removal completes right away. The install link stops working. If your customer already created the connector stack, it stays in their AWS account until they delete it.While the deployment is being removed
The deployment shows Removing, and the detail page shows Removing deployment with the connector’s status and a list of the deployment’s parts. The label next to each part says what the removal plan does with it: Removing, Kept after removal, Kept as snapshot, or Kept if configured. The labels don’t change as the removal progresses, so a part marked Removing may already be gone. Other actions are unavailable until removal finishes. When removal finishes, the deployment shows Removed, and the detail page shows Deployment removed.If removal fails
The detail page shows Removal failed and what went wrong. Select Retry removal to try again. It opens the same confirmation dialog. Until a removal succeeds, Deployz refuses to deploy, roll back, or restart the deployment. If it keeps failing, see Find your problem. If removal has failed at least twice, contact Deployz support. Support can complete the removal in Deployz. As with Mark as removed without cleanup, that doesn’t remove anything that’s left in your customer’s AWS account.If the connector is offline
Deployz can only remove resources through the connector. If the connector is offline and removal has been waiting for an hour or more, the detail page shows The Deployz connector is offline. and a Mark as removed without cleanup button. To go ahead, select Mark as removed without cleanup, then select Mark as removed in the confirmation dialog. The deployment shows Removed, with Resources may remain in<customer>’s AWS account. Your customer may need to delete those resources in their AWS console. See Remove the application from your AWS account.
Delete retained data
When your customer no longer needs the data, delete what removal kept. If they need the data, have them export or back it up first. Who: you (an owner or admin), in the Deployz dashboard. The deletion runs through the connector, so the connector must be online. If it isn’t, see If the connector is gone.- Open the removed deployment. You can find it with the Removed filter in Deployments.
- Under the note about retained resources, select Delete retained data.
- In Delete
<customer>’s retained data?, review This deletes. - Type the customer’s name exactly as shown, to confirm.
- Select Delete retained data.
If the connector is gone
If the connector is offline, for example because your customer already deleted the connector stack, Deployz can’t delete the retained data through it. The detail page shows The Deployz connector is offline and a Reconnect AWS button instead of Delete retained data. Reconnect AWS gives your customer a new install link that creates only the connector stack. It doesn’t install the application again. When the connector is back, Deployz deletes the retained data. Who: you (an owner or admin), in the Deployz dashboard, then your customer on the install page.- Open the removed deployment, then select Reconnect AWS.
- In Reconnect AWS and delete retained data?, type the customer’s name exactly as shown, to confirm.
- Select Reconnect AWS.
- Select Copy install link and send the link to your customer.
- Your customer opens the link. The page is titled Reconnect
<application>to delete its retained data. They select Connect AWS account and create the connector stack, as in Install the application. If the old connector stack is still in their account, the page offers to update it instead.
<customer> with the link. The link doesn’t change if you reload the page. When the connector is back, Deployz deletes the retained data, and the page shows Deleting retained data as usual.
If your customer installed a new connector themselves after the removal, AWS refuses to let it delete the retained data, because that data belongs to the old connector. The connector row shows Online · cannot delete this data, and the page says The connector is online, but it cannot delete this data. Use Reconnect AWS in the same way. The new link installs a connector that can delete the data.
Your customer deletes the connector stack
Who: your customer, in their AWS console. When the retained data is deleted, the detail page shows The Deployz connector is still installed in the customer AWS account and the stack’s name. Ask your customer to delete that stack. Their install link shows the same step. Your customer should delete the connector stack last. After it’s gone, Deployz can delete retained data only after a Reconnect AWS step. Send your customer Remove the application from your AWS account.Delete an application
When an application has no deployments left, you can delete it from Deployz. Its deployment history stays, and nothing changes in your customers’ AWS accounts. Its install links stop working. You can’t undo this, but you can add the same repository again later as a new application. Who: you (an owner or admin), in the Deployz dashboard. You can delete an application only when every deployment of it is removed and the retained data of each removed deployment is deleted. Until then, the Danger zone shows Delete unavailable with the reason.- Open the application and select Configuration.
- Select the Settings tab.
- In Danger zone, select Delete application.
- Type the repository name exactly as shown, for example
owner/repo, to confirm. - Select Delete application.
