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/service-connector/quickstart-cli-container-apps.md
+4-4Lines changed: 4 additions & 4 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -5,12 +5,12 @@ author: maud-lv
5
5
ms.author: malev
6
6
ms.service: service-connector
7
7
ms.topic: quickstart
8
-
ms.date: 04/13/2023
8
+
ms.date: 10/31/2023
9
9
ms.devlang: azurecli
10
10
ms.custom: devx-track-azurecli
11
11
---
12
12
13
-
# Quickstart: Create a service connection in Container Apps with the Azure CLI
13
+
# Quickstart: Create a service connection in Azure Container Apps with the Azure CLI
14
14
15
15
This quickstart shows you how to connect Azure Container Apps to other Cloud resources using the Azure CLI and Service Connector. Service Connector lets you quickly connect compute services to cloud services, while managing your connection's authentication and networking settings.
16
16
@@ -49,11 +49,11 @@ This quickstart shows you how to connect Azure Container Apps to other Cloud res
49
49
50
50
## Create a service connection
51
51
52
-
You can create a connection using an access key or a managed identity.
52
+
Create a connection using an access key or a managed identity.
53
53
54
54
### [Access key](#tab/using-access-key)
55
55
56
-
1. Run the `az containerapp connection create` command to create a service connection between Container Apps and Azure Blob Storage with an access key.
56
+
1. Run the `az containerapp connection create` command to create a service connection between Container Apps and Azure Blob Storage using an access key.
57
57
58
58
```azurecli
59
59
az containerapp connection create storage-blob --secret
@@ -21,11 +21,11 @@ Service Connector lets you quickly connect compute services to cloud services, w
21
21
22
22
- An Azure subscription. [!INCLUDE [quickstarts-free-trial-note](../../includes/quickstarts-free-trial-note.md)]
23
23
24
-
- At least one application hosted by Azure Spring Apps in a [region supported by Service Connector](./concept-region-support.md). If you don't have one, [deploy your first application to Azure Spring Apps](../spring-apps/quickstart.md).
24
+
- At least one application hosted by Azure Spring Apps in a [region supported by Service Connector](./concept-region-support.md). If you don't have one, [deploy your first application to Azure Spring Apps](../spring-apps/quickstart.md).
- Version 2.37.0 or higher of the Azure CLI must be installed. To upgrade to the latest version, run `az upgrade`. If using Azure Cloud Shell, the latest version is already installed.
28
+
- Version 2.37.0 or higher of the Azure CLI. To upgrade to the latest version, run `az upgrade`. If using Azure Cloud Shell, the latest version is already installed.
29
29
30
30
- The Azure Spring Apps extension must be installed in the Azure CLI or the Cloud Shell. To install it, run `az extension add --name spring`.
31
31
@@ -40,7 +40,6 @@ Service Connector lets you quickly connect compute services to cloud services, w
40
40
> [!TIP]
41
41
> You can check if the resource provider has already been registered by running the command `az provider show -n "Microsoft.ServiceLinker" --query registrationState`. If the output is `Registered`, then Service Connector has already been registered.
42
42
43
-
44
43
1. Optionally, run the command [az spring connection list-support-types](/cli/azure/spring/connection#az-spring-connection-list-support-types) to get a list of supported target services for Azure Spring Apps.
45
44
46
45
```azurecli
@@ -52,11 +51,11 @@ Service Connector lets you quickly connect compute services to cloud services, w
52
51
53
52
## Create a service connection
54
53
55
-
You can create a connection from Azure Spring Apps using an access key or a managed identity.
54
+
Create a connection from Azure Spring Apps using an access key or a managed identity.
56
55
57
56
### [Access key](#tab/Using-access-key)
58
57
59
-
1. Run the `az spring connection create` command to create a service connection between Azure Spring Apps and an Azure Blob Storage with an access key.
58
+
1. Run the `az spring connection create` command to create a service connection between Azure Spring Apps and an Azure Blob Storage using an access key.
60
59
61
60
```azurecli
62
61
az spring connection create storage-blob --secret
@@ -75,10 +74,10 @@ You can create a connection from Azure Spring Apps using an access key or a mana
75
74
> [!TIP]
76
75
> If you don't have a Blob Storage, you can run `az spring connection create storage-blob --new --secret` to provision a new Blob Storage and directly connect it to your application hosted by Azure Spring Apps using a connection string.
> To use Managed Identity, you must have the permission to modify [role assignments in Microsoft Entra ID](../active-directory/managed-identities-azure-resources/howto-assign-access-portal.md). Without this permission, your connection creation will fail. Ask your subscription owner to grant you a role assignment permission or use an access key to create the connection.
80
+
> To use a managed identity, you must have the permission to modify [role assignments in Microsoft Entra ID](../active-directory/managed-identities-azure-resources/howto-assign-access-portal.md). Without this permission, your connection creation will fail. Ask your subscription owner to grant you a role assignment permission or use an access key to create the connection.
82
81
83
82
1. Run the `az spring connection create` command to create a service connection to a Blob Storage with a system-assigned managed identity
84
83
@@ -115,7 +114,7 @@ The output also displays the provisioning state of your connections: failed or s
115
114
116
115
## Next steps
117
116
118
-
Check the guides below for more information about Service Connector and Azure Spring Apps:
117
+
Check the guides below for more information about Service Connector and Azure Spring Apps.
119
118
120
119
> [!div class="nextstepaction"]
121
120
> [Tutorial: Azure Spring Apps + MySQL](./tutorial-java-spring-mysql.md)
Copy file name to clipboardExpand all lines: articles/service-connector/quickstart-portal-container-apps.md
+14-13Lines changed: 14 additions & 13 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -1,20 +1,23 @@
1
1
---
2
2
title: Quickstart - Create a service connection in Container Apps from the Azure portal
3
-
description: Quickstart showing how to create a service connection in Azure Container Apps from the Azure portal
3
+
description: This quickstart shows how to create a service connection in Azure Container Apps from the Azure portal
4
4
author: maud-lv
5
5
ms.author: malev
6
6
ms.service: service-connector
7
7
ms.custom: event-tier1-build-2022
8
8
ms.topic: quickstart
9
-
ms.date: 08/09/2022
9
+
ms.date: 10/31/2023
10
10
11
-
#Customer intent: As an app developer, I want to connect a Container App to a storage account in the Azure portal using Service Connector.
11
+
#Customer intent: As an app developer, I want to connect Azure Container Apps to a storage account in the Azure portal using Service Connector.
12
12
---
13
13
14
14
# Quickstart: Create a service connection in Azure Container Apps from the Azure portal
15
15
16
16
This quickstart shows you how to connect Azure Container Apps to other Cloud resources using the Azure portal and Service Connector. Service Connector lets you quickly connect compute services to cloud services, while managing your connection's authentication and networking settings.
17
17
18
+
> [!NOTE]
19
+
> For information on connecting resources using Azure CLI, see [Create a service connection in Container Apps with the Azure CLI](./quickstart-cli-container-apps.md).
20
+
18
21
> [!IMPORTANT]
19
22
> This feature in Container Apps is currently in preview.
20
23
> See the [Supplemental Terms of Use for Microsoft Azure Previews](https://azure.microsoft.com/support/legal/preview-supplemental-terms/) for legal terms that apply to Azure features that are in beta, preview, or otherwise not yet released into general availability.
@@ -31,9 +34,9 @@ Sign in to the Azure portal at [https://portal.azure.com/](https://portal.azure.
31
34
32
35
## Create a new service connection
33
36
34
-
You'll use Service Connector to create a new service connection in Container Apps.
37
+
Use Service Connector to create a new service connection in Container Apps.
35
38
36
-
1.To create a new service connection in Container Apps, select the **Search resources, services and docs (G +/)** search bar at the top of the Azure portal, type *Container Apps* in the filter and select **Container Apps**.
39
+
1.Select the **Search resources, services and docs (G +/)** search bar at the top of the Azure portal, type *Container Apps* in the filter and select **Container Apps**.
37
40
38
41
:::image type="content" source="./media/container-apps-quickstart/select-container-apps.png" alt-text="Screenshot of the Azure portal, selecting Container Apps.":::
39
42
@@ -47,14 +50,12 @@ You'll use Service Connector to create a new service connection in Container App
|**Container**|*my-container*| The container of your container app. |
53
+
|**Container**|*my-container-app*| The container of your container app. |
51
54
|**Service type**|*Storage - Blob*| The type of service you're going to connect to your container. |
52
55
|**Subscription**|*my-subscription*| The subscription that contains your target service (the service you want to connect to). The default value is the subscription that this container app is in. |
53
56
|**Connection name**|*storageblob_700ae*| The connection name that identifies the connection between your container app and target service. Use the connection name provided by Service Connector or choose your own connection name. |
54
57
|**Storage account**|*my-storage-account*| The target storage account you want to connect to. If you choose a different service type, select the corresponding target service instance. |
55
-
|**Client type**|*.NET*| The application stack that works with the target service you selected. The default value is None, which will generate a list of configurations. If you know about the app stack or the client SDK in the container you selected, select the same app stack for the client type. |
56
-
57
-
:::image type="content" source="./media/container-apps-quickstart/basics.png" alt-text="Screenshot of the Azure portal, filling out the Basics tab.":::
58
+
|**Client type**|*.NET*| The application stack that works with the target service you selected. The default value is None, which generates a list of configurations. If you know about the app stack or the client SDK in the container you selected, select the same app stack for the client type. |
58
59
59
60
1. Select **Next: Authentication** to choose an authentication method: system-assigned managed identity (SMI), user-assigned managed identity (UMI), connection string, or service principal.
60
61
@@ -72,7 +73,7 @@ You'll use Service Connector to create a new service connection in Container App
72
73
1. Select **Managed identities** and select **Create**
73
74
1. Enter a subscription, resource group, region and instance name
74
75
1. Select **Review + create** and the **Create**
75
-
1. Once your managed identity has been deployed, go to your Service Connector tab, select **Previous** and then **Next** to refresh the form's data, and under **User-assigned managed identity**, select the identity you've created.
76
+
1. Once your managed identity has been deployed, go to your Service Connector tab, select **Previous** and then **Next** to refresh the form's data, and under **User-assigned managed identity**, select the identity you created.
76
77
77
78
For more information, go to [create a user-assigned managed identity](../active-directory/managed-identities-azure-resources/how-manage-user-assigned-managed-identities.md?pivots=identity-mi-methods-azp).
78
79
@@ -99,11 +100,11 @@ You'll use Service Connector to create a new service connection in Container App
99
100
100
101
## View service connections
101
102
102
-
1. Container Apps connections are displayed under **Settings > Service Connector**.
103
+
1. Container Apps connections are displayed under **Settings > Service Connector (preview)**. Select **>** to expand the list and see the properties required by your application.
103
104
104
-
1. Select **>** to expand the list and see the environment variables required by your application.
105
+
1. Select your connection and then **Validate** to prompt Service Connector to check your connection.
105
106
106
-
1. Select **Validate** check your connection status, and select**Learn more** to review the connection validation details.
107
+
1. Select **Learn more** to review the connection validation details.
107
108
108
109
:::image type="content" source="./media/container-apps-quickstart/validation-result.png" alt-text="Screenshot of the Azure portal, get connection validation result.":::
0 commit comments