Pranav Srivastava
Learning tracks
publishedBeginner4 chapters

Cloud Foundations: Where Your API Actually Runs

Your API has to live somewhere. A beginner's map of cloud computing — renting vs. owning, the IaaS/PaaS/SaaS layers, serverless, and how AWS, Azure, and GCP fit — so you can choose where to build without drowning in jargon.

CloudAWSAzureGCPServerlessArchitecture

You've designed a lovely API. Now — where does it run? It needs a computer that's always on, connected to the internet, that can grow when lots of people show up. That's what "the cloud" provides. This course demystifies it, so a beginner can confidently pick where to build without getting lost in three providers' worth of jargon.

What you will learn
  • Understand what "the cloud" actually is, in plain terms
  • Know the three layers — IaaS, PaaS, SaaS — and how much each one does for you
  • Understand serverless, and why it's often the easiest start
  • See how the big providers (AWS, Azure, GCP) map to the same ideas

The cloud is just renting someone else's computers

Strip away the mystique and the cloud is simple: instead of buying computers, running them in a room, and maintaining them yourself, you rent them from a company that runs enormous data centres — and pay only for what you use. Need a server for an hour? Rent it for an hour. Suddenly have a million users? Rent more, instantly. Traffic drops? Give them back.

This is transformative for a builder. You don't need money for hardware, a server room, or a team to keep machines alive. A person with a laptop can launch something the whole world can reach, and only pay as it grows. The cloud is what makes "anyone can build" actually true.

Chapter summary
  • The cloud is renting computers on demand instead of buying and running your own
  • You pay for what you use and scale up or down instantly
  • It removed the upfront cost of launching — anyone can now reach the whole world

Three layers: how much do you want to manage?

Cloud comes in layers, and the only real question each one answers is: how much do you want to handle yourself, versus let the provider handle? Less control means more convenience — and usually a faster path to shipping.

SaaSjust use it — Gmail, NotionPaaSyou bring the code — Vercel, App EngineIaaSyou manage the machine — EC2, VMs↑ less↓ moreyou manage
Cloud comes in layers. The higher you go, the less you manage yourself — and the faster you can build.
  • IaaS (Infrastructure as a Service) — you rent a bare machine and manage almost everything on it: the operating system, updates, your app. Most control, most work. Example: a virtual server (AWS EC2, Azure VM).
  • PaaS (Platform as a Service) — you just bring your code; the provider handles the machine, the operating system, scaling, and patching. Far less work, a little less control. Example: deploy code to Vercel, Google App Engine, Azure App Service.
  • SaaS (Software as a Service) — you don't build anything; you just use finished software. Example: Gmail, Notion, Slack. (This is the layer your own product might one day be, for your users.)
Chapter summary
  • The layers differ by how much you manage vs. the provider
  • IaaS = you manage the machine; PaaS = you bring only code; SaaS = you just use it
  • Beginners should start high (PaaS/serverless) and drop lower only when needed
Check your understanding
  1. In your own words, what is "the cloud"?
  2. You want to deploy your API without managing servers or operating systems. Which layer fits?

Serverless — the easiest start of all

There's an option that sits even higher than PaaS for many tasks, with a slightly confusing name. Serverless doesn't mean there are no servers (there are). It means you never think about them. You hand the provider a single function — "when a request comes in, run this" — and it takes care of everything: starting machines, scaling to millions, and shutting down when idle. You pay only for the moments your code actually runs.

For a beginner building an API, this is often the gentlest possible start. No server to set up, no machine to keep alive, automatic scaling, and near-zero cost when nobody's using it. Many modern APIs are simply a set of these functions.

Chapter summary
  • Serverless means you supply a function and never manage servers yourself
  • It scales automatically and costs almost nothing when idle
  • Often the easiest way for a beginner to run an API (Lambda / Azure Functions / Cloud Functions)

AWS, Azure, GCP — same ideas, different labels

The "big three" cloud providers — Amazon Web Services (AWS), Microsoft Azure, and Google Cloud Platform (GCP) — can feel overwhelming, each with hundreds of services and their own names for everything. Here's the secret that calms it down: they offer the same core building blocks, just with different labels.

You need…AWSAzureGCP
A virtual serverEC2Virtual MachinesCompute Engine
Run a function (serverless)LambdaAzure FunctionsCloud Functions
Store filesS3Blob StorageCloud Storage
A managed databaseRDSSQL DatabaseCloud SQL
Deploy code (PaaS)Elastic BeanstalkApp ServiceApp Engine

Learn the concepts — a server, a function, file storage, a database — and you can move between providers; the names change, the ideas don't.

Chapter summary
  • AWS, Azure, and GCP offer the same building blocks under different names
  • Learn the concepts (server, function, storage, database) and you can use any of them
  • Don't agonise over the choice — pick one, start, and the knowledge transfers
Check your understanding
  1. What does "serverless" actually mean, and why is it beginner-friendly?
  2. AWS calls it "Lambda." What's the equivalent idea on Azure and GCP?
  3. Why shouldn't a beginner stress about which cloud provider to choose?
All tracksQuestions? Get in touch →