Observing all the Serverless Things
summary
A serverless risk-compute system runs on Lambda, Fargate and S3 and needs baked-in observability; a 100+ resource demo stack fails under stress because DynamoDB is provisioned with 2 write RCUs causing throttles, which triggers SDK retries and produces four Lambda timeouts against a 6s limit and 502s from API Gateway. Resolution: switch DynamoDB to on‑demand provisioning, set SDK max retries to 3 (≈350ms) and fix a test that caused validation exceptions. Observability is auto-generated by the open-source plugin SLIC Watch which injects CloudWatch dashboards and alarms for Lambda, API Gateway, DynamoDB, SQS, Kinesis, Step Functions and more.
AI-written summary · about
chapters (33)
- 0:00Intro
- 3:35Serverless HPC FTW
- 5:54A typical case study
- 7:29Observability in the cloud
- 8:14Can we test our ovservability?
- 8:55Alerts flow
- 9:33Making sense of alerts
- 10:23Initial hypothesis
- 11:32Gathering evidence
- 12:22Checking timeouts
- 13:55Inspecting DynamoDB capacity
- 14:46Tracing errors
- 15:47HTTP 502
- 16:50Lambda CloudWatch logs
- 17:40Conclusions
- 19:51Before & after
- 20:25What we have learned so far
- 21:09AWS native observability = CloudWatch
- 22:08Alternatives outside AWS
- 23:21CloudWatch out of the box
- 24:32Getting the best out of CloudWatch
- 26:33Best practices
- 27:00CloudFormation for CloudWatch alarms
- 27:18Can we automate this?
- 28:10Intro to SLIC Watch
- 28:50How SLIC Watch works
- 29:48Before & after SLIC Watch
- 32:35Configuration
- 33:32How to get started with SLIC Watch
- 34:51What if I'm not using serverless framework?
- 35:18Roadmap
- 35:33Wrap-up
- 36:10Outro
related talks
39mBuilding Resilient Serverless Applications
39mObservability in DevOps
53mBottlenecks in Serverless Applications
28mCostly mistakes in serverless computing
44mServerless Architecture on Production: Good, Bad and Ugly Parts
25mHow to Fail at Serverless (without even trying)
29mBuild highly scalable serverless applications on AWS
17mHow do we use Serverless Architectures on AWS Lambda
