SVS311: Handling Errors in a Serverless World

Resources for SVS311: Handling errors in a serverless world

Serverless technologies introduced new ways to build highly scalable, resilient applications without managing infrastructure. When building serverless applications by using several managed services, how should you handle errors? Should you include a try/catch block in your code or let the service deal with errors? What if the function is invoked as a task in an AWS Step Functions state machine? Can AWS Lambda Destinations help? In this session, explore error handling across Lambda invocation models and discuss patterns for proper visibility and retry behavior. Leave this session with a better understanding of how to code and/or configure services to better deal with errors across different use cases.

AWS Lambda Powertools - Python

Utilities for AWS Lambda functions

Build error handling middleware and utilities as shown in this talk using AWS Lambda Powertools for Python.

AWS Lambda Powertools - Java

Utilities for AWS Lambda functions

Build error handling middleware and utilities as shown in this talk using AWS Lambda Powertools for Java.

Handle errors with AWS Step Functions

Learn how to handle runtime errors

Reduce amount of error handling code in each function by using Step Functions to create serverless workflows that handle errors.

Error handling and automatic retries in AWS Lambda

Documentation

Details on automatic retries in AWS Lambda. See service docs for more details.

Presented by:

Josh Kahn

Josh Kahn

Principal Solution Architect @ AWS.