Help us improve your experience.

Let us know what you think.

Do you have time for a two-minute survey?

 
 

Before You Deploy vSRX Virtual Firewall Using the Azure CLI

Starting in Junos OS Release 15.1X49-D80 and Junos OS Release 17.3R1, you can deploy the vSRX Virtual Firewall from the Azure CLI and customize the vSRX Virtual Firewall VM deployment settings and dependencies based on your network requirements in Microsoft Azure Cloud.

To help automate and simplify the deployment of the vSRX Virtual Firewall in the Microsoft Azure virtual network, Juniper Networks provides a series of scripts, Azure Resource Manager (ARM) templates and parameter files, and configuration files in the GitHub repository https://github.com/Juniper/vSRX-Azure. The ARM template includes resource parameters that enable you to customize your vSRX Virtual Firewall VM deployment, such as login credentials, network interfaces, and storage container name. The template consists of JavaScript Object Notation (JSON) expressions for your vSRX Virtual Firewall deployment.

The vSRX Virtual Firewall deployment files in the GitHub repository include:

  • The deploy-azure-vsrx.sh shell script to automate the deployment and configuration of the vSRX Virtual Firewall virtual machine (VM).

  • The vsrx.json template file to define the components of the Azure resource group and virtual hardware settings (VM size, interface number and network) of the vSRX Virtual Firewall VM.

  • The vsrx.parameters.json parameter file to identify the network interface parameters used to deploy the vSRX Virtual Firewall VMin Azure.

Before you deploy the vSRX Virtual Firewall virtual security appliance from the Azure CLI:

  • Review the requirements for deploying a vSRX Virtual Firewall VM in Microsoft Azure Cloud in Requirements for vSRX on Microsoft Azure.

  • Obtain an account for and a subscription to Microsoft Azure (see Microsoft Azure).

  • From the Azure portal, you must first manually deploy the vSRX Virtual Firewall image (only once) by using either the vSRX Next Generation Firewall (BYOL) or the vSRX Next Generation Firewall (PAYG) SKU to accept the EULA terms. This is a requirement before you can deploy the vSRX Virtual Firewall image from the Azure CLI. By default, the Azure portal deployment tool uses vSRX Next Generation Firewall (BYOL) SKU as the source image. Use your Microsoft account username and password to log into the Microsoft Azure portal.

    Note:

    You will encounter a MarketplacePurchaseEligibilityFailed error if do not first accept the EULA terms for the vSRX Virtual Firewall image in the Azure portal before attempting to deploy the vSRX Virtual Firewall image from the Azure CLI.

  • Install Azure command line interface (Azure CLI) 1.0 and enable Azure Resource Management (ARM) mode (see Install the Azure CLI).

    Note:

    The vSRX Virtual Firewall for Azure deployment shell script deploy-azure-vsrx.sh is written in shell and Azure CLI version 1.0 commands and does not support Azure CLI version 2.0.

  • Purchase a vSRX Virtual Firewall license or request an evaluation license. Licenses can be procured from the Juniper Networks License Management System (LMS).

Note:

Deployment of vSRX Virtual Firewall to Microsoft Azure does not support the use of the Azure CLI from Microsoft Windows. This is because the deploy-azure-vSRX Virtual Firewall.sh shell script that is used as part of the deployment procedure can be run only from the Linux or Mac OS CLI.

When you deploy a vSRX Virtual Firewall VM in an Azure virtual network, note the following specifics of the deployment configuration:

vSRX Virtual Firewall deployment from the Azure CLI is described in detail in Deploy vSRX from the Azure CLI.

Change History Table

Feature support is determined by the platform and release you are using. Use Feature Explorer to determine if a feature is supported on your platform.

Release
Description
15.1X49-D80
Starting in Junos OS Release 15.1X49-D80 and Junos OS Release 17.3R1, you can deploy the vSRX Virtual Firewall from the Azure CLI and customize the vSRX Virtual Firewall VM deployment settings and dependencies based on your network requirements in Microsoft Azure Cloud.