# Cost-effective ETL with DuckDB and Amazon S3 Tables on AWS Glue

DevFeed: [Cost-effective ETL with DuckDB and Amazon S3 Tables on AWS Glue](<https://devfeed.tech/articles/cost-effective-etl-with-duckdb-and-amazon-s3-tables-on-aws-glue-65454.md>)

Original publisher: [Read original article](<https://aws.amazon.com/blogs/big-data/cost-effective-etl-with-duckdb-and-amazon-s3-tables-on-aws-glue/>)

Author: Bezuayehu Wate

Published: 2026-10-06T16:13:02Z

Content type: tutorial

Language: en

Sources: [AWS Big Data Blog](<https://devfeed.tech/sources/aws-big-data-blog.md>)

Topics: [AWS Glue](<https://devfeed.tech/topics/aws-glue.md>), [DuckDB](<https://devfeed.tech/topics/duckdb.md>), [Amazon S3 Tables](<https://devfeed.tech/topics/amazon-s3-tables.md>), [etl](<https://devfeed.tech/topics/etl.md>), [Amazon S3](<https://devfeed.tech/topics/amazon-s3.md>), [Apache Iceberg](<https://devfeed.tech/topics/apache-iceberg.md>), [parquet](<https://devfeed.tech/topics/parquet.md>)

Tags: [advanced-300](<https://devfeed.tech/tags/advanced-300.md>), [amazon-s3-tables](<https://devfeed.tech/tags/amazon-s3-tables.md>), [aws-glue](<https://devfeed.tech/tags/aws-glue.md>), [technical-how-to](<https://devfeed.tech/tags/technical-how-to.md>)

## AI overview

The tutorial explains how to run DuckDB in AWS Glue 6.0 to read Parquet from Amazon S3, transform data with SQL, and write Iceberg tables to Amazon S3 Tables. It covers configuration, permissions, worker sizing, monitoring, and recovery from partial writes. For the demonstrated 8.4-million-row workload, DuckDB took approximately half the runtime and cost of an equivalent Spark job on the same Glue configuration; distributed workloads remain a use case for Spark.

## Source excerpt

Learn how to pair DuckDB with AWS Glue 6.0 to run SQL-centric ETL on a single worker, reading Parquet from Amazon S3 and writing Apache Iceberg tables to Amazon S3 Tables. This post walks through a complete, runnable example and compares measured cost and runtime against an equivalent Apache Spark job on the same Glue runtime.