Cheat sheet · Specialise
AWS cheat sheet
Opens with creditsA quick-revision book on Amazon Web Services: accounts and IAM, compute, storage, databases, networking, messaging, observability, infrastructure as code and cost. Use it to recall how a service behaves, which one to choose and the mistake that usually bites, before you design or change something on AWS.
Chapters
10 chapters · 73 concepts
1Global infrastructure and accountsWhere AWS runs your resources, how accounts separate them, and how you talk to AWS from a terminal.8 concepts
- 1RegionsA region is a separate geographic cluster of data centres, such as
eu-west-2(London). - 2Availability zonesEach region has several availability zones: one or more data centres with independent power, cooling and networking, linked by low-latency private fibre.
- 3Edge locations and global servicesEdge locations are hundreds of smaller sites in cities worldwide that run CloudFront, Route 53 and Global Accelerator close to users.
- 4Shared responsibility modelAWS secures the cloud: hardware, facilities, the hypervisor and managed service internals.
- 5Accounts and the root userAn AWS account is a container for resources and the hard boundary for billing, quotas and security.
- 6AWS Organizations and SCPsOrganizations groups accounts under a management account, arranged in organisational units, with consolidated billing.
- 7ARNsAn ARN uniquely names a resource:
arn:partition:service:region:account-id:resource. - 8AWS CLI, profiles and queriesThe AWS CLI calls every service API from a shell.
8 in this chapterOpen this chapter- 1RegionsA region is a separate geographic cluster of data centres, such as
2IAM and access controlEvery API call on AWS is authenticated and then checked against policies. Getting IAM right is most of AWS security.10 concepts
- 1IAM users, groups and rolesA principal is who makes a request.
- 2Policy documentsA policy is JSON with statements.
- 3Identity-based vs resource-based policiesIdentity-based policies attach to a user, group or role and say what it may do.
- 4Policy evaluation logicEvery request starts denied.
- 5Least privilege and Access AnalyzerLeast privilege means granting only the actions and resources a principal needs.
- 6Policy conditionsA
Conditionblock adds rules to a statement using keys such asaws:SourceIp,aws:PrincipalOrgID,aws:SecureTransport,aws:RequestedRegionor resource… - 7STS and assuming rolesThe Security Token Service issues temporary credentials when a principal assumes a role.
- 8IAM Identity CenterIdentity Center is the central sign-in for people across all accounts in an organisation.
- 9Permissions boundariesA permissions boundary is a managed policy attached to a user or role that caps the permissions its identity policies can grant.
- 10KMS, Secrets Manager and Parameter StoreKMS manages encryption keys used by S3, EBS, RDS and others, with every use logged.
10 in this chapterOpen this chapter- Compute: EC2, Lambda and containersVirtual machines, functions and containers: what each runs well, how it scales and how it is billed.8 conceptsOpens with credits
- Storage: S3, EBS and EFSObject storage for files and data, block storage for instance disks and shared file systems, and how to keep each safe and cheap.7 conceptsOpens with credits
- Databases and cachingManaged relational databases, DynamoDB for key-value access at any scale, and in-memory caches.7 conceptsOpens with credits
- Networking: VPC, load balancing and edgeHow traffic reaches your resources and how you keep private things private: VPCs, routing, firewalls, load balancers, DNS and CDN.9 conceptsOpens with credits
- Messaging and eventsQueues, pub/sub and event buses let services work independently and absorb load spikes. Pick the one that matches the shape of your messages.6 conceptsOpens with credits
- Observability and auditMetrics, logs and alarms tell you how workloads behave; audit trails tell you who changed what.6 conceptsOpens with credits
- Infrastructure as codeDefine AWS resources in reviewed, versioned files instead of console clicks, so every environment can be rebuilt the same way.6 conceptsOpens with credits
- Cost control and Well-ArchitectedKnow where the money goes, stop surprises early, and review designs against AWS's six pillars.6 conceptsOpens with credits
- 11Glossary, A to ZEvery concept in the sheet and the smaller terms it uses, in one list.107 terms
About this sheet
The AWS services and ideas you use to build, secure, run and pay for real workloads, with CLI commands and policy JSON.
Related on Sefism
Picked from the other libraries by shared topics.
Roadmaps
See allBest practices
See all- Kubernetes Best PracticesRun workloads on Kubernetes that schedule well, survive restarts and node drains, and stay locked down: resources, probes, PDBs, Pod Security and RBAC.
- Terraform Best PracticesWrite Terraform that teams can review and change safely: file layout, version pinning, remote state with locking, secrets, modules, refactoring and tests.
Checklists
See all- Cloud Cost Optimization ChecklistFinOps for engineers: tagging and allocation, budgets and anomaly alerts, rightsizing, scheduling, commitments, storage lifecycle, egress, idle resources and unit cost metrics.
- AWS Account Security ChecklistLock down an AWS account: root user, IAM Identity Center, roles instead of keys, CloudTrail, GuardDuty, S3 Block Public Access, IMDSv2 and guardrails.
- Incident Response ChecklistPrepare for and handle production incidents: on-call, severity levels, declaring, roles, mitigation, security containment, status updates and blameless postmortems.
Project structures
See all- Firebase (Cloud Functions and security rules) project structureFor students building an app on Firebase who need a real backend: Cloud Functions (2nd gen) in TypeScript, Firestore and Storage security rules with tests, and the Local Emulator Suite. The tree starts from
firebase initand grows into feature folders of callables, triggers and scheduled jobs, then adds CI deploys, environments, contract tests and runbooks. - Terraform project structureAn infrastructure repository for a small app on AWS: reusable modules, one folder per environment with its own remote state, pinned providers, tests and security scans, with plan on every pull request and apply from CI. For students who have finished the Terraform tutorials and want to know how a real team lays out the files. The same layout works unchanged with OpenTofu.
- Kubernetes with Helm project structureA Helm chart repository for one app: the chart that
helm creategives you, grown into a tested, versioned package with per-environment values, unit tests, install tests in a kind cluster and releases to an OCI registry. For students who can write a Deployment by hand and want to know how a team organises charts. It is about the repo layout and what each file does, not about cluster design.
Career questions
See all- Which cloud should I learn first: AWS, Azure or GCP?If you have no reason to choose otherwise, start with AWS: it has the largest market share and the most learning material. Choose Azure if the employers you want run on Microsoft, and GCP if you are heading into data and ML work at companies that use it. The concepts transfer, so the first cloud matters less than learning it properly.
- How do I practise on AWS, Azure or Google Cloud without getting a surprise bill?Use the free offer that fits you, set a budget alert before you create anything, tag every resource, build and destroy your labs with code, and run a five-minute check for the usual culprits, such as NAT gateways, load balancers, databases and public IPs, before you close your laptop.
- Are certifications like AWS or Google Cloud worth it for getting a tech job?It depends on the role. For cloud, DevOps, security and some data roles, a respected certification can help you get shortlisted, especially combined with a real project. For general software engineering roles, projects and skills matter far more. Do the certification to structure your learning, not as a replacement for building.
Stuck on something specific?
Writing only gets you so far. If you want an answer to your situation rather than the general case, book a session and we will work through it together. Sessions are free for approved Sefism members, and a few slots open each week.
- 1:1 Mentorship
- Fresh Graduate Mentorship
- Career Guidance
Brand deals, promos and partnerships: tauseeffayyaz@gmail.com