Amazon Quantum Ledger Database (Amazon QLDB)
Cloud service · AWS · Updated

Amazon Quantum Ledger Database (Amazon QLDB)

In short

Amazon Quantum Ledger Database (Amazon QLDB) is a fully managed ledger database that provides a transparent, immutable, and cryptographically verifiable transaction log ‎owned by a central trusted authority.

Cloud Services Hub →

8 key features of Amazon Quantum Ledger Database (Amazon QLDB)

Amazon Quantum Ledger Database (QLDB) provides an immutable, cryptographically verifiable ledger with serverless scalability, ACID transactions, and full data transparency using PartiQL, also offering easy integration with Managed Blockchain services.

01
Immutable and Verifiable Ledger

Amazon QLDB is an append-only ledger database that allows you to record a complete and verifiable history of all transactions. Its immutability ensures no record can be altered or deleted after it’s committed.

02
Serverless

QLDB is serverless, eliminating the need for provisioning or managing servers. It automatically scales to support the demands of your applications.

03
Cryptographically Verifiable

The ledger's cryptographic hash function creates a secure output (digest) of your data’s complete change history, enabling you to independently verify the integrity of the data.

04
Transparent

With QLDB, you have full visibility into the entire change history of your data with a straightforward querying language (PartiQL), thus enhancing the transparency of your ledger.

05
ACID Transactions

Amazon QLDB supports ACID (Atomicity, Consistency, Isolation, Durability) transactions, ensuring that all your transactions are processed reliably.

06
Managed Blockchain Integration

Amazon QLDB works well alongside Amazon Managed Blockchain for use cases that require an immutable ledger with the decentralization of blockchain.

07
Fast and Easy to Set Up

Getting started with QLDB is quick and simple with no upfront cost or commitments. You can create and configure your ledger in a few clicks.

08
Standards-Based Querying with PartiQL

QLDB supports PartiQL, a SQL-compatible querying language, enabling you to use familiar syntax to manipulate your ledger data.

Where Amazon Quantum Ledger Database (Amazon QLDB) is used

Amazon QLDB is used for tracking financial transactions, ensuring supply chain traceability, managing HR and credentials, maintaining legal document integrity, and providing a secure ledger in the gaming industry.

  1. 01
    Financial Transactions Tracking

    Amazon QLDB provides a secure and transparent ledger for tracking financial transactions, ensuring data integrity with an immutable and cryptographically verifiable transaction log. Financial institutions can use QLDB to provide a single source of truth for trades, loans, and audits, reducing fraud and making compliance easier.

  2. 02
    Supply Chain Traceability

    Businesses can use Amazon QLDB to trace the provenance and status of products in a supply chain. By recording each step of the product journey on the ledger, companies can verify the authenticity of products, ensure compliance with regulations, and quickly trace any issues back to their source.

  3. 03
    HR and Credential Management

    QLDB can manage employee records and credentials securely, offering a tamper-proof system for storing personal data, employment histories, and professional certifications. This enables easy verification of credentials and streamlines the onboarding process.

  4. 04
    Legal Document Integrity

    For legal and compliance use cases, Amazon QLDB can maintain an accurate and immutable history of legal documents, changes, and access. This can be particularly useful in contract management, where every modification needs to be tracked and verified.

  5. 05
    Gaming Industry Ledger

    In online gaming, Amazon QLDB can track in-game asset ownership or player transactions to prevent fraud and cheating. The immutable ledger ensures that all transactions are fair and transparent, enhancing the overall trust in the gaming ecosystem.

How Amazon Quantum Ledger Database (Amazon QLDB) is priced

Amazon QLDB pricing models include charges for read and write operations, monthly data storage, and optional data export to Amazon S3.

Write and Read Operations

Amazon QLDB charges based on the number of read and write operations performed. This includes the cost for every insert, update, delete, or commit transactional operations, charges for every 100,000 read requests (including query reads and history function reads), and the cost for returned query results data transfer.

Data Storage

QLDB charges for the total amount of data stored on your ledger on a monthly basis. The pricing is based on the average amount of data stored in gigabytes across all ledgers within a given AWS Region.

Optional Data Export to Amazon S3

While using QLDB's data export feature to export journal data to Amazon S3, you will incur the standard costs for S3 usage, including storage, requests, and data transfer out of S3 based on the S3 pricing model.

Services Amazon Quantum Ledger Database (Amazon QLDB) works with

Amazon AthenaAmazon Athena

QLDB journal exports in Amazon Ion format could be queried in place in Amazon S3 using Athena's Ion SerDe. For example, an audit team could inspect document revisions in an export without first converting the files.

Amazon CloudWatchAmazon CloudWatch

QLDB published ledger metrics to CloudWatch, including read and write I/O, storage, and command latency. CloudWatch alarms could flag a sustained increase in transaction latency.

Amazon EventBridgeAmazon EventBridge

QLDB management API calls recorded by AWS CloudTrail could be matched by EventBridge rules. For example, a rule could route a DeleteLedger API event to an audit workflow.

Amazon Kinesis Data StreamsAmazon Kinesis Data Streams

QLDB journal streams delivered committed ledger changes to a specified Kinesis data stream in near real time. Consumers could use those records to maintain a separate read model without polling the ledger.

Amazon S3Amazon S3

QLDB could export journal entries for a specified time range to an S3 bucket in Amazon Ion or JSON Lines format. The export preserved the record of changes for offline analysis or archival.

Amazon VPCAmazon VPC

QLDB's session API could be reached through an interface VPC endpoint. Applications in private subnets could run ledger transactions without an internet gateway or NAT device.

AWS CloudFormationAWS CloudFormation

QLDB ledgers and journal streams could be provisioned as AWS::QLDB::Ledger and AWS::QLDB::Stream resources in a CloudFormation stack. A template could set ledger deletion protection and specify the Kinesis destination for the journal stream.

AWS CloudTrailAWS CloudTrail

QLDB management API calls were recorded by CloudTrail. An audit trail could show which identity created a ledger, changed its settings, or requested a journal export.

AWS Identity and Access Management (IAM)AWS Identity and Access Management (IAM)

QLDB used IAM policies to authorize ledger management and transaction access. In standard permissions mode, policies could restrict PartiQL actions to particular tables, and IAM service roles granted QLDB access to S3 export and Kinesis stream destinations.

AWS Key Management Service (AWS KMS)AWS Key Management Service (AWS KMS)

QLDB supported customer-managed KMS keys for ledger encryption at rest. S3 journal exports could also be configured to use server-side encryption with a KMS key.

What is Amazon Quantum Ledger Database (Amazon QLDB)

2 min read

Amazon Quantum Ledger Database (Amazon QLDB) is a fully managed ledger database provided by Amazon Web Services (AWS) that offers a transparent, immutable, and cryptographically verifiable transaction log, owned by a central trusted authority. 

The purpose of Amazon QLDB is to provide customers with the ability to track all application data changes over time in a secure and easy-to-use manner. It delivers the functionalities of a ledger technology, which enables users to maintain an accurate and complete record of their data changes without the need for the complexity that distributed blockchain networks typically involve. The immutable nature of Amazon QLDB means that once data is written to the ledger, it cannot be altered or deleted. This feature is paramount for use cases where maintaining an auditable and indisputable history of transactions or records is crucial, such as financial transactions, supply chain tracking, legal documents, and regulatory compliance records. 

Amazon QLDB uses an append-only transactional data model, ensuring that each transaction is recorded sequentially and securely. One of the unique aspects of Amazon QLDB is its use of a cryptographic digest, which serves as a secure output of the data's history. This digest acts like a fingerprint for the ledger's entire history, providing users with the ability to look back and validate the integrity of their data changes at any given point in time. If the historical data was altered in any way, the cryptographic digest would not match, signaling that the integrity has been compromised. 

Amazon QLDB is designed to offer high performance and scalability. It processes transactions quickly and ensures that users have the ability to scale up to handle the demands of enterprise-level applications without degradation in performance. The database is serverless, meaning there is no need to manage infrastructure, and users only pay for what they use. It simplifies the set-up process, management, and operation of a ledger-like database and removes the need for the involved maintenance that comes with self-managed databases or ledgers. 

Moreover, Amazon QLDB is equipped with a rich set of APIs enabling seamless integration with other AWS services and programming languages. The QLDB query language is SQL-like, allowing those familiar with SQL to transition smoothly without the steep learning curve that is often associated with new technologies. Customers of Amazon QLDB can benefit significantly from its non-repudiable and verifiable history of data changes, high-performance data processing, and the robust infrastructure offered by AWS. 

The service is built for users who need to keep a complete and verifiable history of data changes in their applications but do not require the decentralized trust offered by blockchain networks. By leveraging the centralized trust model and the strong immutability and integrity checks of Amazon QLDB, businesses can operate more transparently and efficiently, meeting their regulatory and compliance requirements while also fostering trust in their data management practices.

AWS architecture icons are the property of Amazon Web Services. BlowStack is not affiliated with or endorsed by AWS.