
Level 3 of 4
Where software actually runs
Code does not float in the cloud. It runs on specific machines, reads and writes to specific databases, responds to specific requests, and communicates with other systems through defined contracts called APIs. Level 3 makes all of that concrete.
This is the level where architecture diagrams stop being walls of boxes and start being readable maps. Four articles. Each covers one foundational infrastructure concept. Together they give you the vocabulary to read a technical architecture document, participate in infrastructure conversations, and make informed build versus buy decisions.
What you know after Level 3
Learning path
Before and after
| Before Level 3 | After Level 3 | |
|---|---|---|
| Architecture diagrams | A wall of boxes with arrows connecting them | A readable map: each box has a role; each arrow is an API call or database query |
| “The database is slow” | A problem for engineers | A diagnosable category: slow query, missing index, connection pool exhaustion, or schema design issue |
| Cloud bills | A large number broken into lines you ignore | EC2 is compute; RDS is managed database; S3 is object storage; data transfer is network egress |
| APIs | “The system connects to Stripe somehow” | Stripe exposes an HTTP API; your backend calls it with your API key; the response is JSON your code parses |
| Server vs serverless | Marketing terms | A server runs continuously; serverless executes per request and scales to zero when idle |
| Data residency | A compliance requirement you forward to legal | Choosing an AWS region determines where data physically sits, which determines which regulations apply |
Articles in this level
What is a Database?
Structured storage with a query language. Covers relational databases (tables, rows, columns, foreign keys), SQL as a query language, NoSQL alternatives, and why different data shapes call for different storage solutions. Includes a comparison of PostgreSQL, MySQL, MongoDB, and Redis by use case.
You should read this if: You know that applications “connect to a database” but could not explain what a table is, why a join exists, or why a developer might choose PostgreSQL over MongoDB for a specific feature.
What is a Server?
The machine that responds to requests. Covers the request/response cycle, what web servers and application servers do, how load balancers distribute traffic, and what “scaling” means at the server level: vertical (bigger machine) versus horizontal (more machines). Includes the full lifecycle of an HTTP request from browser to database and back.
You should read this if: You use phrases like “the server is down” without knowing what a server does in the first place, or you want to understand why adding more users makes a system slower in specific, predictable ways.
What is the Cloud?
Infrastructure you rent instead of own. Covers the major cloud providers (AWS, Google Cloud, Azure), what managed services are and why they exist, how regions and availability zones work, and how cloud pricing models (on-demand, reserved, spot) affect product economics. Explains why “migrating to the cloud” is not the same as moving files to a server.
You should read this if: You make decisions that involve cloud costs, regional expansion, or vendor selection and want to read a cloud architecture review without an engineering interpreter.
What is an API?
The contract between communicating systems. Covers REST, HTTP methods (GET, POST, PUT, DELETE), JSON as the standard data format, API authentication (API keys, OAuth, JWTs), and rate limiting. Explains what “breaking change” means, why API versioning matters, and how to read API documentation well enough to evaluate a vendor integration.
You should read this if: You have signed a contract for a third-party API integration and had no way to evaluate whether the API design was good, or you want to understand what an API contract review actually covers.
Why this matters in practice
Reading architecture documents: Every technical design document includes an architecture diagram. Level 3 gives you the vocabulary to read every component. You can ask “what happens if the database fails?” and “why is this API synchronous rather than asynchronous?” instead of reading the boxes.
Infrastructure cost conversations: Cloud spend is one of the largest line items in a scaling software product. Understanding that EC2 is compute-per-hour, RDS is managed Postgres, and S3 is object storage per gigabyte means you can read the bill and challenge it. Cost optimisation decisions require product input on usage patterns.
Vendor API evaluation: When you integrate a payment provider, a messaging API, or an AI model provider, you are signing a contract with a technical interface. Rate limits, authentication patterns, webhook reliability, and versioning policies are API design decisions that affect your product. Level 3 lets you evaluate them before you sign.
AI product infrastructure: Every AI product sits on this stack. A language model API is a standard HTTP call returning JSON. A vector database is a specialised storage system. A RAG pipeline connects an API, a database, and a server. Level 3 is the prerequisite for understanding AI infrastructure at Level 4.
What comes next
Start Level 4: AI and Building →
Level 3 infrastructure is the platform. Level 4 puts AI systems on top of it and shows you how to build with them.
Further reading
- What is a Database? : tables, SQL, and the data storage options behind every application
- What is an API? : REST, HTTP methods, and the contracts between communicating systems
- AWS Documentation: Overview of Amazon Web Services : the authoritative map of cloud services and what each one does
- REST API Tutorial : plain-English introduction to REST design, HTTP methods, and status codes
- Cloudflare Learning: What is a web server? : clear explanation of server roles with diagrams
- PostgreSQL Documentation: Tutorial : start here for relational databases; the canonical reference
- API Design Guide, Google Cloud : how Google designs APIs; the standard reference for REST API design patterns