|
| 1 | +--- |
| 2 | +title: Tutorial to assess web apps for migration to Azure App Service for Hyper-V VMs |
| 3 | +description: Learn how to create assessment for Azure App Service for Hyper-V VMs in Azure Migrate |
| 4 | +author: rashi-ms |
| 5 | +ms.author: rajosh |
| 6 | +ms.topic: tutorial |
| 7 | +ms.date: 02/16/2023 |
| 8 | +ms.custom: engagement-fy23 |
| 9 | +--- |
| 10 | + |
| 11 | + |
| 12 | +# Tutorial: Assess ASP.NET web apps for migration to Azure App Service for Hyper-V VMs |
| 13 | + |
| 14 | +As part of your migration journey to Azure, you assess your on-premises workloads to measure cloud readiness, identify risks, and estimate costs and complexity. |
| 15 | +This article shows you how to assess discovered ASP.NET web apps running on IIS web servers in preparation for migration to Azure App Service, using the Azure Migrate: Discovery and assessment tool. |
| 16 | + |
| 17 | +In this tutorial, you learn how to: |
| 18 | + |
| 19 | +> [!div class="checklist"] |
| 20 | +> * Run an assessment based on web apps configuration data. |
| 21 | +> * Review an Azure App Service assessment |
| 22 | +
|
| 23 | +> [!NOTE] |
| 24 | +> Tutorials show the quickest path for trying out a scenario, and use default options where possible. |
| 25 | +
|
| 26 | +## Prerequisites |
| 27 | + |
| 28 | +- If you don't have an Azure subscription, create a [free account](https://azure.microsoft.com/pricing/free-trial/) before you begin. |
| 29 | +- Before you follow this tutorial to assess your web apps for migration to Azure App Service, make sure you've discovered the web apps you want to assess using the Azure Migrate appliance, [follow this tutorial](tutorial-discover-hyper-v.md) |
| 30 | +- If you want to try out this feature in an existing project, ensure that you have completed the [prerequisites](how-to-discover-sql-existing-project.md) in this article. |
| 31 | + |
| 32 | +## Run an assessment |
| 33 | + |
| 34 | +Run an assessment as follows: |
| 35 | + |
| 36 | +1. On the **Overview** page > **Servers, databases and web apps**, select **Discover, assess and migrate**. |
| 37 | + |
| 38 | + :::image type="content" source="./media/tutorial-assess-webapps/discover-assess-migrate.png" alt-text="Overview page for Azure Migrate"::: |
| 39 | + |
| 40 | +2. On **Azure Migrate: Discovery and assessment**, select **Assess** and choose the assessment type as **Azure App Service**. |
| 41 | + |
| 42 | + :::image type="content" source="./media/tutorial-assess-webapps/assess.png" alt-text="Dropdown to choose assessment type as Azure App Service"::: |
| 43 | + |
| 44 | +3. In **Create assessment**, you will be able to see the assessment type pre-selected as **Azure App Service** and the discovery source defaulted to **Servers discovered from Azure Migrate appliance**. |
| 45 | + |
| 46 | +4. Select **Edit** to review the assessment properties. |
| 47 | + |
| 48 | + :::image type="content" source="./media/tutorial-assess-webapps/assess-webapps.png" alt-text="Edit button from where assessment properties can be customized"::: |
| 49 | + |
| 50 | +5. Here's what's included in Azure App Service assessment properties: |
| 51 | + |
| 52 | + **Property** | **Details** |
| 53 | + --- | --- |
| 54 | + **Target location** | The Azure region to which you want to migrate. Azure App Service configuration and cost recommendations are based on the location that you specify. |
| 55 | + **Isolation required** | Select yes if you want your web apps to run in a private and dedicated environment in an Azure datacenter using Dv2-series VMs with faster processors, SSD storage, and double the memory to core ratio compared to Standard plans. |
| 56 | + - In **Savings options (compute)**, specify the savings option that you want the assessment to consider to help optimize your Azure compute cost. |
| 57 | + - [Azure reservations](../cost-management-billing/reservations/save-compute-costs-reservations.md) (1 year or 3 year reserved) are a good option for the most consistently running resources. |
| 58 | + - [Azure Savings Plan](../cost-management-billing/savings-plan/savings-plan-compute-overview.md) (1 year or 3 year savings plan) provide additional flexibility and automated cost optimization. Ideally post migration, you could use Azure reservation and savings plan at the same time (reservation will be consumed first), but in the Azure Migrate assessments, you can only see cost estimates of 1 savings option at a time. |
| 59 | + - When you select 'None', the Azure compute cost is based on the Pay as you go rate or based on actual usage. |
| 60 | + - You need to select pay-as-you-go in offer/licensing program to be able to use Reserved Instances or Azure Savings Plan. When you select any savings option other than 'None', the 'Discount (%)' setting is not applicable. |
| 61 | + **Offer** | The [Azure offer](https://azure.microsoft.com/support/legal/offer-details/) in which you're enrolled. The assessment estimates the cost for that offer. |
| 62 | + **Currency** | The billing currency for your account. |
| 63 | + **Discount (%)** | Any subscription-specific discounts you receive on top of the Azure offer. The default setting is 0%. |
| 64 | + **EA subscription** | Specifies that an Enterprise Agreement (EA) subscription is used for cost estimation. Takes into account the discount applicable to the subscription. <br/><br/> Leave the settings for reserved instances, and discount (%) properties with their default settings. |
| 65 | + |
| 66 | +1. In **Create assessment**, select **Next**. |
| 67 | +1. In **Select servers to assess** > **Assessment name** > specify a name for the assessment. |
| 68 | +1. In **Select or create a group**, select **Create New** and specify a group name. |
| 69 | +1. Select the appliance, and select the servers that you want to add to the group. Select **Next**. |
| 70 | +1. In **Review + create assessment**, review the assessment details, and select **Create Assessment** to create the group and run the assessment. |
| 71 | +1. After the assessment is created, go to **Servers, databases and web apps** > **Azure Migrate: Discovery and assessment**. Refresh the tile data by selecting the **Refresh** option on top of the tile. Wait for the data to refresh. |
| 72 | + |
| 73 | + :::image type="content" source="./media/tutorial-assess-webapps/tile-refresh.png" alt-text="Refresh discovery and assessment tool data."::: |
| 74 | + |
| 75 | +1. Select the number next to Azure App Service assessment. |
| 76 | + |
| 77 | + :::image type="content" source="./media/tutorial-assess-webapps/assessment-webapps-navigation.png" alt-text="Navigation to created assessment."::: |
| 78 | + |
| 79 | +1. Select the assessment name, which you wish to view. |
| 80 | + |
| 81 | +## Review an assessment |
| 82 | + |
| 83 | +**To view an assessment**: |
| 84 | + |
| 85 | +1. **Servers, databases and web apps** > **Azure Migrate: Discovery and assessment**, select the number next to the Azure App Service assessment. |
| 86 | +2. Select the assessment name, which you wish to view. |
| 87 | + |
| 88 | + :::image type="content" source="./media/tutorial-assess-webapps/assessment-webapps-summary.png" alt-text="App Service assessment overview."::: |
| 89 | + |
| 90 | +3. Review the assessment summary. You can also edit the assessment properties or recalculate the assessment. |
| 91 | + |
| 92 | +#### Azure App Service readiness |
| 93 | + |
| 94 | +This indicates the distribution of the assessed web apps. You can drill down to understand the details around migration issues/warnings that you can remediate before migration to Azure App Service. [Learn More](concepts-azure-webapps-assessment-calculation.md). |
| 95 | +You can also view the recommended App Service SKU and plan for migrating to Azure App Service. |
| 96 | + |
| 97 | +#### Azure App Service cost details |
| 98 | + |
| 99 | +An [App Service plan](../app-service/overview-hosting-plans.md) carries a [charge](https://azure.microsoft.com/pricing/details/app-service/windows/) on the compute resources it uses. |
| 100 | + |
| 101 | +### Review readiness |
| 102 | + |
| 103 | +1. Select **Azure App Service readiness**. |
| 104 | + |
| 105 | + :::image type="content" source="./media/tutorial-assess-webapps/assessment-webapps-readiness.png" alt-text="Azure App Service readiness details."::: |
| 106 | + |
| 107 | +1. Review Azure App Service readiness column in table, for the assessed web apps: |
| 108 | + 1. If there are no compatibility issues found, the readiness is marked as **Ready** for the target deployment type. |
| 109 | + 1. If there are non-critical compatibility issues, such as degraded or unsupported features that do not block the migration to a specific target deployment type, the readiness is marked as **Ready with conditions** (hyperlinked) with **warning** details and recommended remediation guidance. |
| 110 | + 1. If there are any compatibility issues that may block the migration to a specific target deployment type, the readiness is marked as **Not ready** with **issue** details and recommended remediation guidance. |
| 111 | + 1. If the discovery is still in progress or there are any discovery issues for a web app, the readiness is marked as **Unknown** as the assessment could not compute the readiness for that web app. |
| 112 | +1. Review the recommended SKU for the web apps, which is determined as per the matrix below: |
| 113 | + |
| 114 | + **Isolation required** | **Reserved instance** | **App Service plan/ SKU** |
| 115 | + --- | --- | --- |
| 116 | + Yes | Yes | I1 |
| 117 | + Yes | No | I1 |
| 118 | + No | Yes | P1v3 |
| 119 | + No | No | P1v2 |
| 120 | + |
| 121 | + **Azure App Service readiness** | **Determine App Service SKU** | **Determine Cost estimates** |
| 122 | + --- | --- | --- |
| 123 | + Ready | Yes | Yes |
| 124 | + Ready with conditions | Yes | Yes |
| 125 | + Not ready | No | No |
| 126 | + Unknown | No | No |
| 127 | + |
| 128 | +1. Select the App Service plan link in the Azure App Service readiness table to see the App Service plan details such as compute resources and other web apps that are part of the same plan. |
| 129 | + |
| 130 | +### Review cost estimates |
| 131 | + |
| 132 | +The assessment summary shows the estimated monthly costs for hosting you web apps in App Service. In App Service, you pay charges per App Service plan and not per web app. One or more apps can be configured to run on the same computing resources (or in the same App Service plan). The apps that you add into this App Service plan run on the compute resources defined by your App Service plan. |
| 133 | +To optimize cost, Azure Migrate assessment allocates multiple web apps to each recommended App Service plan. The number of web apps allocated to each plan instance is shown below. |
| 134 | + |
| 135 | +**App Service plan** | **Web apps per App Service plan** |
| 136 | +--- | --- |
| 137 | +I1 | 8 |
| 138 | +P1v2 | 8 |
| 139 | +P1v3 | 16 |
| 140 | + |
| 141 | +:::image type="content" source="./media/tutorial-assess-webapps/assessment-webapps-cost.png" alt-text="Cost details"::: |
| 142 | + |
| 143 | +## Next steps |
| 144 | + |
| 145 | +- Learn how to [perform at-scale agentless migration of ASP.NET web apps to Azure App Service](./tutorial-migrate-webapps.md). |
| 146 | +- [Learn more](concepts-azure-webapps-assessment-calculation.md) about how Azure App Service assessments are calculated. |
0 commit comments