Aurora PostgreSQL integration with Amazon S3 Tables
A row written to Aurora PostgreSQL appears in an Apache Iceberg table in Amazon S3 Tables, queried with Amazon Athena.
AWS Cloud
Region us-east-1
VPC, private subnets
Presenter
quickstart.py
RDS Data API
SQL over HTTPS
AWS Secrets Manager
managed master secret
Aurora PostgreSQL
Serverless v2
public.orders
Integration (preview)
full sync, then CDC
S3 table bucket
Iceberg table
public_orders
Amazon Athena
workgroup
10 MB scan limit
AWS Glue Data Catalog
s3tablescatalog
1
2
3
4
5
6
1
2
3
4
5
6
LINES
SQL writes
Managed replication
Athena queries
Lookups and reads
FLOW
The script creates the VPC, cluster, table bucket, integration and workgroup.
It inserts, updates and deletes a row through the Data API, with no password.
Enhanced logical replication captures each committed change.
The integration writes the changes to an Iceberg table in the table bucket.
The script polls Athena until each change is visible and prints the delay.
Athena reads the table through the s3tablescatalog Glue catalog.