Amazon Neptune
User Guide (API Version 2017-11-29)

Deleting a DB Instance

You can delete an Amazon Neptune DB instance in any state and at any time. To delete a DB instance, you must specify the name of the instance and whether you want to have a final DB snapshot taken of the instance. If the DB instance that you're deleting has a status of Creating, you can't have a final DB snapshot taken. If the DB instance is in a failure state with a status of failed, incompatible-restore, or incompatible-network, you can only delete the instance when the SkipFinalSnapshot parameter is set to true.

Important

If you choose not to create a final DB snapshot, you can't later restore the DB instance to its final state. When you delete a DB instance, all automated backups are deleted and cannot be recovered. Manual DB snapshots of the instance are not deleted.

If you delete all Neptune DB instances in a DB cluster using the AWS Management Console, the DB cluster will be deleted automatically. If you are using the AWS CLI or SDK, you must delete the DB cluster manually after you delete the last instance.

If the DB instance that you want to delete has a Read Replica, you should either promote the Read Replica or delete it.

In the following examples, you delete a DB instance both with and without a final DB snapshot.

Deleting a DB Instance with No Final Snapshot

If you want to quickly delete a DB instance, you can skip creating a final DB snapshot. When you delete a DB instance, all automated backups are deleted and cannot be recovered. Manual snapshots are not deleted.

Deleting a DB Instance Using the Console

Follow these steps to use the AWS Management Console to delete a Neptune DB instance without a final DB snapshot.

To delete a DB instance with no final DB snapshot

  1. Sign in to the AWS Management Console, and open the Amazon Neptune console at https://console.aws.amazon.com/neptune/home.

  2. Choose Instances in the left navigation pane.

  3. In the Instances list, choose the radio button next to the DB instance that you want to delete.

  4. Choose Instance actions, and then choose Delete from the menu.

  5. Choose No in the Create final snapshot? box.

  6. Choose Delete.

Deleting a DB Instance with a Final Snapshot

If you want to be able to restore a deleted DB instance at a later time, you can create a final DB snapshot. All automated backups are also deleted and cannot be recovered. Manual snapshots are not deleted.

Deleting a DB Instance Using the Console

Follow these steps to use the AWS Management Console to delete a Neptune DB instance with a final DB snapshot.

To delete a DB instance with a final DB snapshot

  1. Sign in to the AWS Management Console, and open the Amazon Neptune console at https://console.aws.amazon.com/neptune/home.

  2. Choose Instances in the left navigation pane.

  3. In the Instances list, choose the radio button next to the DB instance that you want to delete.

  4. Choose Instance actions, and then choose Delete from the menu.

  5. Choose Yes in the Create final snapshot? box.

  6. In the Final snapshot name box, type the name of your final DB snapshot.

  7. Choose Delete.