From the course: Cloud NoSQL for SQL Professionals

Use AWS QLDB - NoSQL Tutorial

From the course: Cloud NoSQL for SQL Professionals

Start my 1-month free trial

Use AWS QLDB

- Here we are in Amazon QLDB. And notice we can create a ledger or we can start the tutorial. Again, it has a pretty good description of how this works, talks about the journal and the current state and the indexed history and the cryptographic verification. So we're going to actually start the tutorial. So there are a couple sections here. The first thing is we're going to create an empty ledger and we're going to call it Vehicle Registration. We could put tags on it, we're not going to bother to do that, we're going to create the ledger and it's creating. Notice it says it may take a few minutes to become active. Now our ledger is created. So we're going to go back to the tutorial. We're going to refresh, select our ledger, and we're going to load it with sample data. Now that's completed, and we're going to open the query editor. We're going to select our ledger and we'll see that we have some information that's been populated. So we have vehicle information, driver's license, registration, and person information. Now, we're going to query the information. So we're going to copy this query, paste it into the editor and we're selecting the vehicle information for this VIN. We're going to click Run and we'll see that we have one result. And you can see this is from the tutorial, the associated tutorial, so we'll just run a second query just so you can see how this works, we're going to join the vehicle with the vehicle registration to get related information. Copy the query, paste it in, and there's our result. So now back to the tutorial. We could also verify the integrity of a document in the ledger journal by using cryptographic hashing with SHA-256. If we want to see that information, we can open that up and then we could perform the steps here. We could go to the ledgers and then we can get the digest. And there's our digest. Now in addition to this tutorial, I recommended in the previous movie that you may want to also do the manage block chain tutorial, which, as I was saying, took me a couple of hours because I wanted to make sure I understood all the concepts. I think if you just ran through it quickly, it would be faster. To summarize, Amazon QLDB does not require that you use Amazon blockchain, but these two are often used together.

Contents