Understanding Amazon S3 Storage Lens for Tables
This topic explains the concepts and terminology that Amazon S3 Storage Lens for Tables uses. Read it before you create your first configuration so that you know what each setting controls and what you get back.
Amazon S3 Storage Lens for Tables concepts and terminology
This section contains the terminology and concepts that are essential for successfully understanding and using Amazon S3 Storage Lens for Tables.
Topics
Configuration
Amazon S3 Storage Lens for Tables requires a configuration that contains the properties required to aggregate metrics on your behalf for a dashboard or export. When you create a configuration, you choose the configuration identifier and the home Region, which you can't change after you create the configuration. You can optionally add tags and configure a metrics export in CSV or Parquet format, or as Apache Iceberg tables.
In the configuration, you also define the scope and the metric tiers to collect. The
scope is expressed at the table bucket and AWS Region level. When you choose your
metrics, the free tier is included, and you can opt in to the advanced tier, which adds
storage, activity, and maintenance metrics. For information about pricing, see Amazon S3 pricing
Default dashboard
Amazon S3 preconfigures a default Amazon S3 Storage Lens for Tables dashboard that summarizes the insights and trends for your account and updates it one time per day in the Amazon S3 console. You can upgrade the metric tiers for the default dashboard and configure an optional export, or disable the dashboard.
Dashboards
You can create additional Amazon S3 Storage Lens for Tables dashboards and scope them by table bucket and AWS Region. When you create or edit a dashboard, you define its scope and metric tiers. You can also disable or delete dashboards. If you disable a dashboard, it's no longer updated and you no longer receive new daily metrics; you can re-enable it to resume. If you delete a dashboard, you lose its configuration settings.
Metrics export
An export is optional – the dashboards work without one. When you turn on an export, Amazon S3 delivers the same daily metrics to a destination that you choose, in CSV or Apache Parquet report files, or as Apache Iceberg tables. You can turn on one destination, both, or neither. For the file layout, the schemas, and how to query each destination, see Viewing metrics in AWS managed S3 Tables.
Metrics export destinations
When you turn on an export, you can deliver metrics to an S3 general purpose bucket that you own, to an AWS managed S3 table bucket, or to both. For each destination, you choose SSE-S3 or SSE-KMS encryption. If you choose SSE-KMS, you must grant Amazon S3 permission to use the AWS KMS key; see Setting Amazon S3 Storage Lens for Tables permissions.
S3 general purpose bucket
Amazon S3 delivers daily report files (CSV or Apache Parquet), plus a manifest file that lists them, under a prefix that you choose in a general purpose bucket that you own. You keep full control of their retention, access, and encryption, and you can query them with a tool such as Amazon Athena.
S3 table bucket
Amazon S3 delivers your metrics as Apache Iceberg tables in an AWS managed table bucket. Because the schema travels with the tables, you can query them directly with an analytics engine that integrates with S3 Tables, without first defining a schema.
Home Region
The home Region is the AWS Region where a configuration is managed and its metrics are stored. You choose the home Region when you create the configuration, and you can't change it afterward. Every metric record also carries a source Region – the Region in which the reported table data resides – so that a single configuration can report on table buckets in more than one Region while remaining managed from one place. Use the Region list in the include or exclude scope to control which source Regions a configuration covers.
Retention period
Amazon S3 Storage Lens for Tables retains the metrics that you view on the dashboards so that you can see historical trends over time. The dashboards retain free tier metrics for 14 days and advanced tier metrics for 15 months. Metrics that Amazon S3 exports are retained by you, not by Amazon S3: report files live in your own bucket and exported Iceberg tables live in S3 Tables, so you control their lifecycle.
Metrics categories
Amazon S3 Storage Lens for Tables collects three categories of metrics. For every field in each category, see Amazon S3 Storage Lens for Tables metrics glossary.
-
Storage metrics describe how much data your tables store, as meterable bytes and file counts by Iceberg file type (data, delete, metadata, and manifest files), along with the managed maintenance settings in effect for each table.
-
Activity metrics describe how your tables are accessed, including request counts by type, bytes uploaded and downloaded, error counts by status code, and request latency.
-
Maintenance metrics describe what managed table maintenance did, including the outcomes of compaction, orphan (unreferenced) file deletion, and snapshot expiration.
Amazon S3 Storage Lens for Tables aggregates each metric category across organization, account, AWS Region, storage class, table bucket, namespace, and table. The advanced tier adds finer levels, such as partition, snapshot, and compaction history.
Recommendations
Amazon S3 Storage Lens for Tables provides recommendations alongside relevant metrics in the dashboard.
Metrics selection
Metrics tiers let you collect only the data that you need. The free tier is included and provides core storage metrics. You can opt in to the advanced tier, which adds storage, activity, and maintenance metrics, for finer detail. You select the opt-in tier when you create or update a configuration, and you can change your selection later. Changing your selection affects the metrics that Amazon S3 generates from the next daily cycle onward; it does not retroactively add metrics to days that have already been generated.
Amazon S3 Storage Lens for Tables and AWS Organizations
If you use AWS Organizations, you can create an organization-level configuration that reports across the accounts in your organization. To do this, you enable trusted access in the organization, and you can optionally register a member account as a delegated administrator that manages organization-level configurations on the management account's behalf. See Using Amazon S3 Storage Lens for Tables with AWS Organizations.
Amazon S3 Storage Lens for Tables service-linked roles
Amazon S3 Storage Lens for Tables uses a service-linked role. The role supports organization-level configurations: when you enable trusted access in AWS Organizations, Amazon S3 creates the service-linked role in your account so that the feature can collect and aggregate metrics across your member accounts. For a single-account configuration, you don't interact with the role directly – you grant the permissions the feature needs through identity-based policies and resource policies. See Setting Amazon S3 Storage Lens for Tables permissions.