# Azure cloud deployment instructions

This page includes instructions on managing the BAS Azure infrastructure for the BAS Azure cloud deployment. By deploying BAS Azure infrastructure, you will be able to execute Azure-specific plays that expand coverage of your detective control testing to include your Azure environment.

# Requirements

NetSPI recommends using at least two Azure subscriptions for the BAS deployment. One subscription should be dedicated to hosting the BAS cloud deployment infrastructure and at least one other to be used as the target subscription for the actions the BAS plays perform.

You will need to provide the following information to configure the deployment:

  • Azure Tenant: Tenant ID that BAS plays will target
  • Subscription: Subscription ID that BAS plays will target within the given tenant
  • Resource Group: Name of the resource group that BAS plays will target within the given subscription
  • Location: Azure location of the provided resource group

The values provided will be the default settings for plays run with the cloud deployment you are setting up.

# Deployment

You can deploy as many instances of infrastructure into your environment as you'd like. It is a common pattern to deploy a set of infrastructure for each subscription you intend to test.

  1. Navigate to BAS -> Agents and Deployments in the NetSPI Platform's left navigation.

    Agent navigation

    This displays the Agents and Deployments page.

    Agent Page

  2. Select the Cloud Deployment drop-down list and then Deploy to Azure.

    Azure deployment

  3. Configure the Azure Cloud Deployment by providing the required settings:

    • Target Tenant
    • Target Subscription
    • Target Resource Group
    • Target Location

    Azure deployment settings

  4. Select Deploy to Azure and follow the remaining instructions in your tenant.

# Additional Configuration

TBD Script goes here with permission explanation.

# Removal

The Azure Cloud Deployment is persistent infrastructure deployed into your Azure tenant. When the infrastructure is no longer necessary, you can remove it through the NetSPI Platform.

  1. Navigate to BAS -> Agents and Deployments in the NetSPI Platform's left navigation.

  2. Select 'Edit' on the Azure Cloud Deployment tile for the deployment you want to remove. A slide-out panel will be displayed.

    Azure deployment edit

  3. Select 'Clean up' at the bottom of the Cloud Deployment Settings slide-out panel.