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
- 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.
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.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.
- Open the link and sign in with your email.
- 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.
- Wait while Deployz deletes the retained data.
- Delete the connector stack, as in Delete the connector stack.
Delete it yourself
Who: you, in your AWS console. The retained resources carry thedeployz: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.
- 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.
- Empty the storage bucket, then delete it.
- Delete the database’s secrets in Secrets Manager.
- 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.
- 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.- On the install page, select Open AWS CloudFormation, or open the CloudFormation console in the application’s Region.
- Select the connector stack. Its name starts with
deployz-bootstrap-, and the install page shows the exact name. - Delete the stack.
- 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
