From Oops… to Ops
Sloppy Little Serverless Stories
Sheen Brisals
The LEGO Group
sheenbrisals
Oops!
A word that is used to show
the recognition of a mistake
Ops
Operations
Sloppy Little Serverless Stories
LEGO.com was
switched to
Serverless
on AWS Cloud
July 10, 2019
200+ Lambda functions
40+ microservices
40+ API endpoints
25+ DynamoDB tables
30+ S3 buckets
20+ SNS topics
60+ SQS queues + DLQs
200+ SSM parameters
PROD - Services Stats
Oops! Moments…
No one starts perfect with Serverless.
That’s fine, but strive to be better at
every iteration, and that is important.
Oops!
1
When friendly
Firehose turned
foe…
Kinesis
Data Firehose
API
Gateway
S3
bucket
Event
producer
Fan-out
function
Click-stream event ingestion
Buffer size Buffer interval
Oops! Ops
Buffer size: 3 MB
Buffer interval: 1 min
Peak season lambda
failure
Buffer size: 1 MB
Buffer interval: 1 min
Perfect with a tuned
lambda
Oops!
2
When SSM
Parameter Store
packed a punch…
200+ Lambda functions
40+ microservices
40+ API endpoints
25+ DynamoDB tables
30+ S3 buckets
20+ SNS topics
60+ SQS queues + DLQs
200+ SSM parameters
PROD - Services Stats
200+ Lambda functions
40+ microservices
40+ API endpoints
25+ DynamoDB tables
30+ S3 buckets
20+ SNS topics
60+ SQS queues + DLQs
200+ SSM parameters
PROD - Services Stats
200+ Lambda functions
200+ SSM parameters
PROD - Services Stats
Reads Writes
Oops! Ops
Default throughput
40 TPS
Rate limiting
Oops! Ops
Default throughput
40 TPS
Rate limiting
Advanced throughput
1000 TPS
Self change via console
Oops!
3
When too much
became
too little…
CloudWatch
Logs
Balancing concurrency
Concurrency 25
Log
Splitter
Elasticsearch
Monitoring
Oops! Ops
Failing at wrong time
Missing crucial logs
Inadequate testing
Incorrect dashboards
Better dev
process
Better
monitoring
Oops!
4
When going
higher gone
through the roof…
CloudWatch
Event
Heavy lifting
function
Art of coding – Copy & Paste
Trigger
rule
StepFunction
2 GB RAM
5 mins run
2 x daily
Frontend Status check
API
Request
handler
Status
store
2 GB RAM
100 ms run
1000s x daily
Oops! Ops
Memory: 2 GB
Invocations: 1 per sec
Invocations: 2.5mil /mo
Cost~ $9.00 / month
Duration: 100 ms
Memory: 256 MB
Invocations: 1 per sec
Invocations: 2.5mil /mo
Cost~ $1.50 / month
Duration: 100 ms
Oops!
5
When a key
moment turned
chaotic…
SaaS
API
Feeds
Feeds
store
DLQ
Data Pipeline
Internal
Feeds API
Feeds
Internal
App
{API Key}
The API re-deployment somehow
changed the API Key!
No one knew. No one noticed!
Oops! Ops
Silent breakage
Bad customer exp.
Unhappy business
Chaotic dev process
Better dev
process
Better
prompts
Better
monitoring
Oops! Oopsibilities…
Serverless requires a new way of thinking, new way of
working, and new way of running applications.
That means, we need to change our way of thinking, our
way of working, and our way of running applications.
Oopsibility!
1
High load
hiccup
Oopsibility!
1
High load
hiccup
Oopsibility!
2
Dev to Prod
debacle
• Keys & secrets
• Domains
• Resource Configurations
• Leaked privacy
Oopsibility!
3
Admin
Access
Abuse
Oopsibility!
3
Admin
Access
Abuse
Oopsibility!
4
Ignorance
is
blip
Oopsibility!
5
Third-party
trauma
Oopsibility!
5
Third-party
trauma
SaaS
From Oops of Sorrows to
Operational Success…
• Know the service limits
• Be Well-Architected
• See through the Serverless Lens
• Alarm – Alert – Act
• Monitor monitor monitor
Thank
you!
Go
Build
Serverless
sheenbrisals

More Related Content

PDF
Enterprise Serverless Adoption. An Experience Report
PDF
How LEGO.com Accelerates With Serverless
PDF
To Serverless And Beyond!
PDF
How to Grow a Serverless Team
PDF
Getting Started with Amazon EventBridge
PDF
Building resilient serverless systems with non serverless components
PDF
Thinking Asynchronously Full Vesion - Utah UG
PDF
Serverless presentation
Enterprise Serverless Adoption. An Experience Report
How LEGO.com Accelerates With Serverless
To Serverless And Beyond!
How to Grow a Serverless Team
Getting Started with Amazon EventBridge
Building resilient serverless systems with non serverless components
Thinking Asynchronously Full Vesion - Utah UG
Serverless presentation

Similar to Sloppy Little Serverless Stories (20)

PDF
How to build a social network on serverless
PPTX
JakartaJS: Serverless in production
PDF
How to build a social network on serverless
PDF
How to build a social network on Serverless (AWS Community Summit)
PDF
How to build a social network on serverless | Yan Cui
PDF
Serverless in production, an experience report (Going Serverless, 28 Feb 2018)
PPTX
Applying AI to Performance Engineering: Shift-Left, Shift-Right, Self-Healing
PDF
Serverless in production, an experience report (codemotion milan)
PDF
Yan Cui - Serverless in production, an experience report - Codemotion Milan 2017
PDF
Ruby Conference Belarus 2019 Apr Jets Ruby Serverless Framework
PDF
AWS Lambda from the trenches (Serverless London)
PDF
Serverless in production, an experience report (IWOMM)
PDF
APIdays Barcelona 2019 - How to build a social network on Serverless with Yan...
PDF
How to build a social network on serverless
POTX
devworkshop-10_28_1015-amazon-conference-presentation
PDF
Services Over Servers - Innovate VA 2016
PDF
Scaling LoL Chat to 70M Players
PDF
Introduction to the Serverless paradigm
PDF
Span Conference: Why your company needs a unified log
PDF
Getting Buzzed on Buzzwords: Using Cloud & Big Data to Pentest at Scale
How to build a social network on serverless
JakartaJS: Serverless in production
How to build a social network on serverless
How to build a social network on Serverless (AWS Community Summit)
How to build a social network on serverless | Yan Cui
Serverless in production, an experience report (Going Serverless, 28 Feb 2018)
Applying AI to Performance Engineering: Shift-Left, Shift-Right, Self-Healing
Serverless in production, an experience report (codemotion milan)
Yan Cui - Serverless in production, an experience report - Codemotion Milan 2017
Ruby Conference Belarus 2019 Apr Jets Ruby Serverless Framework
AWS Lambda from the trenches (Serverless London)
Serverless in production, an experience report (IWOMM)
APIdays Barcelona 2019 - How to build a social network on Serverless with Yan...
How to build a social network on serverless
devworkshop-10_28_1015-amazon-conference-presentation
Services Over Servers - Innovate VA 2016
Scaling LoL Chat to 70M Players
Introduction to the Serverless paradigm
Span Conference: Why your company needs a unified log
Getting Buzzed on Buzzwords: Using Cloud & Big Data to Pentest at Scale
Ad

More from SheenBrisals (14)

PPTX
Embracing Complexity in Serverless! GOTO Serverless Bengaluru
PPTX
Eliminate the complexities of Event-Driven Architecture with Domain-Driven De...
PPTX
Patterns and practices for developing enterprise-scale applications with serv...
PPTX
Is there a place for QA in autonomous fast flow teams?
PPTX
Patterns and practices for an enterprise-scale adoption of serverless!
PPTX
How to study, think, work, and live as an Engineer!
PPTX
Advanced Event-Driven Patterns - AWS Community Day Dublin
PPTX
Enterprise Serverless Adoption. An Experience Report
PPTX
Sustainability In Serverless
PPTX
How to Grow a Serverless Team in an Enterprise
PDF
The Road To Event-Driven Architecture
PDF
Shillings in Serverless
PDF
Design and Develop Serverless Applications as Set-Pieces
PDF
Serverless Microservices Communication with Amazon EventBridge
Embracing Complexity in Serverless! GOTO Serverless Bengaluru
Eliminate the complexities of Event-Driven Architecture with Domain-Driven De...
Patterns and practices for developing enterprise-scale applications with serv...
Is there a place for QA in autonomous fast flow teams?
Patterns and practices for an enterprise-scale adoption of serverless!
How to study, think, work, and live as an Engineer!
Advanced Event-Driven Patterns - AWS Community Day Dublin
Enterprise Serverless Adoption. An Experience Report
Sustainability In Serverless
How to Grow a Serverless Team in an Enterprise
The Road To Event-Driven Architecture
Shillings in Serverless
Design and Develop Serverless Applications as Set-Pieces
Serverless Microservices Communication with Amazon EventBridge
Ad

Recently uploaded (20)

PDF
Engineering Document Management System (EDMS)
PDF
MAGIX Sound Forge Pro CrackSerial Key Keygen
PPTX
Viber For Windows 25.7.1 Crack + Serial Keygen
PPTX
WJQSJXNAZJVCVSAXJHBZKSJXKJKXJSBHJBJEHHJB
PDF
IT Consulting Services to Secure Future Growth
PDF
Sun and Bloombase Spitfire StoreSafe End-to-end Storage Security Solution
PPTX
Folder Lock 10.1.9 Crack With Serial Key
PPTX
DevOpsDays Halifax 2025 - Building 10x Organizations Using Modern Productivit...
PDF
Lumion Pro Crack New latest version Download 2025
PPTX
DevOpsDays Halifax 2025 - Building 10x Organizations Using Modern Productivit...
PDF
Practical Indispensable Project Management Tips for Delivering Successful Exp...
PPTX
Foundations of Marketo Engage: Nurturing
PDF
Internet Download Manager IDM Crack powerful download accelerator New Version...
PDF
Building an Inclusive Web Accessibility Made Simple with Accessibility Analyzer
PDF
IDM Crack 6.42 Build 42 Patch Serial Key 2025 Free New Version
PDF
What Makes a Great Data Visualization Consulting Service.pdf
PPTX
string python Python Strings: Literals, Slicing, Methods, Formatting, and Pra...
PDF
Website Design & Development_ Professional Web Design Services.pdf
PDF
AI-Powered Fuzz Testing: The Future of QA
PPTX
Odoo ERP for Injection Molding Industry – Optimize Production & Reduce Scrap
Engineering Document Management System (EDMS)
MAGIX Sound Forge Pro CrackSerial Key Keygen
Viber For Windows 25.7.1 Crack + Serial Keygen
WJQSJXNAZJVCVSAXJHBZKSJXKJKXJSBHJBJEHHJB
IT Consulting Services to Secure Future Growth
Sun and Bloombase Spitfire StoreSafe End-to-end Storage Security Solution
Folder Lock 10.1.9 Crack With Serial Key
DevOpsDays Halifax 2025 - Building 10x Organizations Using Modern Productivit...
Lumion Pro Crack New latest version Download 2025
DevOpsDays Halifax 2025 - Building 10x Organizations Using Modern Productivit...
Practical Indispensable Project Management Tips for Delivering Successful Exp...
Foundations of Marketo Engage: Nurturing
Internet Download Manager IDM Crack powerful download accelerator New Version...
Building an Inclusive Web Accessibility Made Simple with Accessibility Analyzer
IDM Crack 6.42 Build 42 Patch Serial Key 2025 Free New Version
What Makes a Great Data Visualization Consulting Service.pdf
string python Python Strings: Literals, Slicing, Methods, Formatting, and Pra...
Website Design & Development_ Professional Web Design Services.pdf
AI-Powered Fuzz Testing: The Future of QA
Odoo ERP for Injection Molding Industry – Optimize Production & Reduce Scrap

Sloppy Little Serverless Stories