Cloud fundamentals

Course 1 · Today your cloud starts running on your laptop

Today

When What Where
0:00Welcome, how the course works, the projectLecture
0:15Cloud basics, service models, HA, CAP, responsibility, regionsLecture
1:10Console, CLI, SDK, accounts, IAMLecture
1:40The architect's job, Well-Architected, the project roadmapLecture
2:00Project M0: Floci, group users, the auditor's AccessDeniedProject

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.sh in 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 manageOS, runtime, app, dataYour app and dataYour data and settings
Provider managesHardware, network, virtualizationUpdates, runtimeEverything
On AWSEC2, EBS, VPCRDS, Elastic Beanstalk, LambdaWorkMail, Chime
EverydayA VPS from any hostHeroku, VercelGmail, Slack, Notion

Game time

Pizza as a service

Open it on the course page

Four words people mix up

The question Your app on your platform
ScalabilityCan it handle more if I add resources?A second API server doubles capacity
ElasticityDoes it add and remove resources by itself?2 servers at 8:55, 4 at 9:00, back to 2 at 9:30
High availabilityDoes it stay up when something fails, with a short blip?A server dies, traffic moves to the other in seconds
Fault toleranceDoes 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.

Game time

The supermarket

Open it on the course page

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?

Game time

Split brain

Open it on the course page

AWS secures the cloud, you secure what's in it

EC2 RDS S3
Buildings, hardware, networkAWSAWSAWS
Operating system updatesYouAWSAWS
Firewall rulesYouYoun/a
Who can access the dataYouYouYou
Encryption and backupsYouYouYou

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?

Game time

Who's responsible?

Open it on the course page

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.

eu-central-1

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?

Game time

Pick a region

Open it on the course page

Every click is an API call

Console CLI SDK
Good forExploring, quick checksScripts, repeatable stepsYour own code calling AWS
RepeatableNo, clicks are forgottenYes, paste it againYes, it's code
In this courseReal AWS screenshotsEvery project milestoneLambda 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
UserA long-lived identity for one person or appjdupont, who logs into the console
GroupUsers that share permissionsdevelopers, support
RoleBorrowed for a while, temporary credentials, no passwordLabRole, used by your servers
PolicyA 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.

Game time

Badges and keys

Open it on the course page

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 runsYour own data centerRented, paid by the second
ComponentsPhysical servers, SAN/NAS, VLANs, firewalls, middlewareVirtual servers, object storage, software-defined networks, managed services
How you change itA change request, weeksAn API call or a commit, minutes
Who runs itOne team builds, another runsThe 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 excellenceCan you run, change and fix it calmly?Deploy from code, readable logs
SecurityIs access limited and data protected?DB in a private subnet, password in Parameter Store
ReliabilityDoes it recover from failures?API over 2 AZs behind a load balancer
PerformanceRight resources for the load?Static files on S3 and CloudFront
CostPaying only for what you need?t3.micro when CPU sits at 5%
SustainabilityWasting 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

Steps on the course page

Game time

Today's quiz

Open it on the course page

Your app runs in one container in us-east-1a. Is it highly available?

Everything from today is on the course page.