Delete an appliance
Deleting an appliance removes it from AWS Backup. Follow the steps in order, and then clean up the resources in your environment.
Steps to delete an appliance
You can't delete an appliance while a software update is in progress or while one of its nodes is being deleted.
To delete an appliance
-
Copy the local recovery points that you want to keep to a cloud vault.
-
Delete the recovery points in the appliance's local vault. A local vault can't be deleted while it holds recovery points.
-
Delete the local vault.
-
(Optional) Migrate the resource providers that are registered to the appliance to another appliance, or unregister them. If you skip this step, after the appliance is deleted the resource providers show
SYNC_FAILEDand their resource targets showUNAVAILABLE. You can then migrate or delete them. -
Delete the appliance. On the appliance details page in the AWS Backup console, choose Delete appliance, type
delete, and then choose Delete. Or callDeleteAppliance. -
Wait until the management status is
DELETED, and then remove the VMs or instances and their disks. See Clean up your environment.
If the deletion fails or the appliance is disconnected
If a deletion fails, the management status changes to DELETE_FAILED, and you can't run or change the appliance. If the appliance's nodes are running and reachable, retry the deletion.
If the appliance is DISCONNECTED or DELETE_FAILED and its nodes can't be reached, force delete it.
To force delete an appliance
-
On the appliance details page in the AWS Backup console, choose Delete appliance.
-
Type
deleteto confirm. -
Turn on Force delete appliance. This option applies only to appliances with a management status of Disconnected or Delete failed.
-
Select the acknowledgement that force delete deletes the appliance and its contents, and can affect related resources.
-
Choose Delete.
With the API, call DeleteAppliance with Force set to true.
Force delete removes the appliance from AWS Backup right away, without contacting its nodes and without checking for a local vault. It can't be undone. Recovery points that exist only in the local vault are lost: within a few minutes, they're marked EXPIRED and can't be restored. After a force delete, do the following:
-
Delete the expired recovery points and the local vault.
-
Migrate or delete the appliance's resource providers.
-
Remove the VMs or instances yourself. Force delete doesn't remove the software from them. See Clean up your environment.
Clean up your environment
After AWS deletes the appliance, remove the underlying VMs (on-premises) or Amazon EC2 instances and their disks (in-cloud) from your environment.
Don't delete the VMs or terminate the Amazon EC2 instances while the appliance is being deleted. Doing so interrupts the deletion, the appliance can't finish deleting, and you continue to be charged for it. Wait until the deletion completes, then remove them.