---
title: "How United Airlines streams database changes to Apache Iceberg with Amazon Data Firehose"
description: "United Airlines built a near-real-time Change Data Capture (CDC) pipeline from an operational Amazon Aurora MySQL database to Apache Iceberg tables using AWS managed services, replacing a legacy batch process that caused stale data. The pipeline uses AWS DMS to capture changes, Amazon Kinesis Data Streams for buffering, an AWS Lambda function to parse the CDC record format, and Amazon Data Firehose to write Parquet files to Iceberg on Amazon S3 and commit new snapshots. Queries scanning more than 10 million rows no longer hit bottlenecks, average query latency improved 5x, and total job processing time dropped 2x. The provided CloudFormation template automates replication of a single source table, with Firehose handling Iceberg commits, while the Lambda transform is engine-specific. End-to-end latency can be as low as 10 seconds, adjustable via the Firehose buffer interval, and the data is queryable from AWS Glue, Amazon Redshift, and Amazon Athena."
---

# How United Airlines streams database changes to Apache Iceberg with Amazon Data Firehose

[AWS](https://yomu.fyi/company/aws) · Guillaume Dupont · Nov 18, 2026

**Type:** Tutorial

## Summary

United Airlines built a near-real-time Change Data Capture (CDC) pipeline from an operational Amazon Aurora MySQL database to Apache Iceberg tables using AWS managed services, replacing a legacy batch process that caused stale data. The pipeline uses AWS DMS to capture changes, Amazon Kinesis Data Streams for buffering, an AWS Lambda function to parse the CDC record format, and Amazon Data Firehose to write Parquet files to Iceberg on Amazon S3 and commit new snapshots. Queries scanning more than 10 million rows no longer hit bottlenecks, average query latency improved 5x, and total job processing time dropped 2x. The provided CloudFormation template automates replication of a single source table, with Firehose handling Iceberg commits, while the Lambda transform is engine-specific. End-to-end latency can be as low as 10 seconds, adjustable via the Firehose buffer interval, and the data is queryable from AWS Glue, Amazon Redshift, and Amazon Athena.

## Context

United Airlines needed near-real-time Change Data Capture (CDC) replication from an operational Amazon Aurora MySQL database to Apache Iceberg tables for its Revenue Management data platform. The legacy batch process caused stale data and delayed business decisions during a multi-year modernization.

## Takeaways

- Queries scanning more than 10 million rows no longer hit bottlenecks, and average query latency improved 5x.
- Amazon Data Firehose reads change events from Kinesis Data Streams, writes Parquet files to Iceberg tables, and commits a new table snapshot without requiring a separate application or server management.
- The Lambda transform is engine-specific; switching CDC engines requires rewriting the Lambda function to parse the new record format and emit the required destination database, table, and operation.

## FAQ

### What end-to-end latency does the pipeline achieve?

United Airlines has seen end-to-end latency as low as about 10 seconds. You can trade latency against cost by adjusting the Firehose buffer interval, with shorter buffers committing snapshots more frequently.

### How does the pipeline handle source schema changes?

Firehose handles source schema changes by skipping new fields if existing column names and data types match. If column names or data types don't match, Firehose returns an error and sends the record to the S3 error bucket. At United Airlines, schema evolution is handled outside this architecture.

### What are the key cost components of this architecture?

Key costs include AWS DMS Serverless ($0.08-$0.33 per hour), Kinesis Data Streams ($0.06 per hour for 4 shards), Firehose ($0.045 per GB for Iceberg delivery), Lambda (per request/duration), and S3 storage and PUT requests. VPC endpoints add hourly charges per AZ. Costs require periodic review.

**Tags:** [Apache Iceberg](https://yomu.fyi/topic/apache-iceberg), [AWS](https://yomu.fyi/topic/aws), [CDC](https://yomu.fyi/topic/cdc), [Data Pipelines](https://yomu.fyi/topic/data-pipelines)

- Source: [AWS](https://aws.amazon.com/blogs/architecture/how-united-airlines-streams-database-changes-to-apache-iceberg-with-amazon-data-firehose)
- Source URL: https://aws.amazon.com/blogs/architecture/how-united-airlines-streams-database-changes-to-apache-iceberg-with-amazon-data-firehose
- Ingested by Yomu: 2026-11-18T21:00:15.120Z

[Read original post](https://aws.amazon.com/blogs/architecture/how-united-airlines-streams-database-changes-to-apache-iceberg-with-amazon-data-firehose)
