In this section, we will login to our AWS account, create the QLDB ledger, and load a sample dataset.
Visit (https://console.aws.amazon.com) in a web browser. Select “IAM user” and enter your AWS account ID.
Enter your IAM user name and password and click “Sign In”.
After logging in, you are redirected to the AWS console as shown below.
Note the selected region in the upper right-hand corner of the console. Set this to a region that supports QLDB. The examples in this lab will use US West (Oregon) us-west-2.
Navigate to Amazon QLDB by finding it under the list of services under Database, or you can find it by typing it in the search bar at the top.
In the navigation pane of the Amazon QLDB console, go to the “Getting started” page and then click “Create ledger”:
On the “Create ledger” page, the Ledger name should be pre-populated with “vehicle-registration”. If it isn’t, enter “vehicle-registration” into the Ledger name box. Add any tags that you see fit, and then click Create ledger.
You can access your ledger when its status becomes “Active”, which may take several minutes.
Return to the “Getting started” page and proceed to the “Sample application data” section. Under the automatic option, choose “vehicle-registration” in the list of ledgers and click Load sample data.
The console should display “Sample data loaded” when the operation finishes successfully. This feature automatically creates four tables within the “vehicle-registration” ledger:
DriversLicense. It also creates indexes on these tables and inserts documents with sample data into them.