[SEO Subhead]
This Guidance shows how you can gain granular insights into the access patterns of objects stored in Amazon Simple Storage Service (Amazon S3) and use those insights to optimize storage costs and energy usage. It helps you identify objects that have not been accessed for a specified period and transition those objects to cheaper storage classes, realizing cost savings by storing infrequently accessed data in more affordable tiers. Additionally, you can configure rules to automatically delete objects that have not been accessed within a set time frame, helping to optimize storage by removing data that is no longer needed. These new capabilities provide better visibility and control over Amazon S3 object lifecycle management, so you can reduce storage costs and energy expenditures by aligning your storage strategies with your object access patterns.
Note: [Disclaimer]
Architecture Diagram
[Architecture diagram description]
Step 1
Create an Amazon Simple Storage Service (Amazon S3) source bucket for your application workload.
Step 2
Enable Amazon S3 server access logs in your source bucket.
Step 3
Enable Amazon S3 Inventory reports in your source bucket.
Step 4
AWS Glue converts server access logs from their original format to Apache Parquet for higher efficiency.
Step 5
Amazon Athena runs analytics on your Amazon S3 source bucket to give object-level insights.
Step 6
Amazon QuickSight displays object-level insights on your dashboard.
Step 7
Run a query in Athena to feed the Amazon S3 bucket a manifest file of the objects you want to transition or delete. Amazon S3 Batch Operations tags objects from the manifest for transition or deletion.
Step 8
Enable Amazon S3 Lifecycle management policies to transition or expire objects.
Get Started
Deploy this Guidance
Well-Architected Pillars
The AWS Well-Architected Framework helps you understand the pros and cons of the decisions you make when building systems in the cloud. The six pillars of the Framework allow you to learn architectural best practices for designing and operating reliable, secure, efficient, cost-effective, and sustainable systems. Using the AWS Well-Architected Tool, available at no charge in the AWS Management Console, you can review your workloads against these best practices by answering a set of questions for each pillar.
The architecture diagram above is an example of a Solution created with Well-Architected best practices in mind. To be fully Well-Architected, you should follow as many Well-Architected best practices as possible.
-
Operational Excellence
In this Guidance, Amazon S3, Athena, QuickSight, and AWS Glue work together to help you reduce your storage costs and identify object-level patterns happening in your Amazon S3 buckets. These insights and visualizations, which include metrics on daily bucket operations, can help you identify candidates for transition or deletion to promote operational excellence.
-
Security
Amazon S3 buckets block public access and are encrypted by default. Additionally, Athena encrypts data while saving query results and while communicating to Amazon S3 buckets. QuickSight supports encryption for all data transfers. Finally, you can use AWS Identity and Access Management (IAM) access-control roles and policies to manage your resources and protect data.
-
Reliability
All the services used in this Guidance are available in most AWS Regions. For example, QuickSight is available in 21 Regions worldwide. Each Region is a separate geographic area designed to be isolated from the other Regions and contains multiple isolated locations known as Availability Zones. This design maximizes fault tolerance and stability. Additionally, Amazon S3 is designed for 99.999999999 (11 nines) percent durability.
-
Performance Efficiency
This Guidance uses managed and serverless services like Athena, QuickSight, and AWS Glue, so you don’t have to manage resources and the underlying infrastructure. Moreover, this Guidance will scale up automatically to provide analytics on Amazon S3 buckets. By using these services together, you can also gain the insights needed to optimize the performance of your Amazon S3 buckets.
-
Cost Optimization
By using Athena, QuickSight, and AWS Glue to generate insights on your Amazon S3 bucket use, you can make more informed object-storage decisions, resulting in cost savings. For example, using the insights you gain, you can categorize objects that have been colder over a certain period of time and choose to transition them to a cheaper storage class or expire them altogether.
-
Sustainability
This Guidance only uses serverless services (including Athena, QuickSight, and AWS Glue), so they scale up and down based on load, and you don’t have to provision or manage any hardware. As a result, you don’t waste energy through overprovisioning resources, and you don’t have to manage any of your underlying infrastructure.
Related Content
[Title]
Disclaimer
The sample code; software libraries; command line tools; proofs of concept; templates; or other related technology (including any of the foregoing that are provided by our personnel) is provided to you as AWS Content under the AWS Customer Agreement, or the relevant written agreement between you and AWS (whichever applies). You should not use this AWS Content in your production accounts, or on production or other critical data. You are responsible for testing, securing, and optimizing the AWS Content, such as sample code, as appropriate for production grade use based on your specific quality control practices and standards. Deploying AWS Content may incur AWS charges for creating or using AWS chargeable resources, such as running Amazon EC2 instances or using Amazon S3 storage.
References to third-party services or organizations in this Guidance do not imply an endorsement, sponsorship, or affiliation between Amazon or AWS and the third party. Guidance from AWS is a technical starting point, and you can customize your integration with third-party services when you deploy the architecture.