惯性聚合 高效追踪和阅读你感兴趣的博客、新闻、科技资讯
阅读原文 在惯性聚合中打开

推荐订阅源

Forbes - Security
Forbes - Security
The GitHub Blog
The GitHub Blog
腾讯CDC
GbyAI
GbyAI
宝玉的分享
宝玉的分享
The Register - Security
The Register - Security
B
Blog RSS Feed
freeCodeCamp Programming Tutorials: Python, JavaScript, Git & More
T
Tailwind CSS Blog
AWS News Blog
AWS News Blog
S
Schneier on Security
P
Proofpoint News Feed
C
Check Point Blog
T
Threat Research - Cisco Blogs
Threat Intelligence Blog | Flashpoint
Threat Intelligence Blog | Flashpoint
Last Week in AI
Last Week in AI
NISL@THU
NISL@THU
H
Hacker News: Front Page
Blog — PlanetScale
Blog — PlanetScale
T
The Exploit Database - CXSecurity.com
S
Security Affairs
www.infosecurity-magazine.com
www.infosecurity-magazine.com
H
Hackread – Cybersecurity News, Data Breaches, AI and More
Latest news
Latest news
MongoDB | Blog
MongoDB | Blog
T
Tenable Blog
C
CERT Recently Published Vulnerability Notes
Security Latest
Security Latest
C
Cisco Blogs
Exploit-DB.com RSS Feed
Exploit-DB.com RSS Feed
CTFtime.org: upcoming CTF events
CTFtime.org: upcoming CTF events
N
News and Events Feed by Topic
人人都是产品经理
人人都是产品经理
Cyber Security Advisories - MS-ISAC
Cyber Security Advisories - MS-ISAC
M
MIT News - Artificial intelligence
Google DeepMind News
Google DeepMind News
F
Full Disclosure
L
LINUX DO - 热门话题
博客园 - Franky
K
Kaspersky official blog
C
Cyber Attacks, Cyber Crime and Cyber Security
U
Unit 42
Recorded Future
Recorded Future
Google DeepMind News
Google DeepMind News
WordPress大学
WordPress大学
aimingoo的专栏
aimingoo的专栏
Project Zero
Project Zero
F
Fortinet All Blogs
O
OpenAI News
Recent Announcements
Recent Announcements

DEV Community

Authentication Security Deep Dive: From Brute Force to Salted Hashing (With Java Examples) Why AI Systems Don’t Fail — They Drift Spilling beans for how i learn for exam😁"Reinforcement Learning Cheat Sheet" I Replaced Chrome with Safari for AI Browser Automation. Here's What Broke (and What Finally Worked) How Python Borrows Other People's Work The $40 Architecture: Processing 1 Billion API Requests with 99.99% Uptime Vibe Coding: A Workflow Guide (From Zero to SaaS) Most webhook security guides protect the wrong side. The scary part is delivery. Headless CMS for TanStack Start: Build a Blog with Cosmic EU Age Verification App "Hacked in 2 Minutes" — What Actually Happened Comfy Cloud’s delete function does not actually remove files Running AI Models on GPU Cloud Servers: A Beginner Guide Event-driven media intelligence with AWS Step Functions and Bedrock I scored 500 AI prompts across 8 quality dimensions — here's what broke How to Call Google Gemini API from Next.js (Free Tier, No Backend Needed) The Portal Protocol: Reclaiming Human Connection in the Age of AI How to Fix Your Team's Scattered Knowledge Problem With a Self-Hosted Forum Intro to tc Cloud Functors: A Graph-First Mental Model for the Modern Cloud Designing Multi-Tenant Backends With Both Ownership and Team Access I Built a Neumorphic CSS Library with 77+ Components — Here's What I Learned PostgreSQL Performance Optimization: Why Connection Pooling Is Critical at Scale Cómo construí un SaaS multi-rubro para gestionar expensas en Argentina con FastAPI + Vue 3 🚀 I Built an Ethical Hacking Scanner Tool – Open Source Project I Replaced /usage and /context in Claude Code With a Single Statusline A Pythonic Way to Handle Emails (IMAP/SMTP) with Auto-Discovery and AI-Ready Design I Collected 8.9 Million Polymarket Price Points — Here's What I Found About How Markets Really Move EcoTrack AI — Carbon Footprint Tracker & Dashboard Everyone's Using AI. No One Agrees How. 5 self-hosted ebook managers worth trying in 2026 Building Your First AI Agent with LangChain: From Chatbot to Autonomous Assistant Common SOC 2 Failures (Real World) Stop Vibe-Checking Your AI App: A Practical Guide to Evals How to Use SonarQube and SonarScanner Locally to Level Up Your Code Quality Your Next To-Do App Is Dead — I Replaced Mine with an OpenClaw AI Sign a Nostr event in 60 lines of Python using coincurve — no nostr-sdk, no nbxplorer, no rust toolchain ITGC Audit Explained Like You’re in Big 4 Patch Tuesday abril 2026: Microsoft parcha 163 vulnerabilidades y un zero-day en SharePoint Stop scraping everything: a better way to track competitor price changes Listing on MCPize + the Official MCP Registry while routing payments OUTSIDE the marketplace — how I kept 100% of my x402 revenue Building an AI-Powered Risk Intelligence System Using Serverless Architecture Why We Ripped Function Overloading Out of Our AI Toolchain Testing AI-Generated Code: How to Actually Know If It Works SaaS Churn Is Killing Your Business. Here Is What to Do About It (Without a Support Team) The Speed of AI Is No Longer Linear - And Self-Improving Models Are Why How to Implement RBAC for MCP Tools: A Practical Guide for Engineering Teams From Standard Quote to Persuasive Proposal: AI Automation for Arborists I built a CLI that scaffolds complete multi-tenant SaaS apps Axios CVE-2025–62718: The Silent SSRF Bug That Could Be Hiding in Your Node.js App Right Now The dashboard that ended our friendship Data Pipelines Explained Simply (and How to Build Them with Python) The Hidden Cost of AI Systems Nobody Talks About. undefined vs undeclared, and how typeof behaves Switching from file-based jobs to NATS/Kafka in Rust without changing code io_uring Adventures: Rust Servers That Love Syscalls Why Agentic AI is Killing the Traditional Database The POUR principles of web accessibility for developers and designers Quantum Neural Network 3D — A Deep Dive into Interactive WebGL Visualization How To Install Caveman In Codex On macOS And Windows Automation Pipeline Reliability: Why Your Workflow Breaks When Nobody Is Watching I Built an 'Open World' AI Coding Agent — It Works From ANY Folder From Freelancing to Product: A Tech Service Company's SaaS Transformation China's AI Giants: Adding Tencent Hunyuan & ByteDance Doubao to AI University (74 Providers) On the Vibe Coders and Their Lies clerk: Auto-Summarize Your Claude Code Sessions AI Weekly — 2026/04/10–04/17 | The Model Lockdown Is Here, but the Toolchain Is the Real Battleground AI 週報 — 2026/04/10–2026/04/17 模型封鎖潮來了,但工具鏈才是真戰場 Maybe this is how Open-Source apps are born... 🚀 Fine-Tune LLMs with LoRA and QLoRA: 2026 Guide tRPC v11 + Next.js App Router: End-to-End Type Safety Without the Boilerplate ShadCN UI in 2026: Why I Stopped Installing Component Libraries and Started Owning My Components SaaS Billing in React Server Components: Stripe + Supabase Without a Single `useEffect` Join our DEV Weekend Challenge — $1,000 in Prizes Across TEN winners! Submissions Due April 20 at 6:59 AM UTC. Implementing FSRS Spaced Repetition in Flutter + Supabase — Adding Memory Science to an AI Learning App "I Texted My Localhost From the Train — Claude Code Fixed the Bug Before I Got Home" I Built a Sales Prep AI and It Went Deeper Than Expected Design to Code #2: One JSON, Eleven Outputs Solving the 100M-Row Problem: A Summary Table Pattern for High-Volume Push Notification Logs Flutter Web With Wasm: What Actually Changes For Developers I Built 50 Royalty-Free Soundtracks for My Side Project in a Weekend Using AI Music Generation The Vibe Coding Security Checklist: 7 Things to Check Before You Ship Stop Letting Googlebot Guess Fix Your React App's SEO Right Desconstruindo o Streaming do LinkedIn: Como Criar um Engine de Extração de Vídeo de Alta Performance com HLS e FFmpeg (EDA Part-1) EDA (Exploratory Data Analysis) Explained With Real Life — Why Looking at Your Data Is the Most Important Step in Machine Learning Brand Relationship Management at Scale: Our 4-Touch Outreach System for 200+ Brands Why String.fromEnvironment() Might Return an Empty String in Dart JGuardrails 1.0.0 — Hardening Java LLM Apps Against Jailbreaks, Toxicity, and Prompt Injection Plan and Schedule a Full Week of Threads Content From One Claude Conversation Coding Cat Oran Ep3, Five Tables Changed Everything Updated: BFF Pattern I'm done watching freelancers get buried by 200 proposals. So I'm building the alternative. This is my first post BFS Algorithm in Java Step by Step Tutorial with Examples Tracking LLM Pricing Monthly: An Open Dataset for 22 AI Models How We Measure Content ROI on a Comparison Site: Revenue Attribution Without Perfect Data Introducing Nova AI Ops: The AI-Native Operating System for SRE Teams I built a free desktop video downloader for Windows — Grabbit How Talkie OCR Helps Vision-Impaired & Dyslexic Users Read the World Around Them VRCFaceTracking安装和iPhone面捕配置教程,有bug Even CrowdStrike Can't See Your Agents The Automation Gold Rush: What n8n Workflows and Claude Are Opening Up for Developers Right Now
S3 Storage Class Automation: Stop Paying Hot Prices for Cold Data
Muskan · 2026-05-05 · via DEV Community

Muskan

A typical production S3 bucket at 18 months old has accumulated objects across every feature that ever ran. The initial uploads from your onboarding pipeline. The exports from the analytics job that ran twice and was deprecated. The thumbnails from the old image processing service. The log archives from before you switched to CloudWatch.

Run S3 Inventory on a bucket that has been active for a year and the pattern is always the same: 70-80% of objects have a last-accessed date older than 90 days. Most of them have never been read after the day they were written.

Every one of those objects is sitting in S3 Standard at $0.023 per GB per month. That is the default. AWS does not move them for you.

At 50TB of storage, the gap between Standard pricing and what you should be paying for cold data is roughly $800 per month — $9,600 per year — for a single bucket. Teams with hundreds of buckets multiply that number accordingly.

The Per-GB Math Across All Six Storage Classes

AWS offers six distinct S3 storage classes in us-east-1. The price spread from Standard to Deep Archive is 23x. That spread is the opportunity.

Storage Class Storage (per GB/month) Retrieval (per GB) Min Duration Min Object Size Retrieval Latency
Standard 0.023 0 None None Milliseconds
Standard-IA 0.0125 0.01 30 days 128 KB Milliseconds
One Zone-IA 0.01 0.01 30 days 128 KB Milliseconds
Glacier Instant 0.004 0.03 90 days 128 KB Milliseconds
Glacier Flexible 0.0036 0.01 (standard) 90 days 40 KB 3-5 hours
Deep Archive 0.00099 0.02 180 days 40 KB 12 hours

The retrieval cost column is where most teams get surprised. Standard-IA looks like a 46% discount over Standard until you read the line that says $0.01 per GB to retrieve. For data accessed once per month at 10TB, that retrieval cost adds $100 back each month — nearly erasing the storage savings.

The math on a 1TB bucket with no retrievals and data older than 90 days:

  • Standard: $23.55/month
  • Standard-IA: $12.80/month (save $10.75)
  • Glacier Instant: $4.10/month (save $19.45)
  • Deep Archive: $1.01/month (save $22.54)

storage class overview

Intelligent-Tiering: When It Wins and When It Costs You More

Intelligent-Tiering automates transitions between Frequent Access and Infrequent Access tiers based on access patterns. AWS charges $0.0025 per 1,000 objects per month as a monitoring fee — whether or not any tiering occurs.

At 1 million objects: $2.50/month monitoring. At 10 million objects: $25/month. At 100 million objects: $250/month. That fee has to be recouped by IA transition savings.

When IT wins: For a 1MB object going inactive after 30 days, the monthly savings from IA transition is $0.0000105 per object. The monitoring fee per object is $0.0000025. The monitoring fee is recouped in 0.24 months. IT wins clearly for objects larger than 128KB accessed less than once per month.

When IT loses: 50 million objects averaging 10KB. Monthly monitoring fee: $125. Monthly storage in Standard: ~476GB × $0.023 = $10.95. You are paying $125 in monitoring fees on an $11 storage bill — an 11x overhead. Use a lifecycle rule to Standard-IA instead.

intelligent tiering breakeven

The opt-in Archive Access tier activates after 90 consecutive days of inactivity at $0.0045/GB. The Deep Archive Access tier activates after 180 days at $0.00099/GB. Both require activation on the bucket configuration — they are off by default.

Lifecycle Policy Design: The 30/90/180 Framework

Day Transition Storage Class Storage Cost Retrieval Latency
0-30 None Standard 0.023/GB Milliseconds
30 Transition Standard-IA 0.0125/GB Milliseconds
90 Transition Glacier Instant 0.004/GB Milliseconds
180 Transition Glacier Flexible 0.0036/GB 3-5 hours
365 Transition Deep Archive 0.00099/GB 12 hours
2555 Expire 0

The structure of your S3 prefixes determines whether these rules work. A lifecycle rule applied to the bucket root will transition everything uniformly. If uploads/ contains objects from yesterday alongside objects from two years ago, a 30-day transition rule sweeps both. Separate prefixes by access pattern before writing any lifecycle rules.

Before writing any rule, define the maximum acceptable restore time for each prefix. That constraint — not cost optimization — sets the floor on how deep you can go.

lifecycle policy flow

Automating With Guardrails: Storage Lens, Inventory, and Policy Gates

S3 Inventory delivers daily or weekly CSV/Parquet reports per bucket. Each row contains object key, size, storage class, last-modified date. This is the raw material for every cost decision.

Query the Inventory output with Athena: segment objects by storage class and last-modified age. A bucket with 500GB in Standard where 80% of objects have a last-modified date older than 60 days is an immediate transition candidate.

S3 Storage Lens (advanced tier, $0.20 per million objects) shows per-prefix GET and HEAD request rates. A prefix with 200GB and zero GET requests in 30 days: transition to IA immediately. A prefix with daily GET traffic: exclude from all lifecycle rules.

The guardrail is a tag-based override. Any object tagged lifecycle-exempt: true is excluded from all transition rules. Application teams use this for objects that must remain in Standard — primary database backups, active config files, test seed data.

lifecycle failure modes

Failure Modes That Will Erase Your Savings

Failure Mode Root Cause Dollar Cost Example Guard Rule
Small objects in Intelligent-Tiering Objects under 128KB pay monitoring fee with no IA benefit 50M objects at 10KB = $125/month monitoring, $0 savings Exclude IT from buckets where avg object size < 128KB
Minimum duration charges Object transitioned to Glacier, deleted before 90-day minimum 100GB deleted at day 10 = 80 extra days × $0.004/GB = $10.24 extra Set lifecycle rule expiry ≥ minimum duration of target class
Retrieval cost surprise Bulk restore of large dataset not costed before triggering 10TB restore from Glacier Flexible = $100 retrieval Require cost approval for any restore above 100GB
Rule at wrong prefix Hot uploads/ prefix shares root-level rule with cold archive Recent objects transition to IA at 30 days, causing retrieval fees on every read Always scope rules to specific prefixes, never bucket root

The retrieval cost calculation is often skipped. Glacier Flexible expedited retrievals cost $0.03/GB plus $0.01 per request. A 50TB archive costs $1,500 in one expedited restore — that erases 8 months of storage savings in a single incident.

Glacier Flexible and Deep Archive are appropriate only when: the acceptable restore SLA is hours or days, restores happen at most once per year, and object lifetime is long enough to amortize minimum duration charges. Everything else belongs in Standard-IA or Glacier Instant.

Run S3 Inventory every 30 days after applying lifecycle rules. If Standard-IA objects are accumulating faster than expected or objects appear in Glacier with last-modified dates more recent than your transition window, a rule is misconfigured. Catch it before minimum duration charges compound.


The 23x price gap between Standard and Deep Archive exists because AWS prices access and durability separately. Most teams leave it on the table by never looking at what their data actually costs. S3 Inventory takes 24 hours to run. The lifetime of a well-designed lifecycle policy is years. The arithmetic on 50TB at $800/month savings is $9,600 per year — and that is one bucket.