|
| 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 |
| 5 | +ms.service: sap-on-azure |
| 6 | +ms.subservice: sap-monitor |
| 7 | +ms.topic: how-to |
| 8 | +ms.date: 11/14/2024 |
| 9 | +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. |
| 11 | +--- |
| 12 | + |
| 13 | +# Enable Dedicated Hosting Plan |
| 14 | + |
| 15 | +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. |
| 16 | + |
| 17 | +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. |
| 18 | + |
| 19 | +The Dedicated hosting plan has a significant improvement in cost and scaling efficiency when used on AMS |
| 20 | + |
| 21 | +## Prerequisites |
| 22 | +Ensure there are no locks on monitor subnet's Resource Group |
| 23 | + |
| 24 | +## Steps to enable dedicated hosting plan |
| 25 | +1. Navigate to Overview Section of the AMS monitor. Verify the hosting option is Elastic Premium. Then click on Edit Option. |
| 26 | +  |
| 27 | + |
| 28 | +2. Navigate to the popup that opens click on Update and then Confirm. |
| 29 | +  |
| 30 | + |
| 31 | +3. When deployment succeeds, Hosting plan is updated in overview section. |
| 32 | + |
| 33 | +## Steps to revert to Elastic Plan on unhealthy AMS |
| 34 | +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. |
| 35 | +### Prerequisite |
| 36 | +Ensure the storage account has public network access: |
| 37 | +1. Go to the storage account in the AMS managed resource group. |
| 38 | +2. Go to the security and networking tab, then click on the networking tab. |
| 39 | +3. Go to the public network access, ensure the 'enabled from all networks' option is selected. |
| 40 | +### Steps to follow: |
| 41 | +1. [Install Azure CLI](https://go.microsoft.com/fwlink/?linkid=2297461). |
| 42 | +2. Set the subscription by running `az account set --subscription "<Subscription Name>"` |
| 43 | +3. To install Workloads CLI extension, run `az extension add --name workloads` |
| 44 | +5. Execute az monitor create with required properties as per your AMS.\ |
| 45 | +`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` |
| 46 | +6. Monitor is restored once operation completes. |
| 47 | + |
| 48 | + |
0 commit comments