
Cloud fundamentals
Course 1 · Today your cloud starts running on your laptop
Today
| When | What | Where |
|---|---|---|
| 0:00 | Welcome, how the course works, the project | Lecture |
| 0:15 | Cloud basics, service models, HA, CAP, responsibility, regions | Lecture |
| 1:10 | Console, CLI, SDK, accounts, IAM | Lecture |
| 1:40 | The architect's job, Well-Architected, the project roadmap | Lecture |
| 2:00 | Project M0: Floci, group users, the auditor's AccessDenied | Project |
Your AWS runs on your laptop
Floci in DockerSame AWS CLI and APIs, no timer, no bill, break it as much as you want
Or a CodespaceA Linux box in your browser if your laptop can't run Docker
Two rulessource env.shin every terminal. Your repo is the truth, not your laptop

From laptop to prod
Prod never sleeps, has a public address, tested backups, and someone who wakes up when it breaks.
Own it or rent it

On-premises
Buy, wait weeks, size everything for the busiest day

Cloud
Rent through an API, by the second, give it back when done
The rest of this course is about using that rented API well.

Puff, your own small cloud
Six courses, one project: your group runs a real app from GitHub on its own cloud.
How much do you still cook?

IaaS
Homemade: you get the oven, you do the rest

PaaS
Frozen: you bake and serve

SaaS
Delivered: you just eat
Who manages what
| IaaS | PaaS | SaaS | |
|---|---|---|---|
| You manage | OS, runtime, app, data | Your app and data | Your data and settings |
| Provider manages | Hardware, network, virtualization | Updates, runtime | Everything |
| On AWS | EC2, EBS, VPC | RDS, Elastic Beanstalk, Lambda | WorkMail, Chime |
| Everyday | A VPS from any host | Heroku, Vercel | Gmail, Slack, Notion |
Four words people mix up
| The question | Your app on your platform | |
|---|---|---|
| Scalability | Can it handle more if I add resources? | A second API server doubles capacity |
| Elasticity | Does it add and remove resources by itself? | 2 servers at 8:55, 4 at 9:00, back to 2 at 9:30 |
| High availability | Does it stay up when something fails, with a short blip? | A server dies, traffic moves to the other in seconds |
| Fault tolerance | Does it keep working with zero visible interruption? | Two copies always serve, losing one changes nothing |
Most web apps aim for high availability. Fault tolerance costs more.
The network splits. Pick one.

Consistency
Every read gets the latest write, or an error

Availability
Every request gets an answer, maybe with old data

Your app's data: consistency or availability?
And if the same app stored exam grades?
AWS secures the cloud, you secure what's in it
| EC2 | RDS | S3 | |
|---|---|---|---|
| Buildings, hardware, network | AWS | AWS | AWS |
| Operating system updates | You | AWS | AWS |
| Firewall rules | You | You | n/a |
| Who can access the data | You | You | You |
| Encryption and backups | You | You | You |
Like renting a flat: the plumbing is theirs, the door you left open is yours.

A .env with a password ends up in your public bucket. Whose fault?
Where your servers live

Region
A city-sized area, like eu-west-3 in Paris

Availability Zone
A separate building in that city, own power and network
Pick a region for the law first, then latency, price and features.

Alan runs mostly in Frankfurt: our members' health data stays in Europe.

French patients' data. The CTO wants us-east-1 because it's cheaper. What do you say?
Every click is an API call
| Console | CLI | SDK | |
|---|---|---|---|
| Good for | Exploring, quick checks | Scripts, repeatable steps | Your own code calling AWS |
| Repeatable | No, clicks are forgotten | Yes, paste it again | Yes, it's code |
| In this course | Real AWS screenshots | Every project milestone | Lambda in course 5 |

The account is your house
One bill, one front door. Lock the root user away with MFA and work through roles.
Who can do what, checked on every call
| What it is | Example | |
|---|---|---|
| User | A long-lived identity for one person or app | jdupont, who logs into the console |
| Group | Users that share permissions | developers, support |
| Role | Borrowed for a while, temporary credentials, no password | LabRole, used by your servers |
| Policy | A JSON document of what's allowed or denied | "read objects in bucket X" |
Everything is denied by default. A policy opens one door at a time.
What an architect actually does
ListenWho uses it, how many, when, what data, what must never happen
DesignThe boxes, and the arrows one request follows
Choose and rejectThe option kept, the ones rejected, and why, written down
Hand overSomething the people on call can run at 3 a.m. without you
Two worlds, one architect
| Platform 2.0 | Platform 3.0 | |
|---|---|---|
| Where it runs | Your own data center | Rented, paid by the second |
| Components | Physical servers, SAN/NAS, VLANs, firewalls, middleware | Virtual servers, object storage, software-defined networks, managed services |
| How you change it | A change request, weeks | An API call or a commit, minutes |
| Who runs it | One team builds, another runs | The team that builds it runs it |
Banks, hospitals and factories still run 2.0. Most big companies run both.
Six pillars, all pulling against each other
| Pillar | The question | On Puff |
|---|---|---|
| Operational excellence | Can you run, change and fix it calmly? | Deploy from code, readable logs |
| Security | Is access limited and data protected? | DB in a private subnet, password in Parameter Store |
| Reliability | Does it recover from failures? | API over 2 AZs behind a load balancer |
| Performance | Right resources for the load? | Static files on S3 and CloudFront |
| Cost | Paying only for what you need? | t3.micro when CPU sits at 5% |
| Sustainability | Wasting energy and hardware? | 2 servers at night instead of 4 |
Where Puff is going

Course 1
Storage

Course 2
Servers and a database

Course 3
A private network

Course 4
Secrets and alarms

Course 5
Grows and heals

Course 6
Rebuilt from code

Hands-on
Project M0: your cloud, your group, your first AccessDenied
✅ ./checks/check.sh M0 prints only PASS, the AccessDenied is in NOTES.md

Your app runs in one container in us-east-1a. Is it highly available?
Everything from today is on the course page.
