Core Foundations: the four AWS services everything else builds on
An introduction to the Core Foundations series: IAM, VPC, EC2 and S3, explained from first principles so the rest of AWS makes sense.
AWS has more than 200 services, and the console’s service menu can feel like a wall. The good news is that you don’t need to learn them all. Almost everything on AWS is built from, or depends on, four core services:
| Service | The question it answers |
|---|---|
| IAM | Who can do what to which resources? |
| VPC | Where do my resources live on the network, and who can reach them? |
| EC2 | What runs my code when I need a server? |
| S3 | Where do I keep files and data, durably and cheaply? |
Lambda runs inside the IAM permissions you give it. RDS databases sit in a VPC. Elastic Beanstalk, ECS and EKS run on EC2 capacity. CloudFormation templates, Lambda deployment packages and CloudTrail logs all end up in S3. Once these four make sense, most new services turn out to be combinations of ideas you already know.
The series
New to AWS? Start with setting up an AWS account safely: root user, everyday sign-in and a budget, before you build anything.
- IAM: who can do what: identities, policies, roles and why long-lived access keys are best avoided.
- VPC: your private network in the cloud: CIDR ranges, subnets, route tables, gateways, and security groups vs network ACLs.
- EC2: virtual servers, properly: instance types, AMIs, storage, pricing models, and connecting without SSH keys.
- S3: storage that underpins AWS: buckets, objects, storage classes, security defaults, and hosting a static site.
Each post follows the same shape: the mental model first, then a hands-on exercise you can run in your own account, then the gotchas and costs to watch for.
Before you start
You’ll need:
- An AWS account you control. A personal sandbox account is ideal. Don’t experiment in your employer’s production account.
- A safely set-up account with a budget. Setting up an AWS account safely covers MFA on the root user, an everyday sign-in, and a budget with email alerts. Do it before you build anything. Every exercise in this series is designed to cost little or nothing, but a forgotten NAT gateway or EC2 instance can quietly add up.
- The AWS CLI, installed and configured. Or use AWS CloudShell, which gives you an authenticated CLI in the browser with nothing to install.
Two ideas that apply everywhere
Regions and Availability Zones. AWS runs in geographic Regions (for example us-east-1 in
Northern Virginia or ap-southeast-2 in Sydney). Each Region contains several Availability Zones
(AZs): separate data centres with independent power and networking, close enough for low-latency
links. Most resources are created in one Region, and resilient designs spread across at least two
AZs. A few services, IAM included, are global.
The shared responsibility model. AWS is responsible for the security of the cloud: the data centres, hardware and the software that runs its services. You’re responsible for security in the cloud: who you grant access to, how you configure networks, what you expose publicly, and how you protect your data. Nearly every security incident on AWS sits on the customer side of that line, which is why this series spends so much time on IAM, security groups and S3 access.
Ready? Start with IAM.
Want to go further? See the Core Foundations references for the official guides and tools behind this series.
← All topics