You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: articles/app-service/tutorial-sre-agent.md
+9-7Lines changed: 9 additions & 7 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -12,9 +12,7 @@ ms.date: 05/18/2025
12
12
> [!NOTE]
13
13
> Site Reliability Engineering (SRE) Agent is in preview. By using SRE Agent, you consent the product-specific terms on this page: [Preview Terms Of Use | Microsoft Azure](https://azure.microsoft.com/support/legal/preview-supplemental-terms/).
14
14
15
-
## Introduction
16
-
17
-
The Azure SRE (Site Reliability Engineering) Agent uses AI to monitor and manage your Azure resources, helping you quickly diagnose and fix issues.
15
+
Site Reliability Engineering (SRE) focuses on creating reliable, scalable systems through automation and proactive management. An SRE Agent brings these principles to your cloud environment by providing AI-powered monitoring, troubleshooting, and remediation capabilities. An SRE Agent automates routine operational tasks and provides reasoned insights to help you maintain application reliability while reducing manual intervention. Available as a chatbot, you can ask questions and give natural language commands to maintain your applications and services. To ensure accuracy and control, any agent action taken on your behalf requires your approval.
18
16
19
17
This sample app demonstrates error detection by simulating HTTP 500 failures in a controlled way. You can safely test these scenarios using Azure App Service **deployment slots**, which let you run different app configurations side by side.
20
18
@@ -27,7 +25,7 @@ In this tutorial, you will:
27
25
> * Deploy a sample app from GitHub.
28
26
> * Configure the app with a startup command and enable logging.
29
27
> * Create a deployment slot to simulate failure.
30
-
> * Set up an Azure SRE Agent (preview) to monitor the app.
28
+
> * Set up an Azure SRE Agent to monitor the app.
31
29
> * Trigger a failure by swapping to the broken slot.
32
30
> * Use AI-driven chat to diagnose and resolve the issue by rolling back the swap.
33
31
@@ -37,7 +35,7 @@ In this tutorial, you will:
37
35
38
36
To complete this tutorial, you need:
39
37
- An [Azure subscription](https://azure.microsoft.com/free/).
40
-
-Permissions to create role assignments (Role Based Access Control Administrator or User Access Administrator) for SRE Agent setup.
38
+
-`Microsoft.Authorization/roleAssignments/write` permissions to create role assignments (Role Based Access Control Administrator or User Access Administrator) for SRE Agent setup.
41
39
42
40
## 1. Create an App Service app
43
41
@@ -73,7 +71,11 @@ In the *Basics* tab, provide the following details:
73
71
74
72
1. Select the **Deployment** tab.
75
73
76
-
1. Under *Authentication settings*, enable **Basic authentication**. Basic authentication is used later for a one-time deployment from GitHub. [Disable Basic Auth](configure-basic-auth-disable.md?tabs=portal) in production.
74
+
1. Under *Authentication settings*, enable **Basic authentication**.
75
+
76
+
> [!NOTE]
77
+
> Basic authentication is used later for a one-time deployment from GitHub. [Disable Basic Auth](configure-basic-auth-disable.md?tabs=portal) in production.
78
+
>
77
79
78
80
1. Select **Review and create**, then **Create** when validation passes.
79
81
@@ -264,7 +266,7 @@ Now that the app is experiencing failures, use the SRE Agent to diagnose and res
264
266
>
265
267
> *“I will now perform mitigation for my-sre-app by swapping the slots back to recover the application to a healthy state. Please note that swapping slots back may not always immediately restore health. I will keep you updated on the progress.”*
266
268
267
-
1. After a short delay, the agent will prompt you to approve the rollback:
269
+
1. After a pause, the agent prompts you to approve the rollback:
268
270
269
271
> *Performing Slot Swap rollback to Restore Application Availability for my-sre-app*
0 commit comments