SonicWall NSv is deployed on Azure by using a solution template. The template is a JSON file, which is loaded into Azure through a web page. Templates are a means to deploy virtual machines in Azure while also creating/modifying existing resources. Templates use the Azure Resource managers to support not just the deployment of the NSv but also of other virtualized network functions.
This section details two deployment procedures:
To install from Azure Marketplace
In your browser, navigate to https://portal.azure.com/ and log in to your Microsoft Azure account.
Navigate to SonicWall NSv on Azure Marketplace at https://azuremarketplace.microsoft.com/en-us/marketplace/apps/sonicwall-inc.sonicwall-nsv-firewall-security-vpn-router, click GET IT NOW, and then click Continue to display the SonicWall NSv (Firewall/Security/VPN/Router)-BYOL page.
On the SonicWall NSv (Firewall/Security/VPN/Router)-BYOL page, click Create to get started.
The Basics tab of the NSv configuration window displays.
Under Project Details, configure the following options:
Resource group – Create new or select an existing resource group from the list.
A resource group is a user defined friendly name for a collection of resources. If you are deploying on Azure for the first time, click Create new. If you already have a network configured and some virtual machines, then you might wish to use an existing resource group. If you are deploying for test purposes, consider creating a new resource group so you can easily delete the resources, if needed.
Under Instance details, do the following:
VM Name – Type in a descriptive name for this NSv instance. Consider using lowercase letters, numbers and hyphens, as this name is used to create the default DNS Prefix, which has some restrictions. You can, however, adjust the DNS Prefix as needed.

Click Next to continue.
The Instance Details screen displays.
Select Virtual machine size,displays the NSv model you want to deploy. Click Change size as per the requirements.
| Virtual Machine Size in NSv | NSv Model |
|---|---|
| Standard_D2_v2 | NSv 270 |
| Standard_D3_v2 | NSv 470 |
| Standard_D4_v2 | NSv 870 |
Select Virtual Network to configure the virtual network. Create new under Choose virtual network is selected by default and the Create virtual network settings are displayed.
Under Create virtual network:
Name – This is the name of virtual network the NSv is deployed on. Leave the default, VNET.
Address space – The template default is 10.1.0.0/16. This is a network address in CIDR format representing the virtual network address space. Accept the default or optionally configure a different address space, using the same format.
Select Subnets to configure the subnets for the WAN and LAN zones.
WAN X1 subnet – A sub-network of the Address space configured in Step 7, defined for WAN traffic. For example, 10.5.0.0/24.
LAN X1 subnet – A sub-network of the Address space configured in Step 7, defined for LAN traffic. For example, 10.5.1.0/24.
Select Public IP Address.
Create new is selected by default and the Create public IP address settings are displayed. You also have the option to select an existing public IP address to reassign it for use with your NSv.
Under Create public IP address, accept the prepopulated name or type a different name into the Name field.
For SKU, select Basic or Standard. The default is Basic.
For Assignment (if displayed), select Dynamic or Static. The default is Dynamic.
In the DNS Prefix for the public IP Address field, configure the DNS name for the NSv. This must be a unique DNS name for accessing the management interface of the NSv virtual machine. When the NSv virtual machine is created, the WAN uses a public IP and is assigned the DNS name defined here.
In the Management source IP field, type in the public IP address that is allowed to access this NSv virtual machine for HTTPS and SSH management.
You can find out your public IP address by typing what is my IP into Google or another search engine in a different browser window/tab. Additional addresses can be added later in Azure.
Select Storage Account. Create new is selected by default, displaying the Create storage account settings. You also have the option to select an existing storage account.
For a new storage account, type in a unique Name for the storage account using only lowercase letters and numbers.
Select the desired options for Account kind, Performance, and Replication.
Click Next at the bottom of the Instance Details pane.
The Validation Passed screen displays.
Under Review+Create, click Create.
Azure begins the deployment process and displays the Azure Dashboard page.
You can click the Notifications icon at the top to display the Deployment in progress notification window, then click Deployment in progress to view the progress.
When finished, the notification window displays Deployment succeeded.
See Accessing Your NSv in the Azure Portal for more information about accessing the pages and settings for your NSv virtual machine available in the Azure portal.
The next step is to register your NSv virtual machine on MySonicWall. See Registering the NSv Virtual Machine with SonicOS for more information about registering your See Accessing Your NSv in the Azure Portal for more information about accessing the pages and settings for your NSv virtual machine available in the Azure portal.
After you have registered the NSv, see Forwarding Traffic to Your NSv for more information about accessing the pages and settings for your NSv virtual machine.
To Install from an Azure template
Templates are a means to deploy virtual machines in Azure while also creating/modifying exiting resources. There are a few different types of templates: Quick, Solution and Simple. The following is an example of a Simple template that creates resources and defines their interconnections.
Virtual Machine
Storage Group
Public IP
2 x Network Interfaces
Virtual Network
Network Security Policy
Deploying NSv by way of Templates
Log in to Azure.
Click to load the webpage: https://github.com/sonicwall/sonicwall-nsv-azure-templates
Under the Deploying heading, click Deploy to Azure.
The Custom deployment page appears:
Enter information to define the custom deployment:
Resource Group: The user-defined friendly name for a group of resources.
If you are deploying on a Azure for the first time, use "Create new," however, if you already have a network configured, and some virtual machines then you might wish to use an existing resource group. If you are deploying for test purposes, we suggest you create a new resource group so you can easily delete the resources later if needed.
Location: The region where you wish to deploy.
Storage Account: A new or existing storage account (we recommend you create a new storage account).
Storage Account Type: The type of storage account you wish to use or create.
Currently only “Standard_LRS” is recommended.
Storage Account New or Existing: Whether you wish to create or use an existing stage account.
VM Name: Name of the SonicWall-NSv VM in the Azure portal.
SSH User Name: The user name required to SSH into the NSv virtual machine.
This is not the NSv administrator’s user name, but rather a username created as part of an NSv deployment.
Authentication Type: Select either "password" or "sshPublicKey" as the authentication method.
SSH Password: The password for the previously mentioned SSH user.
Password must contain one non alpha-numeric character (such as !@#$%^&*()_+}{"|: >?<), one uppercase alphanumeric character and one numeric character.
SSH Key: Enter the SSH RSA public key file as a string.
Image Sku: The name of the Azure product to load.
Image Version: The version of the loaded NSv image.
Management Access IP Source: Public IP address allowed access SonicWall NSv HTTPS & SSH management.
NSv Model: Options include SonicWall-NSv model, NSv 270 VM size Standard_DS2_v2 or Standard_D2_v2, NSv 470 VM size Standard_DS3_v2 or Standard_D3_v2, NSv 870 VM size Standard_DS4_v2 or Standard_D4_v2, depending on the SKU selected.
Virtual Network New Or Existing: Determines whether or not a new virtual network should be provisioned.
Virtual Network Name: The name of the virtual network the NSv is deployed on.
If you have an existing network on Azure, and would like to install the NSv on this network then this field should be populated with the network name. For example, 192.168.0.0/26.
Virtual Network Address Prefix: The virtual network address CIDR or "Address space."
Virtual Network Resource Group Name: Name of the resource group for the existing virtual network.
Subnet WAN Name: The name of the WAN subnet.
If you have an existing network on Azure, you might want to change the default value or it can remain at the default.
Subnet LAN Name: The name of the LAN subnet.
If you have an existing network on Azure you might want to change the default value else it can remain at default.
Subnet WAN Prefix: A sub-network of the previous "Virtual Network Address Prefix" defined for WAN traffic, such as 192.168.2.0/24.
Subnet LAN Prefix: A sub-network of the previous "Virtual Network Address Prefix" defined for LAN traffic, such as 192.168.2.0/24.
Public IP New Or Existing: Determines whether or not a new public ip should be provisioned.
Public IP Name: Name of the public IP address.
Public IP DNS: DNS of the public IP address for the virtual machine.
Public IP Resource Group Name: Name of the resource group for the public IP address.
Public IP Allocation Method: Allocation method for the public IP address.
Public IP SKU: Name of the resource group for the public ip address.
The next step is to register your NSv virtual machine on MySonicWall. See Registering the NSv Virtual Machine with SonicOS for more information about registering your NSv.
After you have registered the NSv, see Forwarding Traffic to Your NSv and Testing Traffic Through Your NSv for more information about forwarding traffic to it.
A virtual machine is created, the WAN uses a public IP, this WAN IP is assigned a DNS name defined here.
After filling in all the values, click I agree to the terms and conditions stated above and then click Purchase to deploy the template and create the SonicWall NSv instance.
It takes approximately 10 minutes to deploy NSv respective resources. You can view the progress by clicking the icons indicated in the following image:
To connect to the SonicWall NSv management GUI click Virtual Machines from the left menu. Then select the NSv virtual machine name, in the overview section a public IP address is displayed, In the example that follows, that is http://40.76.216.87/.
Login with the default SonicWall credentials "admin/sonicwall."
Now continue with the following section,Accessing Your NSv in the Azure Portal, or go on to Installing NSv on Azure.