Skip to content

Commit 8425c75

Browse files
committed
touchups
1 parent 8af4e19 commit 8425c75

File tree

2 files changed

+18
-18
lines changed

2 files changed

+18
-18
lines changed
-3.05 KB
Loading

articles/app-service/tutorial-custom-container-sidecar.md

Lines changed: 18 additions & 18 deletions
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@ For bring-your-own-code Linux apps, see [Tutorial: Configure a sidecar container
1919
## Prerequisites
2020

2121
- [!INCLUDE [quickstarts-free-trial-note](~/reusable-content/ce-skilling/azure/includes/quickstarts-free-trial-note.md)]
22-
- Run the commands in this tutorial by using Azure Cloud Shell, an interactive shell that you can use through your browser to work with Azure services. To use Cloud Shell:
22+
- You can run the commands in this tutorial by using Azure Cloud Shell, an interactive shell you can use through your browser to work with Azure services. To use Cloud Shell:
2323

2424
1. Select the following **Launch Cloud Shell** button or go to https://shell.azure.com to open Cloud Shell in your browser.
2525

@@ -28,11 +28,11 @@ For bring-your-own-code Linux apps, see [Tutorial: Configure a sidecar container
2828
1. Sign in to Azure if necessary, and make sure you're in the **Bash** environment of Cloud Shell.
2929
1. Select **Copy** in a code block, paste the code into Cloud Shell, and run it.
3030

31-
The commands in this tutorial use the [Azure Developer CLI](/azure/developer/azure-developer-cli/overview), an open-source tool that accelerates provisioning and deploying app resources on Azure.
31+
The `azd` commands in this tutorial use the [Azure Developer CLI](/azure/developer/azure-developer-cli/overview), an open-source tool that accelerates provisioning and deploying app resources on Azure.
3232

3333
## 1. Set up the tutorial resources
3434

35-
To create the resources that this tutorial uses, run the following commands in Cloud Shell. When prompted, select the Azure subscription and Azure region you want to use.
35+
To clone the sample repository and create the resources for this tutorial, run the following commands in Cloud Shell. When prompted, select the Azure subscription and Azure region you want to use.
3636

3737
```bash
3838
git clone https://github.com/Azure-Samples/app-service-sidecar-tutorial-prereqs
@@ -43,16 +43,16 @@ To create the resources that this tutorial uses, run the following commands in C
4343

4444
The `azd provision` command uses the included templates to create an Azure resource group called `my-sidecar-env_group` that contains the following Azure resources:
4545

46-
- A [container registry](/azure/container-registry/container-registry-intro) with two repositories, containing the following images:
47-
- An `nginx` image with the OpenTelemetry module.
48-
- An `otel-collector` OpenTelemetry collector image, configured to export to [Azure Monitor](/azure/azure-monitor/overview).
49-
- A [Log Analytics workspace](/azure/azure-monitor/logs/log-analytics-overview).
50-
- An [Application Insights](/azure/azure-monitor/app/app-insights-overview) component and Application Insights Smart Detection action group.
46+
- A [container registry](/azure/container-registry/container-registry-intro) with two repositories that have the following images:
47+
- An `nginx` image that contains the OpenTelemetry module.
48+
- An `otel-collector` OpenTelemetry collector image configured to export to [Azure Monitor](/azure/azure-monitor/overview).
49+
- A [Log Analytics](/azure/azure-monitor/logs/log-analytics-overview) workspace.
50+
- An [Application Insights](/azure/azure-monitor/app/app-insights-overview) component.
5151
- A user-assigned [managed identity](/entra/identity/managed-identities-azure-resources/overview) called `id-my-sidecar-env_group`.
5252

53-
When deployment completes, you should see similar to the following output:
53+
When deployment completes, you should see output similar to the following message:
5454

55-
```bash
55+
```output
5656
Success!
5757
5858
APPLICATIONINSIGHTS_CONNECTION_STRING = InstrumentationKey=aaaaaaaa-0b0b-1c1c-2d2d-333333333333;IngestionEndpoint=https://eastus2-3.in.applicationinsights.azure.com/;LiveEndpoint=https://eastus2.livediagnostics.monitor.azure.com/;ApplicationId=00001111-aaaa-2222-bbbb-3333cccc4444
@@ -63,24 +63,24 @@ Managed identity client ID = 00aa00aa-bb11-cc22-dd33-44ee44ee44ee
6363
Open resource group in the portal: https://portal.azure.com/#@/resource/subscriptions/aaaa0a0a-bb1b-cc2c-dd3d-eeeeee4e4e4e/resourceGroups/my-sidecar-env_group
6464
```
6565

66-
Copy and save the value for **APPLICATIONINSIGHTS_CONNECTION_STRING** to use later in this tutorial.
66+
Copy and save the value for `APPLICATIONINSIGHTS_CONNECTION_STRING` to use later in this tutorial.
6767

68-
Select the **Open resource group in the portal** link to open the resource group in the Azure portal.
68+
Select the link for `Open resource group in the portal` to open the provisioned resource group in the Azure portal.
6969

7070
## 2. Create a sidecar-enabled app
7171

72-
In this section, you create the Linux custom container app and main container, and enable sidecar support for the app.
72+
In this section, you create the Linux custom container app with sidecar support and configure the main container.
7373

7474
1. On the resource group's page in the Azure portal, select **Create**.
75-
1. On the **Marketplace** page, search for *web app*, select the down arrow next to **Create** on the **Web App** tile, and then select **Web App**.
75+
1. On the **Marketplace** page, search for *web app*, select the down arrow next to **Create** on the **Web App** tile, and select **Web App**.
7676

7777
:::image type="content" source="media/tutorial-custom-container-sidecar/create-web-app.png" alt-text="Screenshot showing Azure Marketplace page with web app being searched and create web app button highlighted.":::
7878

7979
1. On the **Basics** tab of the **Create Web App** page, provide the following information:
8080
- **Name**: Enter a unique name for the web app.
8181
- **Publish**: Select **Container**.
8282
- **Operating System**: Select **Linux**.
83-
- **Region**: Select the same region as the one you chose with `azd provision`.
83+
- **Region**: Select the same region you chose for `azd provision`.
8484
- **Linux Plan**: Select the provided **(New)** App Service plan.
8585

8686
:::image type="content" source="media/tutorial-custom-container-sidecar/create-wizard-basics-panel.png" alt-text="Screenshot showing the Basic settings for the Linux custom container web app.":::
@@ -92,7 +92,7 @@ In this section, you create the Linux custom container app and main container, a
9292
- **Image Source**: Select **Azure Container Registry**.
9393
- **Name**: Make sure *main* appears.
9494
- **Registry**: Select the registry created by `azd provision`.
95-
- **Authentication**: Select **Managed Identity**.
95+
- **Authentication**: Select **Managed identity**.
9696
- **Identity**: Select the managed identity created by `azd provision`.
9797
- **Image**: Enter *nginx*.
9898
- **Tag**: Enter *latest*.
@@ -107,7 +107,7 @@ In this section, you create the Linux custom container app and main container, a
107107

108108
1. Once the deployment completes, select **Go to resource**.
109109

110-
1. On your app's page, open the URL next to **Default domain**, such as `https://<app-name>.azurewebsites.net`, in a new browser tab to see the default **nginx** page.
110+
1. On your app's page, open the URL next to **Default domain**, `https://<app-name>.azurewebsites.net`, in a new browser tab to see the default **nginx** page.
111111

112112
## 3. Add a sidecar container to the app
113113

@@ -142,7 +142,7 @@ You configure environment variables for the containers like for any App Service
142142
1. On the **App settings** tab of the **Environment variables** page, select **Add**.
143143
1. On the **Add/Edit application setting** pane, enter the following values:
144144
- **Name**: *APPLICATIONINSIGHTS_CONNECTION_STRING*
145-
- **Value**: The `APPLICATIONINSIGHTS_CONNECTION_STRING` value from the output of `azd provision`. You can also find the value on the **Overview** page of the Application Insight resource, under **Connection String**.
145+
- **Value**: The value of `APPLICATIONINSIGHTS_CONNECTION_STRING` from the output of `azd provision`. You can also find this value on the **Overview** page of the Application Insight resource under **Connection String**.
146146
1. Select **Apply**, then select **Apply** again, and then select **Confirm**. You now see the **APPLICATIONINSIGHTS_CONNECTION_STRING** app setting on the **Environment variables** page.
147147

148148
:::image type="content" source="media/tutorial-custom-container-sidecar/configure-app-settings.png" alt-text="Screenshot showing a web app's Configuration page with two app settings added.":::

0 commit comments

Comments
 (0)