The A10-vThunder-VNET-SUBNET-NSG template is used to create a new virtual network (VNET), three new subnets, and two new network security group (NSGs) in the specified resource group.
It is not mandatory to create new resources, the existing resources can be used in deployment and configuration.
Before deploying this template, it is recommended to review the Prerequisites.
There are two ways to deploy this template:
To deploy the A10-vThunder-VNET-SUBNET-NSG template using Azure Portal Console, perform the following steps:
Download A10-vThunder-VNET-SUBNET-NSG template.
From the Azure Portal > Azure services, click Deploy a custom template.
Figure 222 : Azure services
Under the Custom deployment window > Select a template tab, click Build your own template in the editor.
Figure 223 : Custom deployment window
From the Edit template window, perform either of the following step:
Figure 224 : Edit template window
Click Save.
The Custom deployment window is displayed with the template parameters and default values.
Select an existing or create a new Resource group under which you want to deploy the custom template resources.
NOTE: | Hover i for description of each corresponding parameter. |
Update the default values and provide the values in the empty fields as appropriate in the Instance details section shown in Figure 225.
Click Review+create.
The validation appears.
Click Create.
NOTE: | It may take the system several minutes to display your resources. |
Figure 226 : Resource listing under Virtual Network
To deploy the A10-vThunder-VNET-SUBNET-NSG template using Azure CLI commands, perform the following steps:
Download A10-vThunder-VNET-SUBNET-NSG template.
NOTE: | This template contains pre-populated default values that can be modified as required and it does not create new virtual network, network security group, subnets, and Public IP. |
Configure the following parameters depending upon your requirements:
Resource Name |
Description |
---|---|
Virtual Network |
Specify the virtual network name for virtual machines.
|
Virtual Network CIDR |
Specify the CIDR range for the virtual network. "Virtual Network CIDR": { "value": [ "10.0.0.0/16" ] }, |
Subnets |
Specify the subnet name for inbound management traffic, inbound data traffic, and outbound data traffic. "SubnetManagement": { "value": "subnet-mgmt" }, "SubnetDataIn": { "value": "subnet-data-in" }, "SubnetDataOut": { "value": "subnet-data-out" |
Subnets CIDR |
Specify the CIDR range for management, datain, and datout subnets.
|
Network Security Groups |
Specify the network security group name for all the NICs.
|
NOTE: | The Virtual Network (VNet), Subnets, Network Security Group (NSG), and Public IP Address should be deployed in the same resource group. |
Run the following command to create an Azure resource group:
PS C:\Users\TestUser\Templates> az group create --name <resource_group_name> --location "<location_name>"
Example:
PS C:\Users\TestUser\Templates> az group create --name vth-rg1 --location "south central us"
{ "id": "/subscriptions/xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx/resourceGroups/vth-rg1", "location": "southcentralus", "managedBy": null, "name": "vth-rg1", "properties": { "provisioningState": "Succeeded" }, "tags": null, "type": "Microsoft.Resources/resourceGroups" }
Run the following command to create an Azure deployment group.
PS C:\Users\TestUser\Templates> az deployment group create -g <resource_group_name> --template-file <template_name> --parameters <param_template_name>
Example:
PS C:\Users\TestUser\Templates> az deployment group create -g vth-rg1 --template-file ARM_TMPL_VNET_SUBNET_NSG.json--parameters ARM_TMPL_VNET_SUBNET_NSG_PARAM.json
Here, vth-rg1
resource group is used.
Figure 227 : Resource listing under Resource Group
Figure 228 : Resource listing under Virtual Network