Skip to main content

Creating a Network Security Group

Follow these steps to create a network security group (NSG) in the Azure portal when you are connecting your Azure account to Dremio Cloud or adding a project to an organization.


The usage of a NSG is optional, but recommended, for Dremio Cloud on Azure.

  1. Log in to the Azure portal.

  2. Search for "Network security groups" and select the Network security groups service in the search results.

  3. Click Create in the top left.

  4. On the Basics tab, complete the following:

    a. For Subscription, select the appropriate subscription from the dropdown.

    b. For Resource Group, select the appropriate resource group from the dropdown.

    c. For Name, enter a name for your virtual network.

    d. For Region, select the region for your NSG.

    e. Click Next : Tags.

  5. On the Tags tab, complete the following:

    a. (Optional) For Name, enter a tag name for your resource group.

    b. (Optional) For Value, enter a value to help search and filter your resources or track your Azure costs.

    c. Click Next : Review + create.

  6. On the Review + create tab, click Create.

Azure CLI

The NSG can also be created through the Azure CLI. The following instructions are for using Azure CLI, depending on if you want to create a new NSG or add a rule to an existing NSG.

Create a NSG

#example resource group name given
az network nsg create -g dremiocloudresourcegroup -n dremio-cloud-nsg

Add a Rule to an Existing NSG

#example resource group and NSG names given
az network nsg rule create -g dremiocloudresourcegroup --nsg-name dremio-cloud-nsg -n InternetAccess443 --priority 120 --source-address-prefixes VirtualNetwork --destination-address-prefixes Internet --destination-port-ranges '443' --direction Outbound --access Allow --protocol Tcp --description "Allow VirtualNetwork to Internet"

For more examples, see az network nsg rule create.

Additional Information