Release workloads (test, optimize, and handoff)

Now that you have migrated your services to Azure, the next phase includes reviewing the solution for possible areas of optimization. This effort 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.

The remainder of this article focuses on tools for optimizing the migrated workload. When the proper balance between performance and cost has been reached, a workload is ready to be promoted to production. For guidance on promotion options, see the process improvement articles on optimize and promote.

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're 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 pre-migration assessment phase, and virtual machines migrated with this tool will likely already be sized based on your pre-migration 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.

Resizing production virtual machines can 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, then select the server.
  2. Select the desired database.
  3. Select Configure and the desired new service tier size.
  4. Select Apply.