View a markdown version of this page

Delete an appliance - AWS Backup

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
  1. Copy the local recovery points that you want to keep to a cloud vault.

  2. Delete the recovery points in the appliance's local vault. A local vault can't be deleted while it holds recovery points.

  3. Delete the local vault.

  4. (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_FAILED and their resource targets show UNAVAILABLE. You can then migrate or delete them.

  5. Delete the appliance. On the appliance details page in the AWS Backup console, choose Delete appliance, type delete, and then choose Delete. Or call DeleteAppliance.

  6. 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
  1. On the appliance details page in the AWS Backup console, choose Delete appliance.

  2. Type delete to confirm.

  3. Turn on Force delete appliance. This option applies only to appliances with a management status of Disconnected or Delete failed.

  4. Select the acknowledgement that force delete deletes the appliance and its contents, and can affect related resources.

  5. 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.

Important

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.