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.

  1. Go to Monitor.
  2. 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.

  1. Go to Virtual machines.
  2. Select the desired virtual machine from the list.
  3. Select Size and the desired new size from the list. You may need to adjust the filters to find the size you need.
  4. 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.

Resize a storage account

  1. Go to Storage accounts.
  2. Select the desired storage account.
  3. Select Configure and adjust the properties of the storage account to match your requirements.
  4. Select Save.

Resize a SQL Database

  1. Go to either SQL databases, or SQL servers and then select the server.
  2. Select the desired database.
  3. Select Configure and the desired new service tier size.
  4. Select Apply.