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

推荐订阅源

Recent Announcements
Recent Announcements
让小产品的独立变现更简单 - ezindie.com
让小产品的独立变现更简单 - ezindie.com
O
OpenAI News
D
Docker
freeCodeCamp Programming Tutorials: Python, JavaScript, Git & More
N
Netflix TechBlog - Medium
人人都是产品经理
人人都是产品经理
Y
Y Combinator Blog
M
MIT News - Artificial intelligence
奇客Solidot–传递最新科技情报
奇客Solidot–传递最新科技情报
博客园 - 司徒正美
C
CXSECURITY Database RSS Feed - CXSecurity.com
阮一峰的网络日志
阮一峰的网络日志
K
Kaspersky official blog
Security Latest
Security Latest
T
Tailwind CSS Blog
cs.AI updates on arXiv.org
cs.AI updates on arXiv.org
V
Vulnerabilities – Threatpost
W
WeLiveSecurity
N
News and Events Feed by Topic
aimingoo的专栏
aimingoo的专栏
美团技术团队
OSCHINA 社区最新新闻
OSCHINA 社区最新新闻
Google DeepMind News
Google DeepMind News
CTFtime.org: upcoming CTF events
CTFtime.org: upcoming CTF events
C
Cyber Attacks, Cyber Crime and Cyber Security
Cyber Security Advisories - MS-ISAC
Cyber Security Advisories - MS-ISAC
B
Blog
T
The Blog of Author Tim Ferriss
Google DeepMind News
Google DeepMind News
Help Net Security
Help Net Security
爱范儿
爱范儿
宝玉的分享
宝玉的分享
腾讯CDC
H
Heimdal Security Blog
Webroot Blog
Webroot Blog
AI
AI
WordPress大学
WordPress大学
Recorded Future
Recorded Future
SecWiki News
SecWiki News
cs.CV updates on arXiv.org
cs.CV updates on arXiv.org
Security Archives - TechRepublic
Security Archives - TechRepublic
Google Online Security Blog
Google Online Security Blog
C
Check Point Blog
TaoSecurity Blog
TaoSecurity Blog
Cisco Talos Blog
Cisco Talos Blog
The Cloudflare Blog
www.infosecurity-magazine.com
www.infosecurity-magazine.com
博客园 - Franky
云风的 BLOG
云风的 BLOG

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
AWS SAA: 10 Core Concepts (Explained for Infrastructure Engineers)
Shivam Singh · 2026-06-18 · via DEV Community

This post covers what I learned while preparing for AWS_SAA — IAM, EC2, Load Balancing, Auto Scaling, RDS, Route 53, S3, CloudFront, and messaging services. I'm writing this for engineers who already understand infrastructure, so I'm skipping the basics and going straight to what the exam actually tests.

1. IAM — It's About Least Privilege, Not Just Access

IAM sounds simple until the exam starts testing edge cases. Here's what actually matters:

The model: Users → Groups → Policies. Never attach policies directly to individual users — always go through groups. It sounds obvious but exam questions test whether you know to put a user in a group vs attach a policy inline.

Roles over access keys: When an EC2 instance or Lambda function needs to access AWS services, assign an IAM Role — never embed access keys in code or instance configuration. The exam will present scenarios where someone hardcodes credentials and ask you what's wrong.

The security tools:

  • IAM Credentials Report (account-level) — lists all users and their credential status
  • IAM Access Advisor (user-level) — shows which services a user has accessed, helps trim unused permissions

Exam-critical rules:

  • Root account is only for initial AWS account setup. Never use it for daily operations.
  • One physical person = one IAM user. No sharing.
  • MFA on root and privileged users is non-negotiable in exam scenarios.

The policy structure to memorise:

{
  "Version": "2012-10-17",
  "Statement": [{
    "Effect": "Allow",
    "Action": "s3:GetObject",
    "Resource": "arn:aws:s3:::my-bucket/*"
  }]
}

Effect, Action, Resource — the exam writes scenarios and you need to read policies and spot what's missing or wrong.


2. EC2 Purchasing Options — Architecture Starts Here

The exam gives you a workload description and asks which purchasing option is correct. Memorise these:

Option When to use
On-Demand Unpredictable, spiky, short-term workloads
Reserved (1–3 yr) Steady-state production workloads — biggest discount
Savings Plans Flexible Reserved — commit to $/hour not instance type
Spot Fault-tolerant batch jobs, can be interrupted with 2-min notice
Dedicated Host Compliance requirements, per-socket/per-core software licensing
Dedicated Instance Isolated hardware, but AWS still manages the host

The exam trap: Spot instances are the cheapest but can be interrupted. Any question about a database, stateful app, or anything that can't tolerate interruption → eliminate Spot immediately.

EC2 Hibernate is a frequent exam distractor — it preserves RAM state to EBS so the instance restarts faster. The root EBS volume must be encrypted. Use case: services that take a long time to warm up.


3. EC2 Storage — EBS vs EFS vs Instance Store

Three storage types, three completely different behaviours:

EBS (Elastic Block Store):

  • Attached to one EC2 instance at a time (except io1/io2 Multi-Attach)
  • Persists when you stop the instance
  • AZ-specific — to move across AZs, take a snapshot

EFS (Elastic File System):

  • Network file system — can be mounted by hundreds of EC2 instances simultaneously
  • Works across multiple AZs
  • Auto-scales, you pay for what you use
  • Use case: shared content, CMS, web serving across multiple instances

Instance Store:

  • Physically attached to the host — highest possible IOPS
  • Completely lost when the instance stops or terminates
  • Use case: temporary buffers, caches, scratch data only

The exam shortcut:

  • "Shared across multiple EC2 instances" → EFS
  • "Highest IOPS, temporary data" → Instance Store
  • "Persistent, single-instance" → EBS

4. Elastic Load Balancing — Three Types, Different Use Cases

AWS has three load balancer types and the exam tests whether you know which fits which scenario:

Application Load Balancer (ALB) — Layer 7:

  • Routes based on URL path (/api → one target group, /web → another)
  • Routes based on hostname (api.example.com vs app.example.com)
  • Routes based on query strings and headers
  • Native support for microservices and containers (ECS integration)
  • Best for HTTP/HTTPS applications

Network Load Balancer (NLB) — Layer 4:

  • Handles millions of requests per second with ultra-low latency
  • Has a static IP per AZ — important for whitelisting
  • Supports TCP, UDP, TLS
  • Use when you need extreme performance or a fixed IP

Classic Load Balancer (CLB) — Legacy:

  • Don't design new architectures with it
  • The exam mentions it but the answer is rarely CLB

Exam pattern: The question describes a routing requirement — you pick the load balancer.

  • "Route by URL path" → ALB
  • "Static IP for firewall rules" → NLB
  • "Microservices on ECS" → ALB

5. Auto Scaling Groups — Four Scaling Policies

ASG lets EC2 scale automatically. The exam tests which scaling policy matches which requirement:

Target Tracking: Simplest. "Keep average CPU at 40%." AWS handles everything.

Step Scaling: "Add 2 instances when CPU > 70%. Remove 1 when CPU < 30%." You define the steps.

Scheduled Scaling: "Increase min capacity to 10 every Friday at 5pm." You know the traffic pattern.

Predictive Scaling: Machine learning-based. Analyses historical load and pre-scales before the spike hits. Best for recurring patterns you can't manually schedule.

The cooldown period: After a scaling activity, ASG waits before scaling again (default 300 seconds). The exam tests this — if instances are launching and terminating in a loop, suspect the cooldown is too short.


6. RDS — Read Replicas vs Multi-AZ (Highest Exam Yield)

This is tested in almost every exam. These two features sound similar and are completely different:

Read Replicas:

  • Purpose: read scaling — offload SELECT queries from the primary
  • Replication: asynchronous — slight lag possible
  • Scope: same AZ, cross-AZ, or cross-region
  • Network cost: free within same region, charged cross-region
  • You connect to them explicitly — your app must be updated to use the replica endpoint

Multi-AZ:

  • Purpose: disaster recovery — automatic failover
  • Replication: synchronous — always up to date
  • Scope: same region, different AZ
  • Failover: DNS automatically points to standby — no app change needed
  • The standby instance cannot serve read traffic — it exists only for failover

Aurora specifics:

  • Up to 15 Read Replicas (vs 5 for standard RDS)
  • Replication lag under 10ms
  • Aurora Global Database: primary region + up to 10 secondary regions, cross-region replication under 1 second
  • Aurora Serverless: auto-scales compute — good for infrequent/unpredictable workloads

ElastiCache — the exam trap: ElastiCache is an in-memory cache (Redis or Memcached). The exam often presents a scenario where an RDS database is under heavy read load — the correct answer is frequently "add ElastiCache" rather than more Read Replicas, because cached data never hits the DB at all.


7. Route 53 Routing Policies — Memorise All Six

Route 53 routing policies are one of the highest-density exam topics. Six policies, each with a distinct use case:

Simple: One record, one resource. No health checks. Use for a single server.

Weighted: Split traffic by percentage. Use for A/B testing or canary deployments. Example: 90% to v1, 10% to v2.

Latency: Routes to the region with the lowest latency for the user. AWS measures latency, not geographic distance.

Failover: Active/passive disaster recovery. Primary gets traffic; secondary gets traffic only if primary fails the health check.

Geolocation: Routes based on the user's actual location (country, continent). Use for content localisation or legal data residency requirements. Different from Latency — it's about location, not speed.

Multivalue Answer: Returns up to 8 healthy records randomly. Not a replacement for a load balancer but adds basic client-side load distribution.

TTL matters: High TTL = less Route 53 traffic, but DNS changes take longer to propagate. Low TTL = faster propagation, more Route 53 queries (costs more). The exam tests this trade-off.


8. S3 — Storage Classes and When to Use Each

S3 has seven storage classes. The exam presents a scenario and asks which class is correct:

Class Availability Use case
Standard 99.99% Frequently accessed data
Standard-IA 99.9% Infrequent access, rapid retrieval — DR, backups
One Zone-IA 99.5% Single AZ only, cheaper — recreatable data
Glacier Instant Retrieval 99.9% Archive with millisecond retrieval
Glacier Flexible 99.99% Archive — minutes to hours retrieval
Glacier Deep Archive 99.99% Lowest cost — 12+ hour retrieval
Intelligent-Tiering 99.9% Unknown or changing access patterns — auto-moves

Lifecycle Rules: Automatically transition objects between classes based on age. Example: Standard → Standard-IA after 30 days → Glacier after 90 days. The exam tests whether you know which transitions are valid.

S3 Replication:

  • CRR (Cross-Region Replication): compliance, lower latency for global users
  • SRR (Same-Region Replication): log aggregation, live replication between prod and test

Versioning must be enabled on both source and destination buckets for replication to work.


9. S3 Security — Four Encryption Methods

S3 has four server-side encryption options:

SSE-S3: AWS manages keys entirely. Default for new buckets. Header: x-amz-server-side-encryption: AES256

SSE-KMS: You use AWS KMS. You control the key rotation and audit trail via CloudTrail. Header: x-amz-server-side-encryption: aws:kms

SSE-C: You provide your own key with every request. AWS doesn't store the key. HTTPS required. Use when you must control key material.

Client-Side Encryption: You encrypt before uploading. AWS never sees plaintext. Use for strictest compliance requirements.

Bucket Policies vs IAM Policies:

  • Bucket policies are resource-based — they're attached to the bucket
  • IAM policies are identity-based — attached to users/roles
  • Both can allow or deny access. Explicit DENY anywhere always wins.

The CORS trap: If your JavaScript app at example.com calls an S3 bucket, you must configure CORS on the bucket. The exam describes a browser error and asks what's wrong — the answer is CORS.


10. SQS vs SNS vs Kinesis — Decouple vs Stream

Three services, three different problems:

SQS (Simple Queue Service):

  • Consumers pull messages
  • Message deleted after consumed
  • At-least-once delivery (can get duplicates in Standard queue)
  • FIFO queue: exactly-once, ordered, 300 TPS
  • Default retention: 4 days, max 14 days
  • Use for: decoupling microservices, async processing

SNS (Simple Notification Service):

  • Publisher pushes, all subscribers receive
  • Messages not persisted — lost if not delivered
  • Up to 12.5 million subscribers per topic
  • Use for: fanout notifications, triggering multiple downstream actions

Kinesis Data Streams:

  • Real-time streaming at high throughput
  • Data retained up to 365 days — you can replay
  • Ordering guaranteed per shard
  • Use for: real-time analytics, log ingestion, clickstream data

The fan-out pattern (exam favourite):
One event → SNS Topic → multiple SQS queues (one per downstream service). This is the go-to pattern when one event needs to trigger multiple independent consumers.

Amazon MQ: When migrating existing on-premises apps that use MQTT, AMQP, or STOMP protocols, use Amazon MQ rather than rewriting for SQS/SNS. The exam presents legacy migration scenarios specifically to test this.


Classic Architecture Patterns — The Mental Model

Every SAA exam scenario is a variation of five building blocks:

  1. Stateless app → don't store sessions in EC2 — use ElastiCache (Redis) or DynamoDB
  2. Shared file storage → EFS, not EBS (EBS is single-instance)
  3. Static content → S3 + CloudFront (never serve static files from EC2)
  4. Read-heavy database → RDS Read Replica or ElastiCache in front
  5. High-write database → Aurora (faster writes, auto-scales storage)

When you see a complex architecture question, strip it back to these five patterns. The correct answer almost always combines two or three of them.