|
1 | 1 | ---
|
2 |
| -title: Use Azure portal to deploy service catalog app |
3 |
| -description: Shows consumers of Managed Applications how to deploy a service catalog app through the Azure portal. |
| 2 | +title: Use Azure portal to deploy service catalog managed application |
| 3 | +description: Shows consumers of Azure Managed Applications how to deploy a service catalog managed application from the Azure portal. |
4 | 4 | author: davidsmatlak
|
5 |
| - |
6 |
| -ms.topic: quickstart |
7 |
| -ms.date: 10/04/2018 |
8 | 5 | ms.author: davidsmatlak
|
| 6 | +ms.topic: quickstart |
| 7 | +ms.date: 08/17/2022 |
9 | 8 | ---
|
10 |
| -# Quickstart: Deploy service catalog app through Azure portal |
11 | 9 |
|
12 |
| -In the [preceding quickstart](publish-service-catalog-app.md), you published a managed application definition. In this quickstart, you create a service catalog app from that definition. |
| 10 | +# Quickstart: Deploy service catalog managed application from Azure portal |
| 11 | + |
| 12 | +In the quickstart article to [publish the definition](publish-service-catalog-app.md), you published an Azure managed application definition. In this quickstart, you use that definition to deploy a service catalog managed application. The deployment creates two resource groups. One resource group contains the managed application and the other is a managed resource group for the deployed resource. In this article, the managed application definition deploys a managed storage account. |
| 13 | + |
| 14 | +## Prerequisites |
13 | 15 |
|
14 |
| -## Create service catalog app |
| 16 | +To complete this quickstart, you need an Azure account with an active subscription. If you completed the quickstart to publish a definition, you should already have an account. Otherwise, [create a free account](https://azure.microsoft.com/free/) before you begin. |
| 17 | + |
| 18 | +## Create service catalog managed application |
15 | 19 |
|
16 | 20 | In the Azure portal, use the following steps:
|
17 | 21 |
|
| 22 | +1. Sign in to the [Azure portal](https://portal.azure.com). |
18 | 23 | 1. Select **Create a resource**.
|
19 | 24 |
|
20 |
| -  |
| 25 | + :::image type="content" source="./media/deploy-service-catalog-quickstart/create-resource.png" alt-text="Create a resource"::: |
| 26 | + |
| 27 | +1. Search for _Service Catalog Managed Application_ and select it from the available options. |
21 | 28 |
|
22 |
| -1. Search for **Service Catalog Managed Application** and select it from the available options. |
| 29 | +1. **Service Catalog Managed Application** is displayed. Select **Create**. |
23 | 30 |
|
24 |
| -  |
| 31 | + :::image type="content" source="./media/deploy-service-catalog-quickstart/create-service-catalog-managed-application.png" alt-text="Select create"::: |
25 | 32 |
|
26 |
| -1. You see a description of the Managed Application service. Select **Create**. |
| 33 | +1. The portal shows the managed application definitions that you can access. From the available definitions, select the one you want to deploy. In this quickstart, use the **Managed Storage Account** definition that you created in the preceding quickstart. Select **Create**. |
27 | 34 |
|
28 |
| -  |
| 35 | + :::image type="content" source="./media/deploy-service-catalog-quickstart/select-service-catalog-managed-application.png" alt-text="Screenshot that shows managed application definitions that you can select and deploy."::: |
29 | 36 |
|
30 |
| -1. The portal shows the managed application definitions that you have access to. From the available definitions, select the one you wish to deploy. In this quickstart, use the **Managed Storage Account** definition that you created in the preceding quickstart. Select **Create**. |
| 37 | +1. Provide values for the **Basics** tab and select **Next: Storage settings**. |
31 | 38 |
|
32 |
| -  |
| 39 | + :::image type="content" source="./media/deploy-service-catalog-quickstart/basics-info.png" alt-text="Screenshot that highlights the information needed on the basics tab."::: |
33 | 40 |
|
34 |
| -1. Provide values for the **Basics** tab. Select the Azure subscription to deploy your service catalog app to. Create a new resource group named **applicationGroup**. Select a location for your app. When finished, select **OK**. |
| 41 | + - **Subscription**: Select the subscription where you want to deploy the managed application. |
| 42 | + - **Resource group**: Select the resource group. For this example, create a resource group named _applicationGroup_. |
| 43 | + - **Region**: Select the location where you want to deploy the resource. |
| 44 | + - **Application Name**: Enter a name for your application. For this example, use _demoManagedApplication_. |
| 45 | + - **Managed Resource Group**: Uses a default name in the format `mrg-{definitionName}-{dateTime}` like the example _mrg-ManagedStorage-20220817085240_. You can change the name. |
35 | 46 |
|
36 |
| -  |
| 47 | +1. Enter a prefix for the storage account name and select the storage account type. Select **Next: Review + create**. |
37 | 48 |
|
38 |
| -1. Provide a prefix for the storage account name. Select the type of storage account to create. When finished, select **OK**. |
| 49 | + :::image type="content" source="./media/deploy-service-catalog-quickstart/storage-info.png" alt-text="Screenshot that shows the information needed to create a storage account."::: |
39 | 50 |
|
40 |
| -  |
| 51 | + - **Storage account name prefix**: Use only lowercase letters and numbers and a maximum of 11 characters. During deployment, the prefix is concatenated with a unique string to create the storage account name. |
| 52 | + - **Storage account type**: Select **Change type** to choose a storage account type. The default is Standard LRS. |
41 | 53 |
|
42 |
| -1. Review the summary. After validation succeeds, select **OK** to begin deployment. |
| 54 | +1. Review the summary of the values you selected and verify **Validation Passed** is displayed. Select **Create** to begin the deployment. |
43 | 55 |
|
44 |
| -  |
| 56 | + :::image type="content" source="./media/deploy-service-catalog-quickstart/summary-validation.png" alt-text="Screenshot that summarizes the values you selected and shows the validation status."::: |
45 | 57 |
|
46 | 58 | ## View results
|
47 | 59 |
|
48 |
| -After the service catalog app has been deployed, you have two new resource groups. One resource group holds the service catalog app. The other resource group holds the resources for the service catalog app. |
| 60 | +After the service catalog managed application is deployed, you have two new resource groups. One resource group contains the managed application. The other resource group contains the managed resource that was deployed. In this example, a managed storage account. |
| 61 | + |
| 62 | +### Managed application |
| 63 | + |
| 64 | +Go to the resource group named **applicationGroup**. The resource group contains your managed application named _demoManagedApplication_. |
| 65 | + |
| 66 | + :::image type="content" source="./media/deploy-service-catalog-quickstart/view-application-group.png" alt-text="Screenshot that shows the resource group that contains the managed application."::: |
| 67 | + |
| 68 | +### Managed resource |
| 69 | + |
| 70 | +Go to the managed resource group with the name prefix **mrg-ManagedStorage** to see the resource that was deployed. The resource group contains the managed storage account that uses the prefix you specified. In this example, the storage account prefix is _demoappstg_. |
| 71 | + |
| 72 | + :::image type="content" source="./media/deploy-service-catalog-quickstart/view-managed-resource-group.png" alt-text="Screenshot that shows the managed resource group that contains the resource deployed by the managed application."::: |
| 73 | + |
| 74 | +The storage account that's created by the managed application has a role assignment. In the [publish the definition](publish-service-catalog-app.md#create-an-azure-active-directory-user-group-or-application) article, you created an Azure Active Directory group. That group was used in the managed application definition. When you deployed the managed application, a role assignment for that group was added to the managed storage account. |
| 75 | + |
| 76 | +To see the role assignment from the Azure portal: |
| 77 | + |
| 78 | +1. Go to the **mrg-ManagedStorage** resource group. |
| 79 | +1. Select **Access Control (IAM)** > **Role assignments**. |
| 80 | + |
| 81 | + You can also view the resource's **Deny assignments**. |
| 82 | + |
| 83 | +The role assignment gives the application's publisher access to manage the storage account. In this example, the publisher might be your IT department. The _Deny assignments_ prevents customers from making changes to a managed resource's configuration. Managed apps are designed so that customers don't need to maintain the resources. The _Deny assignment_ excludes the Azure Active Directory group that was assigned in **Role assignments**. |
| 84 | + |
| 85 | +## Clean up resources |
49 | 86 |
|
50 |
| -1. View the resource group named **applicationGroup** to see the service catalog app. |
| 87 | +When your finished with the managed application, you can delete the resource groups and that will remove all the resources you created. For example, in this quickstart you created the resource groups _applicationGroup_ and a managed resource group with the prefix _mrg-ManagedStorage_. |
51 | 88 |
|
52 |
| -  |
| 89 | +1. From Azure portal **Home**, in the search field, enter _resource groups_. |
| 90 | +1. Select **Resource groups**. |
| 91 | +1. Select **applicationGroup** and **Delete resource group**. |
| 92 | +1. To confirm the deletion, enter the resource group name and select **Delete**. |
53 | 93 |
|
54 |
| -1. View the resource group named **applicationGroup{hash-characters}** to see the resources for the service catalog app. |
| 94 | +When the resource group that contains the managed application is deleted, the managed resource group is also deleted. In this example, when _applicationGroup_ is deleted the _mrg-ManagedStorage_ resource group is also deleted. |
55 | 95 |
|
56 |
| -  |
| 96 | +If you want to delete the managed application definition, you can delete the resource groups you created in the quickstart to [publish the definition](publish-service-catalog-app.md). |
57 | 97 |
|
58 | 98 | ## Next steps
|
59 | 99 |
|
60 |
| -* To learn how to create the definition files for a managed application, see [Create and publish a managed application definition](publish-service-catalog-app.md). |
61 |
| -* For Azure CLI, see [Deploy service catalog app with Azure CLI](./scripts/managed-application-cli-sample-create-application.md). |
62 |
| -* For PowerShell, see [Deploy service catalog app with PowerShell](./scripts/managed-application-poweshell-sample-create-application.md). |
| 100 | +- To learn how to create the definition files for a managed application, see [Quickstart: Create and publish an Azure Managed Application definition](publish-service-catalog-app.md). |
| 101 | +- For Azure CLI, see [Deploy managed application with Azure CLI](./scripts/managed-application-cli-sample-create-application.md). |
| 102 | +- For PowerShell, see [Deploy managed application with PowerShell](./scripts/managed-application-poweshell-sample-create-application.md). |
0 commit comments