As we speak, we’re asserting two new capabilities for Amazon S3 Tables: assist for the brand new Clever-Tiering storage class that routinely optimizes prices based mostly on entry patterns, and replication assist to routinely keep constant Apache Iceberg desk replicas throughout AWS Areas and accounts with out handbook sync.
Organizations working with tabular information face two widespread challenges. First, they should manually handle storage prices as their datasets develop and entry patterns change over time. Second, when sustaining replicas of Iceberg tables throughout Areas or accounts, they need to construct and keep complicated architectures to trace updates, handle object replication, and deal with metadata transformations.
S3 Tables Clever-Tiering storage class
With the S3 Tables Clever-Tiering storage class, information is routinely tiered to essentially the most cost-effective entry tier based mostly on entry patterns. Knowledge is saved in three low-latency tiers: Frequent Entry, Rare Entry (40% decrease price than Frequent Entry), and Archive Prompt Entry (68% decrease price in comparison with Rare Entry). After 30 days with out entry, information strikes to Rare Entry, and after 90 days, it strikes to Archive Prompt Entry. This occurs with out modifications to your functions or influence on efficiency.
Desk upkeep actions, together with compaction, snapshot expiration, and unreferenced file elimination, function with out affecting the information’s entry tiers. Compaction routinely processes solely information within the Frequent Entry tier, optimizing efficiency for actively queried information whereas decreasing upkeep prices by skipping colder recordsdata in lower-cost tiers.
By default, all current tables use the Normal storage class. When creating new tables, you may specify Clever-Tiering because the storage class, or you may depend on the default storage class configured on the desk bucket degree. You’ll be able to set Clever-Tiering because the default storage class in your desk bucket to routinely retailer tables in Clever-Tiering when no storage class is specified throughout creation.
Let me present you the way it works
You should utilize the AWS Command Line Interface (AWS CLI) and the put-table-bucket-storage-class and get-table-bucket-storage-class instructions to alter or confirm the storage tier of your S3 desk bucket.
# Change the storage class
aws s3tables put-table-bucket-storage-class
--table-bucket-arn $TABLE_BUCKET_ARN
--storage-class-configuration storageClass=INTELLIGENT_TIERING
# Confirm the storage class
aws s3tables get-table-bucket-storage-class
--table-bucket-arn $TABLE_BUCKET_ARN
{ "storageClassConfiguration":
{
"storageClass": "INTELLIGENT_TIERING"
}
}
S3 Tables replication assist
The brand new S3 Tables replication assist helps you keep constant learn replicas of your tables throughout AWS Areas and accounts. You specify the vacation spot desk bucket and the service creates read-only reproduction tables. It replicates all updates chronologically whereas preserving parent-child snapshot relationships. Desk replication helps you construct world datasets to attenuate question latency for geographically distributed groups, meet compliance necessities, and supply information safety.
Now you can simply create reproduction tables that ship comparable question efficiency as their supply tables. Duplicate tables are up to date inside minutes of supply desk updates and assist unbiased encryption and retention insurance policies from their supply tables. Duplicate tables could be queried utilizing Amazon SageMaker Unified Studio or any Iceberg-compatible engine together with DuckDB, PyIceberg, Apache Spark, and Trino.
You’ll be able to create and keep replicas of your tables by means of the AWS Administration Console or APIs and AWS SDKs. You specify a number of vacation spot desk buckets to copy your supply tables. Once you activate replication, S3 Tables routinely creates read-only reproduction tables in your vacation spot desk buckets, backfills them with the newest state of the supply desk, and regularly screens for brand spanking new updates to maintain replicas in sync. This helps you meet time-travel and audit necessities whereas sustaining a number of replicas of your information.
Let me present you the way it works
To point out you the way it works, I proceed in three steps. First, I create an S3 desk bucket, create an Iceberg desk, and populate it with information. Second, I configure the replication. Third, I connect with the replicated desk and question the information to indicate you that modifications are replicated.
For this demo, the S3 group kindly gave me entry to an Amazon EMR cluster already provisioned. You’ll be able to comply with the Amazon EMR documentation to create your individual cluster. Additionally they created two S3 desk buckets, a supply and a vacation spot for the replication. Once more, the S3 Tables documentation will aid you to get began.
I take a observe of the 2 S3 Tables bucket Amazon Useful resource Names (ARNs). On this demo, I refer to those because the setting variables SOURCE_TABLE_ARN and DEST_TABLE_ARN.
First step: Put together the supply database
I begin a terminal, connect with the EMR cluster, begin a Spark session, create a desk, and insert a row of knowledge. The instructions I exploit on this demo are documented in Accessing tables utilizing the Amazon S3 Tables Iceberg REST endpoint.
sudo spark-shell
--packages "org.apache.iceberg:iceberg-spark-runtime-3.5_2.12:1.4.1,software program.amazon.awssdk:bundle:2.20.160,software program.amazon.awssdk:url-connection-client:2.20.160"
--master "native[*]"
--conf "spark.sql.extensions=org.apache.iceberg.spark.extensions.IcebergSparkSessionExtensions"
--conf "spark.sql.defaultCatalog=spark_catalog"
--conf "spark.sql.catalog.spark_catalog=org.apache.iceberg.spark.SparkCatalog"
--conf "spark.sql.catalog.spark_catalog.sort=relaxation"
--conf "spark.sql.catalog.spark_catalog.uri=https://s3tables.us-east-1.amazonaws.com/iceberg"
--conf "spark.sql.catalog.spark_catalog.warehouse=arn:aws:s3tables:us-east-1:012345678901:bucket/aws-news-blog-test"
--conf "spark.sql.catalog.spark_catalog.relaxation.sigv4-enabled=true"
--conf "spark.sql.catalog.spark_catalog.relaxation.signing-name=s3tables"
--conf "spark.sql.catalog.spark_catalog.relaxation.signing-region=us-east-1"
--conf "spark.sql.catalog.spark_catalog.io-impl=org.apache.iceberg.aws.s3.S3FileIO"
--conf "spark.hadoop.fs.s3a.aws.credentials.supplier=org.apache.hadoop.fs.s3a.SimpleAWSCredentialProvider"
--conf "spark.sql.catalog.spark_catalog.rest-metrics-reporting-enabled=false"
spark.sql("""
CREATE TABLE s3tablesbucket.check.aws_news_blog (
customer_id STRING,
deal with STRING
) USING iceberg
""")
spark.sql("INSERT INTO s3tablesbucket.check.aws_news_blog VALUES ('cust1', 'val1')")
spark.sql("SELECT * FROM s3tablesbucket.check.aws_news_blog LIMIT 10").present()
+-----------+-------+
|customer_id|deal with|
+-----------+-------+
| cust1| val1|
+-----------+-------+
Thus far, so good.
Second step: Configure the replication for S3 Tables
Now, I exploit the CLI on my laptop computer to configure the S3 desk bucket replication.
Earlier than doing so, I create an AWS Identification and Entry Administration (IAM) coverage to authorize the replication service to entry my S3 desk bucket and encryption keys. Check with the S3 Tables replication documentation for the small print. The permissions I used for this demo are:
{
"Model": "2012-10-17",
"Assertion": [
{
"Effect": "Allow",
"Action": [
"s3:*",
"s3tables:*",
"kms:DescribeKey",
"kms:GenerateDataKey",
"kms:Decrypt"
],
"Useful resource": "*"
}
]
}
After having created this IAM coverage, I can now proceed and configure the replication:
aws s3tables-replication put-table-replication
--table-arn ${SOURCE_TABLE_ARN}
--configuration '{
"function": "arn:aws:iam:::function/S3TableReplicationManualTestingRole",
"guidelines":[
{
"destinations": [
{
"destinationTableBucketARN": "${DST_TABLE_ARN}"
}]
}
]
The replication begins routinely. Updates are usually replicated inside minutes. The time it takes to finish depends upon the quantity of knowledge within the supply desk.
Third step: Hook up with the replicated desk and question the information
Now, I connect with the EMR cluster once more, and I begin a second Spark session. This time, I exploit the vacation spot desk.
To confirm the replication works, I insert a second row of knowledge on the supply desk.
spark.sql("INSERT INTO s3tablesbucket.check.aws_news_blog VALUES ('cust2', 'val2')")
I wait a couple of minutes for the replication to set off. I comply with the standing of the replication with the get-table-replication-status command.
aws s3tables-replication get-table-replication-status
--table-arn ${SOURCE_TABLE_ARN}
{
"sourceTableArn": "arn:aws:s3tables:us-east-1:012345678901:bucket/manual-test/desk/e0fce724-b758-4ee6-85f7-ca8bce556b41",
"locations": [
{
"replicationStatus": "pending",
"destinationTableBucketArn": "arn:aws:s3tables:us-east-1:012345678901:bucket/manual-test-dst",
"destinationTableArn": "arn:aws:s3tables:us-east-1:012345678901:bucket/manual-test-dst/table/5e3fb799-10dc-470d-a380-1a16d6716db0",
"lastSuccessfulReplicatedUpdate": {
"metadataLocation": "s3://e0fce724-b758-4ee6-8-i9tkzok34kum8fy6jpex5jn68cwf4use1b-s3alias/e0fce724-b758-4ee6-85f7-ca8bce556b41/metadata/00001-40a15eb3-d72d-43fe-a1cf-84b4b3934e4c.metadata.json",
"timestamp": "2025-11-14T12:58:18.140281+00:00"
}
}
]
}
When replication standing exhibits prepared, I connect with the EMR cluster and I question the vacation spot desk. With out shock, I see the brand new row of knowledge.
Further issues to know
Listed here are a few extra factors to concentrate to:
- Replication for S3 Tables helps each Apache Iceberg V2 and V3 desk codecs, supplying you with flexibility in your desk format selection.
- You’ll be able to configure replication on the desk bucket degree, making it easy to copy all tables below that bucket with out particular person desk configurations.
- Your reproduction tables keep the storage class you select in your vacation spot tables, which implies you may optimize in your particular price and efficiency wants.
- Any Iceberg-compatible catalog can instantly question your reproduction tables with out extra coordination—they solely have to level to the reproduction desk location. This offers you flexibility in selecting question engines and instruments.
Pricing and availability
You’ll be able to monitor your storage utilization by entry tier by means of AWS Price and Utilization Reviews and Amazon CloudWatch metrics. For replication monitoring, AWS CloudTrail logs present occasions for every replicated object.
There aren’t any extra costs to configure Clever-Tiering. You solely pay for storage prices in every tier. Your tables proceed to work as earlier than, with computerized price optimization based mostly in your entry patterns.
For S3 Tables replication, you pay the S3 Tables costs for storage within the vacation spot desk, for replication PUT requests, for desk updates (commits), and for object monitoring on the replicated information. For cross-Area desk replication, you additionally pay for inter-Area information switch out from Amazon S3 to the vacation spot Area based mostly on the Area pair.
As normal, check with the Amazon S3 pricing web page for the small print.
Each capabilities can be found at this time in all AWS Areas the place S3 Tables are supported.
To be taught extra about these new capabilities, go to the Amazon S3 Tables documentation or strive them within the Amazon S3 console at this time. Share your suggestions by means of AWS re:Submit for Amazon S3 or by means of your AWS Assist contacts.


