You can change the size of a Windows Azure virtual machine by using either the Windows Azure Management Portal or PowerShell commands. The size of a virtual machine determines the number of CPU cores, the memory capacity, and the local file system size that is allocated to a running instance. For more information, see Virtual Machine and Cloud Service Sizes for Windows Azure.
For a virtual machine that runs Microsoft Dynamics NAV, we recommend that you choose the Small size.
To change the size of a virtual machine by using the Windows Azure Management Portal
Sign in to the Windows Azure Management Portal.
Choose VIRTUAL MACHINES, and then choose the virtual machine for which you want to change the size.
Choose the CONFIGURE tab. In the VIRTUAL MACHINE SIZE drop-down box, select from the following sizes:
- Extra Small (Shared core, 768 MB Memory)
- Small (1 core, 1.75 GB Memory)
- Medium (2 cores, 3.5 GB Memory)
- Large (4 cores, 7 GB Memory)
- Extra Large (8 cores, 14 GB Memory)
- A6 (4 cores, 28 GB Memory)
- A7 (8 cores, 56 GB Memory)
- Extra Small (Shared core, 768 MB Memory)
Choose the SAVE command.
To change the size of a virtual machine by using a PowerShell script
Create a PowerShell script with the following commands.
Copy Code Function HowTo-SetAzureVMSize{ [CmdletBinding()] param( [parameter(Mandatory=$true)] [string]$ServiceName, [parameter(Mandatory=$false)] [ValidateNotNullOrEmpty()] [string]$Name=$ServiceName, [parameter(Mandatory=$true)] [string]$VMSize ) PROCESS{ Get-AzureVM -ServiceName $ServiceName -Name $Name | Set-AzureVMSize $VMSize | Update-AzureVM } } HowTo-SetAzureVMSize -ServiceName "<your-vm>" -VMSize "Small"
Change the value of <your-vm> to the name of your virtual machine.
Change the value of the VMSize parameter to the size that you want. The value must be one of the following:
-
ExtraSmall
-
Small
-
Medium
-
Large
-
ExtraLarge
-
A6
-
A7
-
ExtraSmall
Save and run the script. For more information about how to run PowerShell scripts, see Running Scripts.
See Also
Tasks
How to: Add a Microsoft Dynamics NAV Web Server InstanceHow to: Add a Microsoft Dynamics NAV Server Instance
How to: Add a Microsoft Dynamics NAV Database
How to: Add a Microsoft Dynamics NAV Company
Concepts
Scaling the Microsoft Dynamics NAV Network Topology on Windows AzureNetwork Topologies for Microsoft Dynamics NAV on Azure
Deploying and Managing Microsoft Dynamics NAV 2013 on Windows Azure
Deploying Microsoft Dynamics NAV Using the Example Scripts