🎧 [Listen] The AWS Fundamentals Series, Fully Recapped
This article is an audio-learning recap for anyone who’s already read all twenty-three articles in the AWS Fundamentals series. Use your browser’s or phone’s text-to-speech feature and let it play in the background during a commute or while doing chores. There are no diagrams, tables, or code here — just spoken-style prose, stitching the whole series back together into a single, continuous thread.
The series started with an unglamorous fundamental that trips everyone up at some point: EC2’s key pair and a subnet’s reserved IPs. A key pair’s private key can only be downloaded once, and lose it, and it’s gone for good. And inside a subnet, a network address, a broadcast address, and a handful of addresses AWS itself reserves all exist, so the number of IPs you can actually hand out is smaller than the CIDR’s number suggests on the surface. Design without knowing this, and you’re guaranteed to trip over it later.
Next came the hands-on of actually launching an EC2 instance and publishing a web server. Correctly opening a security group — a per-instance firewall — connecting via SSH, and running Nginx. What many people overlook here is the difference between merely stopping an instance and fully terminating it, and the hard-to-notice cost trap where an Elastic IP, a fixed public IP, gets billed on its own while it’s not attached to any instance.
Then came credential handling, one of the areas where real-world incidents happen most easily. An IAM role lets you securely access an AWS service without ever writing an access key into your code at all. Underneath, a mechanism called STS automatically issues and swaps out short-lived, temporary credentials continuously. And the reason IMDSv2, the newer version of the instance metadata service, is increasingly becoming mandatory turned out to be a defense against a specific attack structure: exploiting a server-side vulnerability to unintentionally steal that very credential.
The S3 discussion covered the public access block — one more layer of safety that exists separate from bucket policies or ACLs. This is a concrete implementation of defense in depth: even if a careless mistake happens, one last line of defense still stops it. And enable versioning, and deletion no longer actually erases a file — it just adds a special marker called a delete marker, letting you restore it later.
Next came the hands-on of building a VPC entirely by hand, instead of relying on the default VPC. The single most important insight here was that the distinction between a “public subnet” and a “private subnet” isn’t an AWS-side attribute — it’s purely a result determined by the content of the route table tied to that subnet. An IGW enables two-way communication, while a NAT gateway only enables one-way communication initiated from the private side — two roles that look similar but are actually entirely different.
Using that VPC, you also built a setup where an ALB (Application Load Balancer) distributes traffic across multiple EC2 instances. We covered how ALB mandates at least two different Availability Zones to guarantee high availability at the design level, and how the EC2 instances’ security group should only allow traffic from the ALB’s own security group, blocking direct internet access. And don’t forget: the target group’s “deregistration delay” turned out to be AWS’s own concrete implementation of connection draining — a design philosophy widely shared across the load-balancing world.
Next came Route 53’s Alias record. Wanting to assign the root domain to an ALB runs straight into a structural DNS constraint: a regular CNAME can never sit at the zone apex. An Alias record is Route 53’s own mechanism for working around this, actually responding as an A record at the protocol level. And don’t forget: queries to an Alias record targeting an AWS resource are free, and name resolution needs one fewer round trip than a CNAME.
Next came the Auto Scaling Group (ASG). You specified a launch template and a minimum, desired, and maximum capacity, then let a target-tracking scaling policy based on CPU utilization scale the instance count automatically. There was a serious blind spot here. The ASG’s default health check type is EC2, so even if the application itself crashed and the ALB’s health check kept failing, as long as EC2 itself was still running fine, the default setting never replaced that instance — you had to explicitly switch the health check type to ELB. And don’t forget: a lifecycle hook, inserting a safe process before an instance terminates, was the ASG’s own version of connection draining.
Next came VPC peering and Transit Gateway. VPC peering creates a direct, one-to-one connection between two VPCs, but it isn’t transitive — even if A peers with B, and B peers with C, A still can’t reach C. Connecting N VPCs in a full mesh needs N × (N-1) / 2 connections, so management explodes in complexity as VPCs multiply. Transit Gateway solves this with a hub-and-spoke design, where each VPC creates just one attachment to a central hub. And don’t forget: inserting a security appliance into the traffic path is only possible because of this hub design.
Inside that private subnet, you also built RDS for real, and experienced fetching the DB password from Secrets Manager at runtime instead of ever writing it into your code. Secrets Manager can periodically and automatically rotate a password, and the app’s code never has to change at all — the credential just keeps quietly swapping out underneath it.
Next came the difference between Multi-AZ and a read replica — RDS’s two distinct ways of having “another DB instance.” Both get confused because of the superficial common trait that “there’s another one,” but Multi-AZ is a mechanism for availability, maintaining a standby in a different Availability Zone via synchronous replication, and failing over automatically on an outage. That standby, though, cannot serve any read traffic by default. A read replica, on the other hand, is a mechanism for read scaling — its asynchronous replication can introduce lag, and on a primary failure it never fails over automatically; it requires manual promotion. Separately checking “there’s another one” from “what it’s for” mattered here too.
A NAT gateway carries the real-world constraint of being billed based on the volume of data passing through it. The solution to that problem is the VPC endpoint. Two entirely different kinds exist: the free gateway type, supporting only S3 and DynamoDB, and the interface type, billed via an ENI, supporting most other services.
The backup discussion touched on the underlying mechanism that an EBS snapshot is actually an incremental backup. Even though every snapshot after the first only stores the difference from the one before it, deleting the very first snapshot still leaves later ones independently, correctly restorable, because AWS internally manages block-level reference relationships.
The final two articles were educational, defense-focused security hands-on labs. The first reproduced, inside a test environment, just how far an excessively broad IAM policy widens the blast radius when credentials leak, then fixed it into a least-privilege policy scoped down with Resource and Condition. IAM Access Analyzer can even automatically generate a draft least-privilege policy based on actual usage records. The second combined CloudTrail and GuardDuty, two services with entirely different roles. CloudTrail is purely a service that endlessly records every API call without applying any judgment, while GuardDuty analyzes that log and alerts you only on what it judges anomalous. Detection and the after-the-fact investigation that follows only become a mechanism that actually works in real-world operations once both are combined.
Next came a step back, pulling together, at a higher level, the pieces each individual hands-on had already touched on. First, the big picture that AWS’s infrastructure is built as a three-tier structure: regions, availability zones, and edge locations. A region is a geographically distant, independent site. An availability zone is one of several clusters of buildings within that region, each with independent power and connectivity — the unit of fault isolation, so that when one goes down, the others keep running. And an edge location is an even more peripheral site, placed closer to end users, for content delivery.
Next, the three EC2 pricing models got organized into a clear picture. On-Demand carries the highest per-unit price in exchange for paying only for what you use; Reserved lowers that price in exchange for committing to a fixed term of usage; and Spot lets you rent someone else’s unused spare capacity at a steep discount, in exchange for accepting the risk that AWS can interrupt it at any time, on its own terms. These three aren’t ranked better or worse — they’re options suited to workloads with genuinely different characteristics.
Then came the shared responsibility model, an essential premise for understanding cloud security. AWS is responsible for the security “of” the cloud itself, while the customer is responsible for the security of whatever they put “in” the cloud. That dividing line isn’t fixed — for an infrastructure-type service like EC2, the customer’s share of responsibility is larger, while for a managed-type service like RDS or S3, AWS takes on a larger share, shifting depending on the type of service.
From here, the series moved into systematically re-understanding mechanisms that earlier hands-on labs had only touched on piece by piece. First, IAM policy evaluation logic. When multiple policies exist at once, everything is denied by default; identity-based and resource-based policies are both evaluated at the same time; a permissions boundary exists separately as an upper ceiling on permissions; and if an explicit deny exists anywhere at all, that operation is denied regardless of every other allow — an absolute priority.
Next came KMS’s key policy. With most AWS services, an action executes as long as an IAM policy allows it, but a KMS customer managed key carries another absolute gate entirely — a key policy tied to that specific key itself. The default key policy includes delegation to the root account, which is exactly what lets an IAM policy effectively handle the decision at all. We also covered envelope encryption: all KMS directly protects is a small symmetric key called the data key, while the data body itself gets encrypted locally, elsewhere, using that data key.
Next, S3 storage classes. Several tiers exist: Standard for frequently accessed data, Infrequent Access for data accessed rarely but that still needs fast retrieval, and Glacier for long-term archival data that’s almost never retrieved. Configure a lifecycle policy, and data automatically moves between these tiers based on how much time has elapsed.
Finally, the difference between security groups and Network ACLs got organized. A security group applies per instance — a stateful mechanism where permitting inbound traffic automatically permits the return traffic. A Network ACL applies per subnet — a stateless mechanism requiring inbound and outbound to each be permitted independently. Their evaluation order also differs: an IAM policy always prioritizes an explicit deny, while a Network ACL evaluates the lowest-numbered rule first, and whichever rule matches first is the one applied.
And the twenty-third article wasn’t like the others — it never taught a single new technique. Instead, under the setup of a fictional e-commerce company, KoiKoi Shop, migrating fully from on-premises to AWS, you designed, yourself, a single integrated infrastructure combining everything you’d learned separately up to that point: VPC design, EC2, RDS/Secrets Manager, S3, IAM roles, VPC endpoints, EBS backups, least-privilege policies, and CloudTrail/GuardDuty. Following a fixed procedure and designing from requirements are genuinely different skills, and finishing every individual hands-on doesn’t make you immediately effective in real work without experience combining them into one coherent architecture. And part of that capstone was assembling the deliverable itself as a portfolio piece — not just screenshots proving it worked, but a document articulating the reasoning behind your design decisions.
Looking back across all twenty-three articles, one consistent pattern emerges. The public access block, VPC peering’s non-transitive pitfall, KMS’s key policy as yet another absolute gate, the blind spot in the ASG’s default EC2 health check type never seeing the ALB’s health check result unless explicitly switched to ELB, Multi-AZ and a read replica’s two different faces as “another DB” serving two different purposes, the IAM role, the VPC endpoint, the least-privilege policy, the two-layer security group design behind the ALB, Route 53 Alias record’s own abstraction, the absolute priority of an explicit deny, and the whole architecture integrated in the capstone — every one of them was a different, concrete implementation of the same design philosophy: default to the safe side, and deliberately, explicitly open up only the specific range that’s genuinely needed. Are you widening the scope more than necessary just to get something working for now? Asking yourself that question, over and over, is the perspective a top-1% engineer carries away from this series. And that’s the recap of the AWS Fundamentals series, complete.