Home › Labs & Reference › Cheat Sheet

⚡ AWS services cheat sheet

Every service that appears anywhere in this course, on one page, in one line each — plus the port numbers and the numbers worth memorising before an exam.

38 servicesRevision Print friendly

Compute

Storage

Database

Networking

Security

Management

Integration

Compliance

Cost

Port numbers

PortProtocolNotes
20 / 21FTPData and control
22SSH / SFTPHow you reach a Linux EC2 instance. Never open to 0.0.0.0/0.
23TelnetUnencrypted. Do not use.
25 / 587SMTPSending mail
53DNSUDP usually, TCP for large answers. The origin of the name Route 53.
67 / 68DHCPServer and client
80HTTPYour S3 website endpoint uses this
443HTTPSWhat CloudFront gives you
3306MySQL / Aurora MySQLAllow from the web security group only
3389RDPWindows remote desktop
5432PostgreSQL
1024–65535EphemeralReturn traffic. Matters when writing NACL rules.

Numbers worth memorising

NumberWhat it is
7 / 4Layers in the OSI model / in the TCP/IP model
32Bits in an IPv4 address
2^h − 2Usable hosts in a traditional subnet
5Addresses AWS reserves in every subnet
256 − mask octetThe block size shortcut for subnetting
3Minimum Availability Zones in a Region
6Well-Architected pillars
8Operational Excellence design principles (current)
11 ninesS3 durability
99.9% = 8.8 h/yrThree nines of downtime per year
400 KBMaximum DynamoDB item size
9.0–10.0GuardDuty Critical severity band
2 minutesSpot Instance interruption notice
35 daysDynamoDB point-in-time recovery window

Picking the right service

If the question says…The answer is usually…
"key-value, millisecond, massive scale"DynamoDB
"SUM, GROUP BY, three years of history"Redshift
"serve users worldwide with low latency"CloudFront
"route traffic to the nearest Region"Route 53 latency-based routing
"send 10% of traffic to the new version"Route 53 weighted routing
"who called this API and when?"CloudTrail
"CPU is above 80% — tell someone"CloudWatch alarm → SNS
"one message must reach four systems"SNS fan-out
"buffer work so a slow consumer does not block"SQS
"detect compromised instances"GuardDuty
"find unpatched software"Inspector
"block SQL injection"AWS WAF
"private connection to S3 from a VPC"Gateway VPC endpoint
"connect 30 VPCs and the office"Transit Gateway
"one bill and guardrails for 20 accounts"AWS Organizations with SCPs
"give my auditor the SOC 2 report"AWS Artifact
"why is my bill so high?"Cost Explorer
"warn me before I overspend"AWS Budgets