Slide 1

Slide 1 text

Serverless chaos: From Latency to Failure Adding more chaos engineering experiments to the serverless space

Slide 2

Slide 2 text

Serverless Chaos Demo – Last video

Slide 3

Slide 3 text

Serverless Chaos Demo – Last video

Slide 4

Slide 4 text

Serverless Chaos Demo – Last video • We talked about blast radius and how to start with the smallest possible experiment. • Added per function injection control to Adrian Hornsby’s Latency Injection layer using parameter store and environment variables. • Made it easier to deploy the Latency Injection layer using Serverless Framework. • Performed a demo on the serverless application.

Slide 5

Slide 5 text

What has Adrian been up to?

Slide 6

Slide 6 text

What has Adrian been up to? • Merged our changes from the last video to his Lambda layer (Yay!). • Added HTTP Error status code injection using error_code. • Added exception injection using exception_msg. • Added functionality to control the rate of failure. • Renamed the layer to Failure Injection Layer.

Slide 7

Slide 7 text

Latency injection

Slide 8

Slide 8 text

Status code injection

Slide 9

Slide 9 text

Exception injection

Slide 10

Slide 10 text

Parameter control

Slide 11

Slide 11 text

Serverless Chaos Demo – New version

Slide 12

Slide 12 text

Serverless Chaos Demo – New version • Variables in serverless.yml moved to separate file (thanks to Adrian). • Functions updated with the new decorators (thanks to Adrian). • New UI! • More visibility into what happens. • X-Ray enabled by default

Slide 13

Slide 13 text

@serverlesschaos #chaosengineering