Skip to main content
Removing the application happens in up to three parts: your software provider removes the deployment, the data it kept is deleted, and you delete the Deployz connector stack. Do them in that order.
What stays in the customer's AWS account after each removal step. Before removal, everything is in place. Step 1, Remove deployment in Deployz, deletes the application containers, the load balancer and most networking, the cache, configuration secret, and log groups, the custom domain, and the certificates. It keeps the database, its credentials, the storage bucket, the network the database uses, and the connector stack. Retained resources keep costing money in AWS. Step 2, Delete retained data, deletes everything retained except the connector stack. Step 3, deleting the connector stack in the AWS console, removes the last part. Delete the connector stack last.What stays in the customer's AWS account after each removal step. Before removal, everything is in place. Step 1, Remove deployment in Deployz, deletes the application containers, the load balancer and most networking, the cache, configuration secret, and log groups, the custom domain, and the certificates. It keeps the database, its credentials, the storage bucket, the network the database uses, and the connector stack. Retained resources keep costing money in AWS. Step 2, Delete retained data, deletes everything retained except the connector stack. Step 3, deleting the connector stack in the AWS console, removes the last part. Delete the connector stack last.

What stays in your AWS account after each step.

1. Your software provider removes the deployment

Who: your software provider, in Deployz. You can’t remove the deployment in Deployz yourself. Ask your software provider to remove the deployment. The connector then removes the application and most of its networking, including the HTTPS certificates for the default address and any custom domain. It removes only resources tagged for this deployment. While this runs, the install page shows Removing deployment. When it finishes, it shows Deployment removed and lists What can remain in your AWS account. You need to be signed in to see it. See Sign in with your email.

What remains after removal

Removal keeps these resources so that your data isn’t lost:
  • The database, with deletion protection on. Its AWS automated backups continue.
  • The database’s credentials, in AWS Secrets Manager
  • The storage bucket
  • The network parts the database uses
  • The Deployz connector stack
These retained resources keep costing money in your AWS account until they’re deleted.
These also remain, at no cost:
  • Task-definition revisions that the connector registered in Amazon ECS
  • Service-linked roles that AWS created for Amazon ECS, Elastic Load Balancing, Amazon RDS, or Amazon ElastiCache. Other workloads in the account can use them too.
Outside your account, Deployz keeps its operational records for the deployment, such as IDs, states, and timestamps, for records and billing history.

2. Delete the retained data

You can ask your software provider to delete the retained data, or delete it yourself in the AWS console. Either way, the deletion is permanent. After your software provider deletes the retained data, the install page heading changes to What remains in your AWS account. It lists only the Deployz connector, says your software provider deleted the data that was kept, and asks you to delete the connector stack in AWS CloudFormation. The cost warning no longer appears.
Deleting retained data deletes the database without a final snapshot, together with its automated backups, and deletes the storage bucket and its files. If you need the data, export it or take your own database snapshot first.

Ask your software provider

Who: your software provider, in Deployz, while the connector is still in your account. Delete retained data is a separate step your software provider confirms explicitly. It deletes the database, the bucket, the application’s secrets, any cache or certificates that removal didn’t delete, the task-definition revisions the connector registered, and the remaining network. It runs through the connector, so keep the connector stack until it finishes. If you already deleted the connector stack, your software provider can send you a new install link. Its page is titled Reconnect <application> to delete its retained data. It creates only the Deployz connector stack and doesn’t install the application again.
  1. Open the link and sign in with your email.
  2. Select Connect AWS account and create the stack, as during the install. If the page shows that the old connector stack is still in your account, update that stack instead of creating a new one. See Update the connector stack.
  3. Wait while Deployz deletes the retained data.
  4. Delete the connector stack, as in Delete the connector stack.

Delete it yourself

Who: you, in your AWS console. The retained resources carry the deployz:installation tag with your deployment’s installation ID. You can find them with the Tag Editor in AWS Resource Groups, in the application’s Region.
  1. Turn off deletion protection on the database, then delete the database. The Amazon RDS console asks whether to create a final snapshot and whether to keep the automated backups. Choose based on whether you still need the data. Kept backups remain for the rest of their retention period, which is 7 days unless your software provider chose a shorter one.
  2. Empty the storage bucket, then delete it.
  3. Delete the database’s secrets in Secrets Manager.
  4. Delete any certificates tagged with your installation ID that remain in AWS Certificate Manager. Removal normally deletes them, but one can remain if the removal didn’t finish.
  5. Delete the remaining network resources: the database’s subnet group and security group, the subnets, and the VPC.

3. Delete the connector stack

Who: you, in your AWS console. Delete the connector stack last. The connector stack holds the role that CloudFormation uses for your application. After you delete it, Deployz can’t change or remove anything in your account, and any remaining resources are yours to delete.
  1. On the install page, select Open AWS CloudFormation, or open the CloudFormation console in the application’s Region.
  2. Select the connector stack. Its name starts with deployz-bootstrap-, and the install page shows the exact name.
  3. Delete the stack.
This deletes the connector function, its schedule, and its roles. Your software provider sees the connector as offline once it stops checking in. For more on what this revokes, see Security and AWS access. These remain after you delete the stack. You can delete them in the AWS console:
  • The CloudWatch Logs log groups of the connector and its setup functions, whose names start with /aws/lambda/deployz-bootstrap-. Their entries expire after one week.
  • Systems Manager parameters under /deployz/<installation ID>/, if a command was still unfinished

If you delete the connector first

If you delete the connector stack before the deployment is removed, Deployz can no longer reach your account to remove anything. The application and all its resources stay in your account, and keep costing money, until you delete them yourself in the AWS console. Contact your software provider so they know the connector is gone.