|
1 | 1 | --- |
2 | | -title: Enable Dedicated Hosting Plan for Azure Monitor for SAP solutions |
3 | | -description: Learn about enabling dedicated hosting plan for your AMS resources |
4 | | -author: vaidehikher18 |
| 2 | +title: Enable the dedicated hosting plan for Azure Monitor for SAP solutions |
| 3 | +description: Switch the Azure function hosting plan in Azure Monitor for SAP solutions (AMS) from Elastic Premium to the dedicated plan to optimize cost and improve scaling efficiency. |
5 | 4 | ms.service: sap-on-azure |
6 | 5 | ms.subservice: sap-monitor |
7 | 6 | ms.topic: how-to |
8 | | -ms.date: 11/14/2024 |
| 7 | +ms.date: 04/09/2026 |
9 | 8 | ms.author: vaidehikher |
10 | | -#Customer intent: As an SAP Basis or cloud infrastructure team member, I want to deploy Azure Monitor for SAP solutions with dedicated hosting plan. |
| 9 | +author: vaidehikher18 |
11 | 10 | # Customer intent: As an SAP Basis team member, I want to enable the dedicated hosting plan for Azure Monitor for SAP solutions, so that I can optimize cost and improve scaling efficiency for monitoring my SAP systems. |
12 | 11 | --- |
13 | 12 |
|
14 | | -# Enable Dedicated Hosting Plan |
15 | | - |
16 | | -One of the features of Azure Monitor for SAP solutions is that it uses an Azure function to collect and process the data from your SAP systems. The service deploys and manages the Azure function, so you don't need to configure or maintain it. However, you may want to optimize the cost and reliability of the Azure function based on your monitoring needs and usage patterns. |
| 13 | +# Enable the dedicated hosting plan for Azure Monitor for SAP solutions |
17 | 14 |
|
18 | | -This new feature allows you to switch the hosting plan of the Azure function that is used inside of Azure Monitor for SAP solutions. With this feature, you can migrate to the dedicated plan for the Azure functions. The hosting plan of the Azure function determines how the function app is scaled and billed. |
| 15 | +Azure Monitor for SAP solutions (AMS) uses an Azure function to collect monitoring data from your SAP systems. By default, this function runs on the Elastic Premium hosting plan. Switch to the dedicated hosting plan to reduce costs and improve scaling efficiency for high-volume monitoring workloads. |
19 | 16 |
|
20 | | -The Dedicated hosting plan has a significant improvement in cost and scaling efficiency when used on AMS |
| 17 | +This article shows you how to switch the hosting plan from Elastic Premium to dedicated and check the change in the Azure portal. |
21 | 18 |
|
22 | 19 | ## Prerequisites |
23 | | -Ensure there are no locks on monitor subnet's Resource Group |
24 | 20 |
|
25 | | -## Steps to enable dedicated hosting plan |
26 | | -1. Navigate to Overview Section of the AMS monitor. Verify the hosting option is Elastic Premium. Then click on Edit Option. |
27 | | -  |
| 21 | +- No locks on the monitor subnet's resource group. |
| 22 | + |
| 23 | +## Enable the dedicated hosting plan |
| 24 | + |
| 25 | +To switch from the Elastic Premium plan to the dedicated hosting plan, follow these steps: |
| 26 | + |
| 27 | +1. Go to the **Overview** section of the AMS monitor. Check that the hosting option is **Elastic Premium plan**, and then select **edit**. |
| 28 | + |
| 29 | + :::image type="content" source="media/enable-dedicated-hosting-plan/change-hosting-plan.png" alt-text="Screenshot of changing the Azure function hosting plan in AMS from the Overview section."::: |
| 30 | + |
| 31 | +1. In the dialog that opens, select **Update**, and then select **Confirm**. |
| 32 | + |
| 33 | + :::image type="content" source="media/enable-dedicated-hosting-plan/successful.png" alt-text="Screenshot of a successful hosting plan migration in Azure Monitor for SAP solutions."::: |
| 34 | + |
| 35 | +1. Check that the hosting plan is updated in the **Overview** section after the deployment succeeds. |
| 36 | + |
| 37 | +## Revert to the Elastic Premium plan |
28 | 38 |
|
29 | | -2. Navigate to the popup that opens click on Update and then Confirm. |
30 | | -  |
| 39 | +If the deployment fails with the code `FunctionAppRestoreFailed` or if you need to restore the Elastic Premium plan after multiple failures, follow these steps. |
31 | 40 |
|
32 | | -3. When deployment succeeds, Hosting plan is updated in overview section. |
| 41 | +### Before you begin |
| 42 | + |
| 43 | +Make sure the storage account has public network access: |
33 | 44 |
|
34 | | -## Steps to revert to Elastic Plan on unhealthy AMS |
35 | | -If the deployment fails with code FunctionAppRestoreFailed or if restoration to Elastic Premium Plan is needed after multiple failure, then follow the below steps to revert to Elastic Premium Plan. |
36 | | -### Prerequisite |
37 | | -Ensure the storage account has public network access: |
38 | 45 | 1. Go to the storage account in the AMS managed resource group. |
39 | | -2. Go to the security and networking tab, then click on the networking tab. |
40 | | -3. Go to the public network access, ensure the 'enabled from all networks' option is selected. |
41 | | -### Steps to follow: |
42 | | -1. [Install Azure CLI](https://go.microsoft.com/fwlink/?linkid=2297461). |
43 | | -2. Set the subscription by running `az account set --subscription "<Subscription Name>"` |
44 | | -3. To install Workloads CLI extension, run `az extension add --name workloads` |
45 | | -5. Execute az monitor create with required properties as per your AMS.\ |
46 | | -`az workloads monitor create -g <rg-name> -n <ams_name> -l <location> --app-location <app-location> --managed-rg-name <managed_rg_name> --monitor-subnet <subnet_arm_id> --routing-preference <routing_preference> --identity type=None` |
47 | | -6. Monitor is restored once operation completes. |
| 46 | +1. Go to the **Security + networking** tab, and then select **Networking**. |
| 47 | +1. Under **Public network access**, make sure the **Enabled from all networks** option is selected. |
| 48 | + |
| 49 | +### Restore the monitor |
| 50 | + |
| 51 | +1. [Install Azure CLI](/cli/azure/install-azure-cli). |
| 52 | + |
| 53 | +1. Set the subscription: |
| 54 | + |
| 55 | + ```azurecli |
| 56 | + az account set --subscription "<Subscription Name>" |
| 57 | + ``` |
| 58 | + |
| 59 | +1. Install the Workloads CLI extension: |
| 60 | + |
| 61 | + ```azurecli |
| 62 | + az extension add --name workloads |
| 63 | + ``` |
| 64 | + |
| 65 | +1. Run `az workloads monitor create` with the required properties for your AMS instance: |
| 66 | + |
| 67 | + ```azurecli |
| 68 | + az workloads monitor create -g <rg-name> -n <ams_name> -l <location> --app-location <app-location> --managed-rg-name <managed_rg_name> --monitor-subnet <subnet_arm_id> --routing-preference <routing_preference> --identity type=None |
| 69 | + ``` |
| 70 | + |
| 71 | +1. Check that the monitor is restored after the operation completes. |
48 | 72 |
|
| 73 | +## Related content |
49 | 74 |
|
| 75 | +- [What is Azure Monitor for SAP solutions?](about-azure-monitor-sap-solutions.md) |
0 commit comments