LocalStack Chaos API enables you to simulate outages in any AWS region or service. Chaos API provides an easy way to implement chaos engineering experiments to test a wide variety of simulated outages and failures within your application safely, without impacting your production users. Common examples can include region-wide outages, DNS failovers, service failures, and network faults. All the testing scenarios described above can be executed within LocalStack, providing thorough coverage for critical situations in a matter of minutes rather than hours or days. In this presentation by Viren Nadkarni, we explore how Chaos API is leveraged to perform service failures in a local environment while using robust error handling to address and mitigate such issues.

LocalStack is a cloud service emulator designed for local development and testing of cloud applications. With LocalStack, you can test AWS CloudWatch metric alarms, to get notified on infrastructure failures — all on your local machine! In this video, you will learn how you can use a CloudWatch metric alarm to get notified automatically when your Lambda function invocations fail. You will also set up an email notification using the Simple Email Service (SES) and our Mailhog extension.

Testing in the cloud = slow builds, fragile staging, surprise bills. Let’s talk about how developers are flipping the script and using local cloud environments to test smarter, faster, and cheaper without breaking production. Bonus: You’ll learn how LocalStack lets you simulate AWS on your machine. Game changer.

Why wait for the cloud to test your app? In this episode, we’ll write and run an integration test to validate our LocalStack app. You’ll learn how to upload a file, trigger the Lambda-SQS-DynamoDB flow, and assert the results all locally.