Home / Companies / Steadybit / Blog / Post Details
Content Deep Dive

AWS Lambda Functions Chaos Engineering - Extending Steadybit - Part 3

Blog post from Steadybit

Post Details
Company
Date Published
Author
Johannes Edmeier
Word Count
1,171
Language
English
Hacker News Points
-
Summary

The article outlines the process of implementing an attack to inject failures into AWS Lambda functions using the failure-lambda library by Gunnar Grosch and integrating it into Steadybit. The approach involves wrapping Lambda function handlers with the library, configuring failure modes like adding latency or returning a fixed status code, and managing these settings via the AWS System Manager Parameter Store. It details the lifecycle actions required for failure injection, which include preparing, starting, and stopping the injection. Additionally, the extension provides descriptive metadata and specifies parameters for user interaction, such as specifying the duration and status code. The article concludes by highlighting the discovery of a bug in exception handling during experimentation and suggests that injecting HTTP status codes is just the beginning of what failure-lambda can achieve, with full code available on GitHub.