
Project ยท Build it, defend it
Your platform, your idea, and your defense in front of me
๐ฏ By the end of the project
- You can turn a real need into concrete changes on your platform.
- You can explain every box of your platform, including the ones a teammate built, and rebuild it all from your repo.
- You can put a monthly price on your design and an honest promise on its uptime and recovery.
- You can demo a working cloud live and handle questions you didn't prepare for.
๐๏ธ How the project runs
The project isn't a last-day exercise anymore: the whole course is the project.
Groups of 3 from course 2, one Git repo per group, one milestone per course, checked with ./checks/check.sh M<n>.
| Milestone | Course | Done when |
|---|---|---|
| M0 setup + IAM | 1 (catch-up in 2) | Floci runs, one IAM user per member, the auditor's AccessDenied saved |
| M1 compute + data | 2 | Your app from GitHub on ECS behind a load balancer, RDS up, status page on S3 |
| M2 network | 3 | Custom VPC, only the load balancer answers, app and database private, an intruder container is blocked |
| M3 security + ops | 4 | Secret out of your config, logs in CloudWatch, an alarm that lands in your pager queue, a least-privilege role proven by an AccessDenied |
| M4 scale + edge | 5 | 2 containers in 2 AZs, a live kill drill, your own autoscaler (alarm โ Lambda), CloudFront, your idea designed |
| M5 as code | 6 | Everything in CloudFormation, wiped and rebuilt in one command, idea built, then your defense |
The app is yours to pick: any simple app on GitHub with a Dockerfile. We grade the cloud around it, never the app.
๐ช Your group is a small platform team
For six courses you built your own small platform, around an app from GitHub.
Here's what you have:
- file storage (S3)
- containers and a database
- a private network with one public door
- secrets and alarms
- extra containers when traffic grows (your own autoscaler)
- a template that rebuilds it all (CloudFormation)
Whoever uses a platform doesn't care that you used a VPC (Virtual Private Cloud, your private network inside AWS). They ask four things:
- Will it be up when I need it?
- What happens when something breaks?
- What would it cost each month on real AWS?
- Is my data safe?
Your defense answers those with a working platform, a diagram and a short demo.
๐งโ๐คโ๐ง Your team and your repo
Groups of 3, formed in course 2. Your repo is the shared truth, not a laptop: infra/deploy.sh (then your CloudFormation templates) must rebuild your whole platform from zero on any member's machine, laptop or Codespace.
Each member runs Floci on their own machine, so each can break, wipe and rebuild without blocking the others.
๐ Pick your idea
Every group picks one small idea from school life at EPITA Paris and adapts its platform to it. No new app to write: your app from GitHub stays the same, the idea changes how your cloud around it behaves.
At most 6 groups per idea, first come first served.
1. The midnight deadline. A project is due at 23:42. Nobody submits at 20:00, everybody submits between 23:20 and 23:42, and the submission page must not fall over in the last 10 minutes.
- What it changes: the rush is known in advance, and scaling on load reacts after it has started. How are your containers ready at 23:20?
- Pieces you already have: your autoscaler from M4, plus EventBridge Scheduler calling it before the rush.
2. The live room board. A page shows which machine rooms on campus have free seats. A handful of people update it, hundreds of students refresh it every few seconds from their phones between two classes.
- What it changes: about 100 reads for every write. Do all those reads need to reach your containers and your database?
- Pieces you already have: CloudFront from M4, this time in front of your load balancer too, with a cache time you choose and defend.
3. The internship CV drop. Students upload their CV for internships and alternance, and only the internship office may read them.
- What it changes: personal data. Where do the files live, who can read them, and how do you prove nobody else can?
- Pieces you already have: a private S3 bucket (not your public status page), a least-privilege role like your deployer from M3, and Floci accepts
eu-west-3(Paris) if you want the data in France.
โ What your platform must offer
Every group builds this standard package, whatever their idea.
You built each piece in a milestone, and check.sh M2 to M5 test exactly these lines, nothing hidden.
| What your platform offers | Why it matters | Built in |
|---|---|---|
| A private network (VPC) with public and private subnets in 2 AZs | If one data center fails, the other keeps going | M2 |
| One public door only, the load balancer, and an intruder blocked from the app | The app and the database have no public address, so there's one entrance to watch | M2 |
| The database in private subnets, reachable only from the app's security group | The data sits the furthest from the internet | M2 |
| No password in clear: Secrets Manager, injected by an execution role | Passwords in scripts leak into logs, screenshots and Git history | M3 |
| Logs in CloudWatch and an alarm that pages you | You hear about a problem before your users do | M3 |
| A least-privilege deployer role, proven by an AccessDenied | A mistake or a stolen key can't delete everything | M3 |
| 2 or more containers in 2 AZs, surviving the kill drill, scaled by your own autoscaler | A container dies or a crowd shows up, nobody notices | M4 |
| A status page on S3 behind CloudFront | It answers even when your app is down, and the cache absorbs traffic you'd pay for | M4 |
Network and app in CloudFormation, rebuilt from zero in one command, tagged Project | The night everything is lost, you're back in minutes, identical | M5 |
Your request takes one road: the browser hits the load balancer, the only public door, which forwards to one of your containers in two private subnets, one per AZ. Only those containers can reach the database.
If a container dies, the load balancer stops sending it traffic and ECS starts a new one. Your alarm watches a number, and when it trips your pager gets a message and, for the load alarm, your autoscaler adds a container.
Key point: if something here is missing, say so in your defense.
A gap you name is a decision. A gap I find myself is a surprise, and nobody likes those in production.
โญ Extras that make your platform stand out
Do these only once the package works.
One extra done well beats three half-done.
Extras earn no points on their own, they make your idea and your answers stronger.
- A Lambda function triggered by an event, for example a new CV in S3 posts a "new CV" message to your pager.
- CloudFront caching rules chosen on purpose:
- a long TTL for the website files
- CloudFront in front of your load balancer too, caching your app's reads for a few seconds or not at all, depending on your idea
- A second alarm on what your users care about, wired to your pager.
- A monthly cost estimate from the AWS Pricing Calculator, link or screenshot attached.
- A disaster recovery plan in 5 lines: what you back up, where the copy lives, how long a restore takes, how much data you could lose, who presses the button.
๐ How you're graded
The project is your whole grade for the course, out of 20.
15 points go to the group, 5 points to you alone. Following every course with your platform working gives you 10 by itself. Every line maps to one of the course's learning outcomes.
| Line | Points | Who | What I look at | Learning outcome |
|---|---|---|---|---|
| Your platform works | 10 | Group | check.sh M2 to M5 at the freeze: lines passed / total ร 10, rounded to 0.5. Follow every course and finish every milestone, that's 10/20. If something regresses by your slot, you lose that line | Build an infrastructure to host a web app |
| Your idea | 3 | Group | 0: not handled. 1.5: designed in NOTES.md, or half working. 3: working live, and you say which option you rejected and why | Analyse needs and constraints, design an aligned architecture |
| Break-fix | 2 | Group | I break one thing in your platform, I pick who takes the keyboard, the other two can only talk. 0: lost. 1: right area or cause found. 2: fixed within 2 minutes. No wipe and no rebuild during those 2 minutes, you fix what's broken | Demonstrate availability and resilience |
| Your question | 5 | You | One question on a part of your platform I pick, not the one you say you built. 0: no answer. 1: names the right service. 3: explains what your setup does and why. 5: why, one tradeoff, and what changes at 10x traffic or on real AWS | Design an aligned architecture, present it on scalability, availability and resilience |
At the start of the project block you also fill a 30 second anonymous form: did everyone in your group contribute? It's worth no points, it only tells me where to ask.
๐ค The defense: 8 minutes
Your slot is 8 minutes, timed, and the next group plugs in while you answer questions.
I stop you at 2:30 even mid-sentence, so rehearse once with a timer.
| Time | What |
|---|---|
| 2 min 30 | Your pitch. All three speak |
| 2 min | Break-fix: I break something, one of you fixes it |
| 3 min | One question each, about a minute per person |
| 30 s | Swap |
During the questions I ask what happens if this breaks, what it would cost on real AWS and who sees the data.
A pitch that works:
- 20 seconds: your idea, with numbers (how many users, when, what data).
- 1 minute: the diagram, following one request from the browser to the database and back.
- 1 minute: the live demo, ending on the proof your idea works.
- 10 seconds each: how your platform scales, how it stays available when one AZ goes, and how it recovers after a disaster.
Before and during your slot:
- Open everything before your turn: the app URL, the status page through CloudFront, NOTES.md, your templates, a terminal with
source env.shdone. - Plug in, Floci running, checks green, before your slot starts.
- Show your idea, don't describe it. If it's the midnight deadline, show the schedule and your scaler's log line.
- Say "I don't know" when you don't, then say how you'd find out. A team that admits a gap is easier to trust than one that bluffs.
๐งช Hands-on: pre-flight check before your defense
10 minutes before your slot, on the machine you'll demo from, with Floci running:
# Every milestone, the same checks I read at your slot
for m in M2 M3 M4 M5; do ./checks/check.sh $m; done
# The app answers through the load balancer
curl -s -o /dev/null -w '%{http_code}\n' "http://$(aws elbv2 describe-load-balancers --names $GROUP-alb2 \
--query 'LoadBalancers[0].DNSName' --output text)/"
# Your stacks, and what carries your tag
aws cloudformation describe-stacks --query 'Stacks[].[StackName,StackStatus]' --output table
aws resourcegroupstaggingapi get-resources --tag-filters Key=Project,Values=$GROUP \
--query 'ResourceTagMappingList[].ResourceARN' --output table# Every milestone, the same checks I read at your slot
foreach ($m in 'M2', 'M3', 'M4', 'M5') { .\checks\check.ps1 $m }
# The app answers through the load balancer
$DNS = aws elbv2 describe-load-balancers --names "$env:GROUP-alb2" --query 'LoadBalancers[0].DNSName' --output text
curl.exe -s -o NUL -w '%{http_code}\n' "http://$DNS/"
# Your stacks, and what carries your tag
aws cloudformation describe-stacks --query 'Stacks[].[StackName,StackStatus]' --output table
aws resourcegroupstaggingapi get-resources --tag-filters "Key=Project,Values=$env:GROUP" `
--query 'ResourceTagMappingList[].ResourceARN' --output table๐งฏ If it doesn't work
- Something is red and you don't know why:
./wipe.shthen./infra/rebuild.sh. That's what M5 is for, and it's 2 minutes. - The app doesn't answer right after a rebuild: containers start about 30 seconds after the stack.
- A check about NOTES.md fails: the proof (AccessDenied, page, rebuild time, idea) isn't in NOTES.md, or isn't committed.
- Floci itself is stuck:
docker compose restart, wait 20 seconds.
๐งฏ Survival tips
- Your repo is your platform. Whatever isn't in
infra/and NOTES.md at the freeze doesn't exist. - Rehearse the live rebuild once with a timer before your slot. If it breaks on the day, you show the
Rebuilt in N sline from NOTES.md and the check outputs, and explain. - Get your idea working end to end early, then polish. A half-built idea is worse than a clear plan.
- Floci is an emulator: if you hit something that looks like its bug and not yours (the database reachable by the intruder, no CPU metric), name it in your defense and say what real AWS would do. That's a good answer, not an excuse.
Your diagram is on screen during the pitch, nothing to hand in.
Any diagram tool works (draw.io, Excalidraw, a readable whiteboard photo), as long as it shows:
- the VPC, the subnets and their AZs
- every service
- the arrows a request follows
๐ค Think about it
- Your idea is the midnight deadline. A teammate wants your scaler's
MINat 4 all week "to be safe". What would that cost on real AWS compared with your plan, and is there a case where they're right? - For the live room board, you cache the page in CloudFront for 5 seconds. A seat frees up and the board still shows the room as full. Bug or choice, and how do you pick the number of seconds?
- Your app, database and containers are all down. What can your users still see, and which piece of your platform made that possible?
- The internship CVs live in eu-west-3 (Paris), with CloudFront in front of your site. Could a CV leave the EU, and how would you check?
- You say "the database breaks first at 10 times the traffic". What would you look at in CloudWatch to prove it?
๐ก Hints
- Price both options for a month in the Pricing Calculator: 4 containers all the time against 2 containers plus 2 more from 23:20 to 23:42 on deadline day.
- Who suffers from 5 seconds of old data, and who suffers when 600 phones hit the database every 3 seconds? The cache time is the price of protecting the database.
- What does CloudFront serve straight from S3, without the API or the database?
- CloudFront caches only what you allow. Look at cache rules per path and the
Cache-Controlheaders your API sends. - Compare RDS
CPUUtilization,DatabaseConnectionsandReadIOPSwith the ALB'sTargetResponseTime. Slow responses with calm server CPU point behind the servers.
๐ Go deeper
- AWS Well-Architected Framework: its six pillars make a good checklist for your defense.
- AWS Pricing Calculator: for your monthly price.
- AWS Architecture Center: reference designs to compare your diagram with.
- AWS Architecture Icons: official icons for draw.io and other tools.
- Scheduled scaling for Amazon EC2 Auto Scaling: for the midnight deadline.
- CloudFront cache behaviors and TTLs: for the live room board and the CV drop.