Optimize and transform
Now that you have migrated your services to Azure, the next phase includes reviewing the solution for possible areas of optimization. This could include reviewing the design of the solution, right-sizing the services, and analyzing costs.
This phase is also an opportunity to optimize your environment and perform possible transformations of the environment. For example, you may have performed a "rehost" migration, and now that your services are running on Azure you can revisit the solutions configuration or consumed services, and possibly perform some "refactoring" to modernize and increase the functionality of your solution.
All Azure services that provide a consumption-based cost model can be resized through the Azure portal, CLI, or PowerShell. The first step in correctly sizing a service is to review its usage metrics. The Azure Monitor service provides access to these metrics. You may need to configure the collection of the metrics for the service you are analyzing, and allow an appropriate time to collect meaningful data based on your workload patterns.
- Go to Monitor.
- Select Metrics and configure the chart to show the metrics for the service to analyze.
The following are some common services that you can resize.
Resize a Virtual Machine
Azure Migrate performs a right-sizing analysis as part of its premigration assessment phase, and virtual machines migrated using this tool will likely already be sized based on your premigration requirements.
However, for virtual machines created or migrated using other methods, or in cases where your post-migration virtual machine requirements need adjustment, you may want to further refine your virtual machine sizing.
- Go to Virtual machines.
- Select the desired virtual machine from the list.
- Select Size and the desired new size from the list. You may need to adjust the filters to find the size you need.
- Select Resize.
Note that resizing production virtual machines has the potential to cause service disruptions. Try to apply the correct sizing for your VMs before you promote them to production.
- Manage Reservations for Azure resources
- Resize a Windows VM
- Resize a Linux virtual machine using Azure CLI
Partners can use the Partner Center to review the usage.
Resize a storage account
- Go to Storage accounts.
- Select the desired storage account.
- Select Configure and adjust the properties of the storage account to match your requirements.
- Select Save.
Resize a SQL Database
- Go to either SQL databases, or SQL servers and then select the server.
- Select the desired database.
- Select Configure and the desired new service tier size.
- Select Apply.