You can add and protect Microsoft Azure virtual machines by connecting a Microsoft Azure account to Workload Security. Virtual machines appear on the Computers page, where you can manage them like any other computer.
Topics in this section:
- Add virtual machines from a Microsoft Azure account to Workload Security
- Manage Azure classic virtual machines with the Azure Resource Manager connector
- Remove an Azure account
- Synchronize an Azure account
The benefits of adding an Azure account (through Workload Security > Computers > Add Azure Account) instead of adding individual Azure virtual machines (through Workload Security > Computers > Add Computer), are:
- Changes in your Azure virtual machine inventory are automatically reflected in Workload Security. For example, if you delete a number of instances in Azure, those instances disappear automatically from the Workload Security console. By contrast, if you use Computers > Add Computer, Azure instances that are deleted from Azure remain visible in the Workload Security console until they are manually deleted.
- Virtual machines are organized into their own branch in the Workload Security console, which lets you easily see which Azure instances are protected and which are not. Without the Azure account, all your virtual machines appear at the same root level under Computers.
Add your Microsoft Azure account to Workload Security following the instructions below.
- Before you begin, create an Azure app for Workload Security.
- In the Workload Security console, go to Computers > Add > Add Azure Account.
- Enter a Display name, and then enter the following Azure access information you recorded in step 1:
- Active Directory ID
- Subscription ID
- Application ID
- Application Password
If you are upgrading from the Azure classic connector to the Azure Resource Manager connector, the Display name and the Subscription ID of the existing connector will be used.
If you have multiple Azure subscriptions, specify only one in the Subscription ID field. You can add the rest later.
- Click Next.
- Review the summary information, and then click Finish.
- Repeat this procedure for each Azure subscription, specifying a different Subscription ID each time.
The Azure virtual machines will appear in the Workload Security console under their own branch on the Computers page.
You can right-click your Azure account name and select Synchronize Now to see the latest set of Azure VMs.
You will see all the virtual machines in the account. If you'd like to only see certain virtual machines, use smart folders to limit your results. See Group computers dynamically with smart folders for more information.
You can also manage virtual machines that were added with the Azure classic connector with the Azure Resource Manager connector, allowing you to manage both your Azure classic and Azure Resource Manager virtual machines with a single connector.
For more information, see Why should I upgrade to the new Azure Resource Manager connection functionality?
- On the Computers page, in the Computers tree, right-click the Azure classic portal and then click Properties.
- Click Enable Resource Manager connection.
- Click Next. Follow the corresponding procedure above.
Removing an Azure account from the Workload Security console permanently removes the account from Workload Security but it does not affect the Azure account. Virtual machines with Deep Security Agents will continue to be protected, but will not receive security updates. If you later import these virtual machines from the same Azure account, the Deep Security Agents will download the latest security updates at the next scheduled update.
- Go to the Computers page, right-click on the Microsoft Azure account in the navigation panel, and select Remove Cloud Account.
- Confirm that you want to remove the account.
- The account is removed from the Workload Security console.
When you synchronize (sync) an Azure account, Workload Security connects to the Azure API to obtain and display the latest set of Azure VMs.
To force a sync immediately:
- In the Workload Security console, click Computers.
- On the left, right-click your Azure account and select Synchronize Now.
There is also a background sync that occurs every 10 minutes, and this interval is not configurable. If you force a sync, the background sync is unaffected and continues to occur according to its original schedule.