Amazon Quantum Ledger Database (Amazon QLDB)
Developer Guide

Step 1: Create a New Ledger

In this step, you create a new Amazon QLDB ledger named vehicle-registration. Then, you confirm that the status of the ledger is Active. You can also verify any tags that you added to the ledger.

When you create a ledger, deletion protection is enabled by default. Deletion protection is a feature in QLDB that prevents ledgers from being deleted. You can disable deletion protection when you create a ledger using the QLDB API or the AWS Command Line Interface (AWS CLI).

To create a new ledger

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

  2. In the navigation pane, choose Getting started.

  3. On the Create your first ledger card, choose Create Ledger.

  4. On the Create Ledger page, do the following:

    • Ledger information—For the Ledger name, enter the following.

      vehicle-registration
    • Tags—(Optional) Add metadata to the ledger by attaching tags as key-value pairs. You can add tags to your ledger to help organize and identify them. For more information, see Tagging Amazon QLDB Resources.

      Choose Add tag, and then enter any key-value pairs as appropriate.

  5. When the settings are as you want them, choose Create ledger.

    Note

    You can access your QLDB ledger when its status becomes Active. This can take several minutes.

  6. In the list of Ledgers, locate vehicle-registration and confirm that the ledger's status is Active.

  7. (Optional) Choose the vehicle-registration ledger name. On the vehicle-registration ledger details page, confirm that any tags that you added to the ledger appear on the Tags card. You can also edit your ledger tags using this console page.

To create tables in the vehicle-registration ledger, proceed to Step 2: Create Tables, Indexes, and Sample Data.