Application architecture patterns on AWS
Deploying Applications on AWS
Dunieski Otano
Amazon Web Services Solutions Architect
Meet your instructor
Why the right architecture matters
Architecture is a set of
trade-offs
, not one right answer
Three questions shape every choice:
How tightly are components
coupled
?
Where does the
state
live?
Is communication
synchronous or asynchronous
?
Match the pattern to the
workload
, not to fashion
The Friday night cascade
A slow payment API freezes the whole checkout
Every service waited synchronously on it
The fix is architecture, not a faster API
Why architecture choices decide deployment
The pattern you pick shapes how the app
scales and fails
A tightly coupled design breaks under load
The right pattern makes deployment predictable
Same code, very different production behavior
The core architecture patterns
Monolithic
: one deployable unit, simple to start
Microservices
: independent services, deployed separately
Event-driven
: components react to events, not direct calls
Fanout
is an event-driven sub-pattern: one event reaches many consumers
Stateful vs stateless
Stateless
: no client data kept between requests
Any instance can handle any request
Stateful
: instance remembers prior interactions
Statelessness is what lets you
scale horizontally
Push shared state to
DynamoDB
or
ElastiCache
Tight vs loose coupling
Tight coupling
: caller waits for the callee to respond
One slow service stalls the whole chain
Loose coupling
: an
Amazon SQS
queue sits between services
The producer keeps working even if the consumer is down
Synchronous vs asynchronous
Synchronous
: caller blocks and waits for the result
Use when the caller needs the answer right now
Asynchronous
: caller hands off work and returns
Use for slow, bursty, or non-urgent work
Resilience patterns for third-party calls
Retry with exponential backoff
: wait longer between attempts
Circuit breaker
: stop calling a failing service for a while
Dead-letter queue
: park messages that keep failing
Combine them; blanket retries make outages worse
Let's practice!
Deploying Applications on AWS
Preparing Video For Download...