Serverless Espresso: A Shot of Coffee with a Jolt of Serverless Insight
Ever ordered a coffee and learned about serverless architecture at the same time? That’s exactly what AWS set out to do with Serverless Espresso—a pop-up coffee shop with a twist.
What started as a small stall at AWS re:Invent in 2021 has since toured the world, showing off the power of event-driven architecture (EDA) in the most relatable way: ordering a cup of coffee.
What Is Serverless Espresso?
Serverless Espresso is a mobile-first, real-time coffee ordering experience built entirely on serverless technologies. Developed by the AWS Serverless Developer Advocate team, it’s more than just a novelty—it’s a fully functional application demonstrating the orchestration and choreography of events in a serverless world.
Here’s how it works:
You walk up to the Serverless Espresso stand.
Scan a QR code.
Enter your email.
A menu pops up on your phone—americano, espresso, latte—you choose.
Behind the scenes, an event kicks off in AWS.
You see your order number pop up on the screen. Then, a barista receives the event, prepares your drink, and hands it to you.
It’s that simple. But under the hood? There’s a symphony of serverless services playing in harmony.
Behind the Scenes: Serverless in Action
That quick interaction is powered by a stack of AWS services working together:
API Gateway
AWS Lambda
Step Functions
EventBridge
DynamoDB
S3
Cognito
Each coffee order triggers an event that flows through checks like:
Are we open?
Do we have capacity?
Do we have the ingredients?
If something goes wrong, the system handles it gracefully. It’s a beautifully orchestrated process—and that’s the point.
The Serverless Espresso architecture is more than a demo. It’s a well-architected, real-time, event-driven application. And AWS provides a hands-on Serverless Espresso Workshop so anyone can explore the components, follow the event flow, and learn how to build serverless applications the right way.
Demystifying Event-Driven Architecture (EDA)
Event-driven architecture can be hard to grasp. AWS CTO Werner Vogels emphasized EDA in his keynote, highlighting the shift from monolithic apps and synchronous call stacks to distributed, loosely coupled systems based on events.
Serverless Espresso simplifies that concept:
A coffee order is an event.
That event triggers other services.
The services work together asynchronously.
It’s a tangible way to understand an abstract concept. And it proves that serverless applications can be real-time, scalable, and cost-efficient—not just for batch jobs or sporadic spikes.
✅ Fun fact: AWS says it costs about $1 to run 1,000 requests through the workshop.
Busting Myths About Serverless
Serverless Espresso helps tackle two big myths:
“Serverless is hard”
Thirteen years ago, EDA was complex and poorly supported. Now, it’s approachable. AWS has lowered the barrier to entry with tools, workshops, and services that make it easy to get started.“Serverless is just Lambda”
Serverless is not just about functions. It’s about events triggering business logic across distributed services. Serverless Espresso shows how an entire flow can be built without traditional application servers.
Why It Matters for Engineering Teams
This isn’t just about coffee. Serverless Espresso highlights important lessons for building modern applications:
Keep domain boundaries clear.
Design with events in mind.
Reduce inter-team handoffs.
Focus on business value.
In traditional setups, a single business process (like fulfilling a coffee order) might involve multiple teams or systems. With a clean event-driven approach, a single team can own the flow end-to-end. That’s less complexity, faster iteration, and more value delivered.
It also encourages teams to operate higher up the value chain—focusing on innovation, not stitching infrastructure together.
Socio-Technical Challenges Still Exist
While the technical hurdles of EDA have been lowered, the real challenge now is organizational:
Do teams understand their domains?
Are they aligned to business outcomes?
Do they collaborate well?
Workshops like Serverless Espresso help with both the tech and the mindset. Tools like event storming and domain-driven design play a big role in making EDA successful.
From ESB to EDA: A New Era
Back in the day, standing up an Enterprise Service Bus (ESB) was a multi-year, multi-million-dollar project. Today, you can prototype an event-driven architecture in 30 minutes. That’s a game-changer for innovation.
Serverless Espresso is the “existence proof” of modern, scalable, event-based systems. It shows that real-time, customer-facing apps can be:
Built quickly
Scaled effortlessly
Run cheaply
Maintained easily
Get Hands-On
Ready to dive in? You can experience Serverless Espresso for yourself through the free online workshop:
👉 Serverless Espresso Lab – workshop.serverlesscoffee.com
And learn more from the AWS Serverless Developer Advocate team at serverlessland.com. Huge thanks to advocates like James Beswick, Ben Smith, Eric Johnson, Julian Wood, and many others for bringing this vision to life.
Final Sip
If you’re a senior engineer or architect still spinning up EC2s and wrangling low-level plumbing—Serverless Espresso might just be the wake-up call you need.
Because great coffee is nice. But great architecture? Even better.
Serverless Craic from The Serverless Edge
Check out our book, The Value Flywheel Effect
Follow us on X @ServerlessEdge
Follow us on LinkedIn