AWS - SOA-C02

๐Ÿ’ฐ AWS S3 Intelligent-Tiering โ€” Smart Cost Optimization for Unpredictable Access Patterns

๐Ÿ“˜ What Is S3 Intelligent-Tiering?

Amazon S3 Intelligent-Tiering is a storage class designed for data with unknown or changing access patterns. It helps you optimize storage costs automatically by moving data between different tiers based on how frequently itโ€™s accessed.

๐ŸŽฏ You donโ€™t need to analyze or manage lifecycle rules manually โ€” S3 does it for you.

๐Ÿ“ฆ Storage Tiers in Intelligent-Tiering

When enabled, your objects can be transitioned between multiple tiers depending on their usage patterns:

TierDescriptionAccess CostStorage CostRetrieval Time
Frequent Access TierDefault tier for newly uploaded dataFreeHighestImmediate
Infrequent Access TierAfter 30 days of no accessFreeLowerImmediate
Archive Instant Access TierAfter 90 days of no accessYesEven LowerMilliseconds
Archive Access TierAfter 180 days of no access (optional)YesLowerMinutes to hours
Deep Archive Access TierAfter 365+ days (optional)YesLowestUp to 12 hours

You can enable or disable Archive tiers based on your needs.

โš™๏ธ How Does It Work?

  1. Upload object โ†’ stored in Frequent Access by default
  2. If not accessed for 30 days โ†’ moved to Infrequent Access
  3. If not accessed for 90 days โ†’ moved to Archive Instant Access
  4. Optional: After 180 or 365 days โ†’ transition to deeper archive tiers
  5. If accessed again โ†’ moved back to Frequent Access automatically

โœ… No retrieval charges between tiers
๐Ÿ“Œ You pay a small monthly monitoring & automation fee:
~$0.0025 per 1,000 objects

โœ… How to Enable Intelligent-Tiering

๐ŸŒ AWS Console

  • Go to your S3 bucket
  • Choose storage class when uploading or via Lifecycle Rules

๐Ÿ’ป AWS CLI

aws s3 cp myfile.txt s3://my-bucket/ --storage-class INTELLIGENT_TIERING

๐Ÿ AWS SDK (Python Boto3)

import boto3

s3 = boto3.client('s3')
s3.upload_file(
    'myfile.txt', 'my-bucket', 'myfile.txt',
    ExtraArgs={'StorageClass': 'INTELLIGENT_TIERING'}
)

๐Ÿ“˜ Common SysOps SOA-C02 Exam Scenarios

ScenarioBest Answer
Need low-cost storage for unknown access patternsIntelligent-Tiering
Archive with occasional need for instant accessGlacier Instant or IT
Data rarely accessed, okay with hours for retrievalGlacier Flexible/Deep Archive
Frequently accessed data with predictable patternsS3 Standard

๐Ÿ“Š Pros & Cons

โœ… Pros:

  • Fully automated cost optimization
  • Great for dynamic or unpredictable workloads
  • Immediate access for most tiers
  • Optional archive for long-term cold storage

โš ๏ธ Cons:

  • Small monitoring cost per 1,000 objects
  • May not be ideal for many small files
  • If data is accessed frequently โ†’ S3 Standard might be cheaper

๐Ÿง  Key Takeaways

  • Intelligent-Tiering = “Set and forget” cost optimization
  • Perfect for changing or unknown usage patterns
  • Watch for minimum storage duration charges
  • Ideal for logs, reports, archives, and unpredictable backups

๐Ÿ“Œ Pro Tip: Combine with Lifecycle Rules

You can still use Lifecycle Policies to transition objects from other classes into Intelligent-Tiering โ€” useful in backup workflows, cost control policies, or archive plans.

14 Views

Leave a Reply

Your email address will not be published. Required fields are marked *