DEV WEEKENDSARCHITECTUREAWS COMMUNITY DAY
01 / COVER

FROM ARCHITECTURE
TO PRODUCTION

DESIGNING SCALABLE SOLUTIONS ON AWS
DEV WEEKENDS × AWS COMMUNITY DAY
Merged is not shipped.
Shipped is not done.
DEV WEEKENDSARCHITECTUREAWS COMMUNITY DAY
02 / THE PROBLEM

YOUR APP WORKS.
THEN 10,000 USERS ARRIVE.

A CV-review application: upload a PDF, process it, return a report.
01
DAY 1

10 friends

The demo works. Low traffic hides weak points.

02
LAUNCH DAY

10,000 users

Requests pile up, CPUs saturate, the database struggles.

03
FRIDAY NIGHT

One bad deploy

The new version breaks a feature users already depend on.

ASK THE ROOMIs working on localhost the same as being production-ready?
DEV WEEKENDSARCHITECTUREAWS COMMUNITY DAY
03 / THE JOURNEY

TWO QUESTIONS.
ONE ENGINEER.

A good system must both handle real traffic and survive real change.
01
ARCHITECTURE

PART 1 — DESIGN

How do we select compute, storage, networking, communication, and scale?

02
PRODUCTION

PART 2 — DELIVER

How do we test, build, deploy, observe, recover, and improve?

Roughly half the session on design, half on delivery and operation.
DEV WEEKENDSARCHITECTUREAWS COMMUNITY DAY
04 / THE FIRST DECISION

REQUIREMENTS
BEFORE SERVICES.

Before asking “Lambda or EC2?”, ask what success means.
01
WHAT IT DOES

Functional

Upload CV • check job status • download report

02
HOW WELL IT WORKS

Non-functional

Speed • reliability • security • scale • budget

ASK THE ROOMShould this job finish in 100 milliseconds—or is 2 minutes acceptable?
DEV WEEKENDSARCHITECTUREAWS COMMUNITY DAY
05 / INGREDIENTS

SIX INGREDIENTS
OF A GOOD SOLUTION.

Every architecture is a set of tradeoffs, not a collection of icons.
01

COMPUTE

Where code runs: EC2, ECS, Lambda.

02

NETWORK

How traffic reaches services: DNS, VPC, ALB, API Gateway.

03

STORAGE

Where data lives: S3, RDS, DynamoDB.

04

COMMUNICATION

Sync HTTP, async SQS, events.

05

SCALING

Capacity, concurrency, bottlenecks.

06

RELIABILITY

Failure isolation, security, recovery.

DEV WEEKENDSARCHITECTUREAWS COMMUNITY DAY
06 / REQUEST FLOW

WHAT HAPPENS
WHEN YOU CLICK UPLOAD?

Browser → HTTP request → backend → HTTP response.
01BROWSERThe client
→
02HTTP APIPOST /jobs
→
03BACKENDValidate + accept
→
04RESPONSE202 + jobId
POST /jobs  { "fileKey": "uploads/cv123.pdf" }
202 Accepted { "jobId": "123", "status": "PENDING" }
DEV WEEKENDSARCHITECTUREAWS COMMUNITY DAY
07 / FIRST AWS VERSION

MAP THE IDEA TO AWS.

Each service has one responsibility—nothing more magical than that.
01API GATEWAYReceive API calls
→
02LAMBDAAccept job
→
03SQSHold work
→
04LAMBDAProcess CV
01
OBJECT STORAGE

S3

Actual PDFs and output reports.

02
METADATA

DynamoDB

Job ID, user ID, status, result key.

DEV WEEKENDSARCHITECTUREAWS COMMUNITY DAY
08 / COMMUNICATION

SYNCHRONOUS
VERSUS ASYNCHRONOUS.

Ordering food is a useful model for understanding software.
01
WAIT FOR THE RESULT

SYNCHRONOUS

You wait at the counter until the food is ready.

CLIENT → SERVER → RESULT

02
DECOUPLE THE WORK

ASYNCHRONOUS

You get an order number. The kitchen works while you do other things.

CLIENT → RECEIPT / WORKER → RESULT

ASK THE ROOMShould a user hold an HTTP connection open while a 90-second PDF is processed?
DEV WEEKENDSARCHITECTUREAWS COMMUNITY DAY
09 / BACKPRESSURE

WHY PUT A QUEUE
IN THE MIDDLE?

A temporary traffic burst should not automatically overwhelm your workers.
300/snew jobs arriving
200/sworkers can complete
+100/squeue backlog growth
THE ENGINEERING POINT

30,000 waiting jobs after five minutes

If all 300/s are accepted into SQS, 30,000 accumulate in five minutes. Requests rejected before the queue are not saved.

ASK THE ROOMWhat happens if the burst lasts an hour?
DEV WEEKENDSARCHITECTUREAWS COMMUNITY DAY
10 / FAILURE SEMANTICS

WHAT IF THE SAME JOB
RUNS TWICE?

SQS standard queues are at-least-once: retries and duplicate deliveries are possible.
01WORKERProcesses job 123
→
02DATABASEResult saved
→
03CRASHNo acknowledgment
→
04REDELIVERYJob 123 again
01
DEFEND AGAINST DUPLICATES

IDEMPOTENCY

Repeated execution produces the same intended effect.

02
DON’T RETRY FOREVER

DEAD-LETTER QUEUE

Capture repeatedly failing messages for investigation.

DEV WEEKENDSARCHITECTUREAWS COMMUNITY DAY
11 / PACKAGING

WHAT ACTUALLY IS
A DOCKER CONTAINER?

Package an application, runtime and dependencies in a repeatable image.
01
BUILD ONCE

IMAGE

A read-only packaged blueprint: code + dependencies + configuration defaults.

02
RUN MANY

CONTAINER

A running isolated process created from that image. Shares the host OS kernel.

03
PUBLISH AND REUSE

REGISTRY

Amazon ECR stores your container images.

docker build -t cv-api:v1 .
docker run -p 8080:8080 cv-api:v1
DEV WEEKENDSARCHITECTUREAWS COMMUNITY DAY
12 / COMPUTE

EC2, ECS OR LAMBDA?

A strong engineer knows when *not* to use a service.
01
CONTROL

EC2

A virtual machine. Maximum OS and machine control; you manage more.

02
CONTAINER APPS

ECS + FARGATE

Run containers; AWS manages underlying compute capacity.

03
EVENT-DRIVEN

LAMBDA

Event-driven code execution with managed scaling, within service limits.

ASK THE ROOMWould you use the same compute model for a 40 ms API and a 6-hour video render?
DEV WEEKENDSARCHITECTUREAWS COMMUNITY DAY
13 / UNDER THE HOOD

AWS DESIGNS
THE MACHINE ITSELF.

Behind an EC2 instance are AWS-built virtualization and processors.
01
INFRASTRUCTURE

NITRO SYSTEM

Dedicated hardware plus a lightweight hypervisor handles virtualization, network and storage I/O.

02
COMPUTE SILICON

GRAVITON

AWS-designed Arm CPUs help optimize performance per dollar on supported workloads.

ASK THE ROOMWhy would a cloud company design its own chips?
DEV WEEKENDSARCHITECTUREAWS COMMUNITY DAY
14 / SERVERLESS INSIDE

SERVERLESS
STILL HAS SERVERS.

Firecracker is part of how AWS can run massive numbers of isolated functions.
15T+monthly Lambda invocations powered by Firecracker technologyAWS statement, 2026
microVMlightweight VM isolationFirecracker
2026Lambda MicroVMs announcedisolated code workloads
“Serverless” describes who manages capacity—not the absence of machines.
DEV WEEKENDSARCHITECTUREAWS COMMUNITY DAY
15 / SCALE

SCALE UP.
OR SCALE OUT.

But scaling the wrong thing just makes failure more expensive.
01
SCALE UP

VERTICAL

Make one server bigger: 2 vCPU → 8 vCPU.

02
SCALE OUT

HORIZONTAL

Run more instances: 1 server → 4 servers.

01CLIENTRequest
→
02ALBHealthy target
→
03API 1 / API 2 / API 3Stateless instances
DEV WEEKENDSARCHITECTUREAWS COMMUNITY DAY
16 / CAPACITY MATH

CONCURRENCY
IS NOT THROUGHPUT.

How many jobs can your workers *actually* complete?
40concurrent executions
5sseconds per job
≈8/sjobs completed per second
THE ENGINEERING POINT

Capacity ≈ concurrency ÷ average job duration

Assuming one job per execution, stable work durations and no other bottlenecks.

ASK THE ROOMIf you need 200 jobs/s at 5 seconds each, roughly how much concurrency is required?
DEV WEEKENDSARCHITECTUREAWS COMMUNITY DAY
17 / STORAGE

FILES ARE NOT
DATABASE ROWS.

Choose storage around access patterns and transactions.
01
FILES

AMAZON S3

Objects: CV PDFs, images, generated reports.

02
FAST LOOKUPS

DYNAMODB

Key-value/document records: job states and result keys.

03
RELATIONAL

RDS / POSTGRES

Relational data, joins, SQL and transactions.

A CV file belongs in object storage; a job status may belong in a database.
DEV WEEKENDSARCHITECTUREAWS COMMUNITY DAY
18 / AWS WONDER #1

ELEVEN NINES.
WHAT DOES THAT MEAN?

S3 Standard durability and availability describe very different things.
99.999999999%designed durabilityObject survival over time
99.99%designed availabilityAccess to the service
≥3 AZsS3 Standard redundancyWithin a Region
ASK THE ROOMIf a file cannot be downloaded for five minutes, has the file been lost?
DEV WEEKENDSARCHITECTUREAWS COMMUNITY DAY
19 / AWS WONDER #2

39 REGIONS.
124 AVAILABILITY ZONES.

Geographic reach and fault isolation are different problems.
39AWS RegionsNovember 2026
124Availability ZonesNovember 2026
MULTI-AZA design decisionNot a magic checkbox
01
GEOGRAPHY

REGION

A distinct geographical area with AWS infrastructure.

02
FAULT DOMAIN

AZ

One or more data centers designed for isolation within a Region.

DEV WEEKENDSARCHITECTUREAWS COMMUNITY DAY
20 / AWS WONDER #3

NEARLY 20 MILLION KM
OF NETWORK FIBER.

The cloud is physical: cables, switches, optics, and routing.
~20M kmterrestrial + subsea fiberAWS global network
01
GLOBAL CONNECTIVITY

PRIVATE BACKBONE

AWS operates long-distance networking that can reduce reliance on outside networks.

02
LOWER LATENCY

CLOUDFRONT

Caches suitable content closer to users at edge locations.

ASK THE ROOMIs a faster CPU always the best way to make a website feel faster?
DEV WEEKENDSARCHITECTUREAWS COMMUNITY DAY
21 / FINAL DESIGN

OUR APPLICATION,
NOW READY FOR REAL TRAFFIC.

One architecture. Clear responsibilities. Real failure considerations.
USER
Browser
→
API GATEWAY
POST /jobs · GET /jobs/{id}
→
LAMBDA API
validate · enqueue
→
SQS
buffer · retries
S3
input files + reports
↕
LAMBDA WORKERS
process · idempotent
↔
DYNAMODB
job status
CLOUDWATCH METRICS + LOGS + ALARMS • IAM / AUTH • DLQ • COST BUDGET
DEV WEEKENDSARCHITECTUREAWS COMMUNITY DAY
22 / THE REAL CHECKLIST

A GOOD DESIGN IS
MORE THAN FAST.

Ask these questions before approving an architecture.
01
CONFIDENTIALITY

SECURITY

Who can access the PDFs? Are IAM permissions least privilege?

02
EFFICIENCY

COST

What happens to spending if traffic increases 10×?

03
RESILIENCE

FAILURE

If the worker crashes or the DB slows, does work disappear?

ASK THE ROOMWhat would you change first if you only had $20 for the demo?
DEV WEEKENDSPRODUCTIONAWS COMMUNITY DAY
23 / THE SIX GATES

MERGED IS NOT SHIPPED.
SHIPPED IS NOT DONE.

Your original six gates from laptop to real users.
01MERGECheck the change
02BUILDCreate one artifact
03DEPLOYLimit blast radius
04OBSERVECompare against baseline
05RECOVERRoll back safely
06LEARNFix the process
DEV WEEKENDSPRODUCTIONAWS COMMUNITY DAY
24 / TESTS YOU CAN EXPLAIN

UNIT. INTEGRATION.
CONTRACT. END-TO-END.

Different tests answer different questions.
01
ONE FUNCTION

UNIT

Does discount(1000, 10%) return 900?

02
REAL COMPONENTS

INTEGRATION

Can our API really write a row in PostgreSQL?

03
BETWEEN SYSTEMS

CONTRACT

Does the frontend still receive orderId?

04
FULL USER JOURNEY

END-TO-END

Can a user upload a CV and download a report?

Use Testcontainers for realistic integration tests when appropriate.
DEV WEEKENDSPRODUCTIONAWS COMMUNITY DAY
25 / THE LOCAL TRAP

“IT WORKED UNDER LOAD
ON MY LAPTOP.”

Why local load testing is useful—but insufficient.
01
USEFUL EARLY

LOCAL

Maybe no TLS, no cross-zone network latency, tiny datasets, and one process.

02
DIFFERENT CONDITIONS

PRODUCTION

Real networks, database locks, AWS quotas, traffic bursts, downstream failures.

LOAD TESTSTRESS TESTSPIKE TESTSOAK TEST
ASK THE ROOMCan the load generator itself become the bottleneck?
DEV WEEKENDSPRODUCTIONAWS COMMUNITY DAY
26 / CONTINUOUS DELIVERY

FROM A COMMIT
TO A RUNNING VERSION.

A reproducible pipeline replaces human guesswork.
01GITHUBPush + PR
→
02CITests + scans
→
03BUILDImage + version
→
04ECRRegistry
→
05ECS / LAMBDADeploy
git push → tests → build once → deploy same artifact
Use short-lived AWS credentials (for example OIDC), not hard-coded access keys.
DEV WEEKENDSPRODUCTIONAWS COMMUNITY DAY
27 / A REAL INCIDENT

ONE SERVER MISSED.
$440 MILLION LOST.

Knight Capital, August 2012. A deployment failure with catastrophic consequences.
7 OF 8servers updated
~45 MINunintended trading
~$440Mreported loss
01
HUMAN / SYSTEM

WHAT FAILED

Inconsistent deployment + legacy behavior reactivated.

02
DEFENSES

WHAT TO BUILD

Version checks, repeatable rollout, kill switch, monitoring.

DEV WEEKENDSPRODUCTIONAWS COMMUNITY DAY
28 / DEPLOYMENT ≠ RELEASE

CODE CAN BE LIVE
WITHOUT THE FEATURE BEING LIVE.

A feature flag separates a technical change from a product decision.
01
TECHNICAL EVENT

DEPLOY

Version 2 is now running on the servers.

02
USER EXPOSURE

RELEASE

Only 5% of users can access the new scoring algorithm.

Turn the flag off to stop new behavior without shipping a new application image.
DEV WEEKENDSPRODUCTIONAWS COMMUNITY DAY
29 / CONTROL THE BLAST RADIUS

ROLLING. BLUE–GREEN.
CANARY.

Three ways to make a new version meet real traffic.
01
GRADUAL REPLACEMENT

ROLLING

Replace instances in small batches.

02
ENVIRONMENT SWITCH

BLUE–GREEN

Prepare a second environment and switch traffic.

03
MEASURED EXPOSURE

CANARY

Expose a small traffic share; compare errors and latency.

ASK THE ROOMWould you send 100% of your traffic to a release nobody has exercised in production?
DEV WEEKENDSPRODUCTIONAWS COMMUNITY DAY
30 / ZERO-DOWNTIME DATA

DATABASE CHANGES
NEED A COMPATIBILITY PLAN.

The old app and new app may run side by side during deployment.
01EXPANDAdd new column
→
02MIGRATEBackfill + transition
→
03CONTRACTRemove old field
v1 reads name  →  both fields temporarily supported  →  v2 reads full_name
DEV WEEKENDSPRODUCTIONAWS COMMUNITY DAY
31 / BEFORE THE BUTTON

A DEPLOYMENT
SHOULD HAVE A CHECKLIST.

Most dangerous releases were supposed to be “small changes.”
01
READINESS

BEFORE

Migrations tested, artifact identified, flags safe, rollback understood.

02
OBSERVE

DURING

Watch errors, latency, queue age and business signals.

03
VERIFY

AFTER

Compare to baseline, confirm outcomes, record lessons.

A green CI pipeline does not mean users are healthy.
DEV WEEKENDSPRODUCTIONAWS COMMUNITY DAY
32 / OBSERVABILITY

LOGS, METRICS,
AND TRACES.

Three different windows into the same running system.
01
WHAT HAPPENED

LOGS

“Job 123 failed: unsupported PDF.”

02
HOW MUCH / HOW OFTEN

METRICS

“SQS oldest message age is 840 seconds.”

03
WHERE TIME WENT

TRACES

“The database call took 2.9 of 3 seconds.”

AWS CloudWatch provides logs, metrics and alarms; distributed tracing adds request-level context.
DEV WEEKENDSPRODUCTIONAWS COMMUNITY DAY
33 / WHAT TO MONITOR

THE FOUR SIGNALS
AND THE FIFTH QUESTION.

HTTP success alone does not prove the user’s job is finished.
01
QUALITY

ERRORS

4xx/5xx rates, failed jobs.

02
SPEED

LATENCY

p50, p95, p99, job completion time.

03
DEMAND

TRAFFIC

Requests per second, jobs per second.

04
CAPACITY

SATURATION

CPU, memory, DB connections, queue pressure.

THE ENGINEERING POINT

What do users actually feel?

Our API can return 202 in 50 ms while the job sits in SQS for 20 minutes.

DEV WEEKENDSPRODUCTIONAWS COMMUNITY DAY
34 / PERCENTILES

AVERAGES CAN
HIDE UNHAPPY USERS.

Most users may be fast while a small group waits far too long.
p50
100 msTypical request
p95
700 ms95% at or below
p99
4,000 ms99% at or below
Illustrative latency distribution. Values are examples, not AWS performance claims.
DEV WEEKENDSPRODUCTIONAWS COMMUNITY DAY
35 / RELIABILITY LANGUAGE

SLI. SLO. SLA.

Definitions that turn “reliable” into something measurable.
01
INDICATOR

SLI

A measurement: % of jobs completed within two minutes.

02
OBJECTIVE

SLO

Our goal: 99.9% of valid jobs within two minutes over 30 days.

03
AGREEMENT

SLA

A formal agreement about service levels and consequences.

ASK THE ROOMIs 99.9% successful HTTP responses enough for a 20-minute job queue?
DEV WEEKENDSPRODUCTIONAWS COMMUNITY DAY
36 / ERROR BUDGET

99.9% IS NOT
100%. THAT’S ON PURPOSE.

A reliability target creates a budget for failure.
99.9%target availability
0.1%allowed unavailability
43.2 MINover 30 days
THE ENGINEERING POINT

ERROR BUDGET = allowance for unreliability

If failures are consuming the budget rapidly, prioritize stabilization over risky releases.

DEV WEEKENDSPRODUCTIONAWS COMMUNITY DAY
37 / FAILURE PATTERNS

RETRY WISELY.
FAIL GRACEFULLY.

Bad recovery logic can become a second outage.
01
BOUND THE WAIT

TIMEOUT

Do not wait forever on a dependency.

02
REDUCE PRESSURE

BACKOFF + JITTER

Space retries out; avoid synchronized retry storms.

03
CONTAIN FAILURE

CIRCUIT BREAKER

Stop hammering a dependency that keeps failing.

04
ISOLATE DAMAGE

BULKHEAD

Reserve resources so one workload cannot drown another.

And always make retryable side effects idempotent.
DEV WEEKENDSPRODUCTIONAWS COMMUNITY DAY
38 / A PRODUCTION INCIDENT

THE DEPLOY IS GREEN.
THE QUEUE IS NOT.

New code slows each worker. Nothing crashes, but customers wait.
01DEPLOYVersion 2
→
02REGRESSIONJob takes 15s, not 5s
→
03BACKLOGQueue age rises
→
04ALARMCloudWatch fires
01
FIRST

MITIGATE

Roll back or disable the change. Avoid blindly scaling workers.

02
THEN

VERIFY

Watch queue age, completions, errors, and user impact.

DEV WEEKENDSPRACTICEAWS COMMUNITY DAY
39 / QUIZ

FOUR QUESTIONS
FOR REAL ENGINEERS.

Let students guess before revealing each answer.
01Does “serverless” mean no servers?No. AWS manages the servers.
02Does 11 nines mean S3 uptime?No. It is designed durability.
03Will a queue automatically make workers faster?No. It buffers work.
04Is a passing test suite a completed release?No. Verify production outcomes.
DEV WEEKENDSPRACTICEAWS COMMUNITY DAY
40 / KEEP BUILDING

START FREE.
THEN BUILD SOMETHING REAL.

A practical pathway—not a certification shopping list.
01
START HERE

AWS EDUCATE

Free beginner learning and console labs; no personal AWS account or card required.

02
LEARN THE WHY

AWS SKILL BUILDER

Hundreds of free courses; some advanced labs need subscriptions.

03
PRACTICE

KODEKLOUD

Hands-on Linux, Docker, DevOps and selected free labs.

04
EXPERIMENT LOCALLY

LOCALSTACK

Local AWS-compatible emulation, subject to current plan limits.

DEV WEEKENDSPRACTICEAWS COMMUNITY DAY
41 / TAKE-HOME CHALLENGE

FIVE CHALLENGES.
ONE WEEKEND.

Turn today’s concepts into engineering muscle memory.
01STOREUpload a private file to S3 and retrieve it safely.
02RUNBuild a Docker image and run the app.
03QUEUECreate a producer + consumer; stop the worker and watch backlog.
04BREAKForce retries; make processing idempotent.
05OPERATEAdd one metric, one alert, and a rollback checklist.
GitHub challenges → deeper walkthroughs on Internals with Zee → structured labs on Edorax.
DEV WEEKENDSPRACTICEAWS COMMUNITY DAY
42 / CLOSE

DON’T JUST LEARN AWS.
LEARN TO THINK LIKE AN ENGINEER.

Design it. Test it. Deploy it. Observe it. Recover. Improve.
THE QUESTIONWhat happens when this fails?
THE HABITMeasure what users actually feel.
THE GOALBuild systems worth trusting.