THR898 · Theater
From chaos to confidence validating resilience with Azure Chaos Studio
Speakers: Abhi Ajmera, Nikhil Kaul
Microsoft’s player cannot open a video at a given time: once it plays, skip to the time shown.
What the session covers
Nikhil Kaul and Abhi Ajmera present Azure Chaos Studio Workspaces, a new experience for running chaos experiments, along with the AKS extension, which adds faults such as pod delete, CPU and memory pressure, and network/packet loss. In a live demo, Abhi uses a natural-language Copilot prompt and the easy chaos API to create a network-loss scenario. The scenario breaks a Contoso Tickets app on AKS with Cosmos DB, while an identical site configured with a backup database fails over and keeps working. The session also covers editing scenarios in the portal (action library, sequenced actions, revalidation) and an MCP server that exposes the easy chaos APIs. It ends by mapping faults to user impact across Entra, DNS, Key Vault and Service Bus, and by outlining a maturity model that ends with gating deployment pipelines on chaos results.
Best for: Platform and SRE engineers running workloads on AKS who want to validate resilience, including through Copilot or MCP-driven chaos experiments.
New material starts at 01:01. After a one-minute introduction to the problem, the session moves straight to the Ignite announcements of Chaos Studio Workspaces and the AKS extension.
Where to skip: Start at 01:01 for the announcements and skip the baseline app walkthrough (02:27–03:48). The core is the Copilot-driven scenario creation at 03:48, the failover result at 07:35 and the portal editing with the MCP mention at 09:51. The material from 13:02 onwards is general chaos-engineering guidance.
Chapters (9)
- 00:03 Recap Depth 100 · Novelty 0/3
Speaker introductions and the 'everything is green' resilience problem
Nikhil Kaul (PM for Azure Chaos Studio and Azure Kubernetes) and Abhi Ajmera (engineering manager, Azure Chaos Studio) introduce the session. Nikhil describes the situation where observability shows everything healthy while customers report slow or broken behaviour. Chaos Studio is positioned as the tool that injects real faults to prove a setup is actually resilient.
- 01:01 New Depth 200 · Novelty 3/3
Ignite announcements: Chaos Studio Workspaces and the AKS extension faults
Nikhil announces Azure Chaos Studio Workspaces, a new experience built over the last year to make Chaos Studio more accessible based on customer feedback. He introduces the AKS extension with faults such as pod delete, CPU and memory pressure, and network/packet loss, all run from the same workspace. Supported outage simulations include compute zone down, DNS, database failover and custom scenarios. He also mentions the demo DevTools UI was generated with Copilot.
- 02:27 Demo Depth 200 · Novelty 1/3
Demo baseline: working Contoso Tickets app on AKS with Cosmos DB
Nikhil shows a live Contoso Tickets website running on AKS with Cosmos DB storing tickets and payment data. He selects seats, sets price filters and completes a purchase to prove the app works before it is broken. A DevTools panel logs every HTTP request.
- 03:48 Demo Depth 300 · Novelty 2/3
Creating a network-loss chaos scenario in a workspace via a Copilot prompt
Abhi shows a pre-created workspace scoped to a service group, resource group or subscription. Instead of using the portal, he gives Copilot a natural-language prompt that uses the easy chaos API to create a scenario with a 100% packet loss action targeting the workspace; setup takes about 30-45 seconds. The resulting 'live demo' scenario uses a primary region loss action against two clusters and shows as validated, meaning the workspace can connect to and act on the targets. Starting a run requires an explicit confirmation step.
- 07:35 Demo Depth 300 · Novelty 2/3
Running the fault: app outage vs. resilient site failing over to backup Cosmos DB
The run is prepared and fault injection takes effect after roughly 45 seconds. The original ticketing site stops working because of a network disconnect between the AKS cluster and Cosmos DB. A second, identical site configured with a backup database fails over and keeps working even though the primary database is also affected by the fault.
- 09:51 Demo Depth 300 · Novelty 2/3
Editing scenarios in the portal: action library, sequenced actions, revalidation, MCP
Abhi opens an earlier scenario in the portal to add actions from a broad action library beyond AKS, adding a Cosmos DB action in East US 2 for 10 minutes that runs in sequence after the existing action. Updating a scenario triggers revalidation of all actions; in the live demo validation hangs because the targeted region is already under an active fault. He notes that the same configuration is possible via the portal, Copilot instructions and an MCP version exposing the easy chaos APIs as a plugin.
- 13:02 Deep dive Depth 300 · Novelty 1/3
Fault coverage across a realistic architecture: Entra, DNS, Key Vault, Service Bus, zones
Nikhil points to the open-source Chaos Studio GitHub with sample applications, the MCP server and getting-started guides, where the demo will also be posted. Using a Copilot-generated architecture diagram, he maps faults to user impact in a ticketing app: DNS down blocks site lookup, Entra down blocks identity confirmation, a blocked Key Vault path stops payments, and Service Bus failures delay ticket delivery. Compute zone-down is described as the most popular fault, used to validate multi-zone worker distribution.
- 15:43 Deep dive Depth 200 · Novelty 1/3
Usage patterns: pre-launch testing, major changes, scheduled pipeline gating
Nikhil frames Chaos Studio as a fault injection service for validating expected steady-state behaviour. He outlines a good/better/best maturity model: testing before launches such as holiday shopping, testing after major changes (especially agent-written code nobody reviews), and running experiments on a schedule. The most mature customers, inside and outside Microsoft, run chaos experiments in build/deployment pipelines and gate promotion on the results.
- 17:34 Closing Depth 100 · Novelty 0/3
Closing: accessible chaos via portal, Copilot and API; 'find the failure at 3 PM'
Nikhil summarises that the Workspaces experience aims to make chaos engineering accessible through the portal, Copilot and the API. He closes with the tagline 'find the failure at 3 PM, not at 2 AM' and points to the docs and public announcement for more details.
Announcements (4)
-
Azure Chaos Studio Workspaces
A new all-encompassing Chaos Studio experience for scoping resources and creating and running chaos scenarios, designed to make chaos engineering more accessible.
Speaker’s quote (at 01:01)
„Azure Chaos Studio has released a new experience called Azure Chaos Studio Workspaces.“
-
Azure Chaos Studio AKS extension
An extension for Azure Kubernetes Service offering faults such as pod delete, CPU and memory pressure, and network/packet loss, run from a Chaos Studio workspace.
Speaker’s quote (at 01:27)
„our AKS extension offers faults like pod delete, CPU and memory pressure, and what we're going to be showing you today, which is injecting network and packet loss“
-
Easy chaos API
An API module for creating Chaos Studio workspaces and scenarios programmatically, used here by Copilot from a natural-language prompt.
Speaker’s quote (at 05:16)
„there is a easy chaos API available for you, so you can use that module to create all these things yourself.“
-
Azure Chaos Studio MCP server
An MCP version of the easy chaos APIs that can be installed as a plugin to create and manage chaos scenarios from AI tools.
Speaker’s quote (at 12:36)
„There is an MCP version also available for this where there are a lot of these easy chaos APIs that are also directly available in that MCP.“
Demos (4)
-
Establish a steady-state baseline by showing a working ticketing application before any fault is injected.
Steps (4)
- Open the Contoso Tickets website running on AKS with a Cosmos DB backend.
- Select seats for the concert and optionally set price minimums.
- Purchase the selected seats.
- Check in the DevTools panel that the HTTP request was logged successfully.
Prerequisites: A sample application deployed on AKS with Cosmos DB as the database.
-
A platform engineer creates a network-loss chaos scenario in a workspace using a natural-language prompt to Copilot instead of the portal.
Steps (6)
- Create (or open) a Chaos Studio workspace and define its scope (service group, resource group or subscription).
- Give Copilot a natural-language prompt describing the scenario to build, targeting the workspace with a 100% packet loss network action.
- Wait about 30-45 seconds while the scenario is created in the workspace.
- Open the workspace in the portal and locate the new 'live demo' scenario.
- Review the scenario action (primary region loss) and the two targeted clusters, and check that validation has passed.
- Click Run and confirm the 'are you sure' prompt to start the run.
Prerequisites: A Chaos Studio workspace scoped to the target resources; Copilot with access to the easy chaos API; permissions for the workspace to act on the AKS clusters.
-
Validate that a resilient configuration with a backup database survives a network outage between AKS and Cosmos DB, while a non-resilient one fails.
Steps (5)
- Start the scenario run and wait for it to show 'running'.
- After about 45 seconds, try to find tickets on the original site and observe that it no longer works.
- Open the second site configured with a backup database.
- Observe that the primary database is broken but the app switched to the backup database.
- Try to use the resilient site and confirm it still works during the fault.
Prerequisites: Two deployments of the sample app, one of them with a backup Cosmos DB configured for failover; a scenario with a network loss action.
-
Extend an existing chaos scenario with an additional Cosmos DB action from the action library using the portal editor.
Steps (5)
- Open an existing scenario in the workspace in the portal and choose to edit it.
- Add an action from the action library, e.g. a Cosmos DB action.
- Set the target region (East US 2) and a duration of 10 minutes; the actions run in sequence.
- Click Update and wait for the automatic revalidation of all actions in the scenario.
- If validation fails or hangs, check permissions and whether the target is already under another running fault.
Prerequisites: An existing scenario in a workspace; sufficient permissions on the target resources for validation to pass.