Step 7 (optional): Clean up resources - Amazon Quantum Ledger Database (Amazon QLDB)

Step 7 (optional): Clean up resources

You can continue using the vehicle-registration ledger. However, if you no longer need it, you should delete it.

If deletion protection is enabled for your ledger, you must first disable it before you can delete the ledger using the QLDB API, AWS Command Line Interface (AWS CLI), or QLDB console.

To delete the ledger
  1. Open the Amazon QLDB console at https://console.aws.amazon.com/qldb.

  2. In the navigation pane, choose Ledgers.

  3. If deletion protection is enabled for this ledger, you must first turn it off.

    In the list of ledgers, select vehicle-registration, and then choose Edit ledger.

  4. On the Edit ledger page, turn off Deletion protection, and then choose Confirm changes.

  5. In the list of ledgers, select vehicle-registration again, and then choose Delete.

  6. Confirm this by entering delete vehicle-registration in the field provided.

To learn more about working with ledgers in QLDB, see Getting started with Amazon QLDB: Next steps.