Getting Started with Azure in ControlUp
ControlUp provides out-of-the-box integration with your Azure environment into the Real-Time Console and Solve, making it easy to monitor and troubleshoot your Azure resources like virtual machines or logical disks. The following article explains the preparation steps that you need to start managing and troubleshooting your Azure environment with ControlUp. After you follow the steps in this article, you will be up and running with our new Azure integration, with practical understanding of how to configure the different ControlUp components.
To learn how to get started with Azure integration, watch our video.
- ControlUp version 8.6 or later.
- Set up machines to be Data Collectors for the Azure connection. Data Collectors make the API calls to your Azure tenant. We strongly recommend that you configure a maximum of 5 subscriptions per Data Collector to prevent overloading. Depending on the number and size of your subscriptions, you might need to set up multiple Data Collectors. Learn more about Data Collector machine requirements and Azure throttling limits.
- The Data Collector machines must have access to https://management.azure.com.
- An active Azure subscription. If you don't have a subscription yet, you need to create an Azure account here.
- If you have an Azure Enterprise Agreement, make sure to allow Account Owners and Department Administrators to view charges in your Azure subscription.
- Make sure the Microsoft.ResourceHealth provider is Registered for the Azure subscription you want to integrate with ControlUp.
Benefits of monitoring your Azure environment with ControlUp
- Easier management of your Azure resources
- A comprehensive view of your Azure costs
- Automating actions on your Azure resources
Which resources can we monitor?
We provide metrics for different Azure resources. You can monitor the following Azure resources in the Real-Time Console and Solve:
- Resource groups
- Virtual machines
- Virtual disks
- Azure Virtual Desktop (new in 8.8)
- Host Pools
- Session Hosts
- Application Groups
To take the first steps on your journey into the ControlUp integration with Azure, you need to create a Service Principal and generate a ClientID and Secret Key, which represent a username and password. Refer to Microsoft's official documentation to learn how to create a service principal. You need to provide the following information to connect ControlUp with Azure:
- Tenant ID
- Application ID
- Secret Key
Mandatory Roles for ControlUp
Make sure you assign the following roles or custom roles to all Service Principals you want to use for ControlUp:
- Virtual Machine Contributor. Necessary to perform actions on your Azure virtual machines.
If you are unable to use Azure's built-in roles, then create a custom role with these permissions and assign your service principal:
Learn more about assigning roles to a service principal in the official documentation.
Create the Azure Connection in ControlUp
After you have your Tenant ID, Application ID, and Client Secret, you can add the Azure connection to ControlUp.
To add a new Azure Cloud Connection:
- Open the Real-Time DX Console and click Add Cloud Connection
- In the Type field, select one of the following:
- Microsoft Azure to add an Azure Commercial Cloud.
- Microsoft Azure (Government) to add an Azure Government Cloud.
- Under Credentials, click the drop-down list and select <Add New Cloud Credentials...>
- Enter the Access Key (Application ID), Secret Key (Client Secret), and a Friendly Name that helps identify the shared credential. For tracking purposes, we recommend using the credential name as the Friendly Name. Click OK to confirm your input.
- After you add the credentials, you can see the Friendly Name with the Access Key (in parentheses) in the Credentials field.
Note: The credentials must be shared credentials. See Configuring Shared Credentials for more information about shared credentials.New in 8.8:For large environments, we recommend adding more than one Service Principal to the Credentials List. Find more information here.
- Under Tenant ID, enter the ID of your Azure Tenant.
- Click +Add to add a Data Collector for the cloud connection.
- In the Add data collection agent wizard, select a machine that you want to use as the Data Collector. Click OK to confirm the selection.
- The machine name appears and you can verify the Azure credentials by clicking Test Connection or the green checkbox that appears next to the Data Collector.
If the Data Collector establishes a successful connection to your Azure account, a green confirmation icon appears in the Status column.If the Data Collector fails to connect to your Azure account, a red icon is shown. Hover over the red icon to see the reason for the error. To continue, you need to fix the error.
- Optionally, add another machine to use as a backup Data Collector in case the primary Data Collector is down. Note that the first machine in the list is used as the primary Data Collector.
- Click OK. ControlUp checks how many subscriptions are associated with your Azure Tenant. The following popups are displayed based on the number of subscriptions:
1 subscription found:
2 or more subscriptions found:
The Subscriptions List tab shows all subscriptions in your Azure tenant.
- Select the checkbox next to the subscriptions you want to add. The Data Collector you added earlier is used to connect to the subscriptions you select. Follow these recommendations when adding subscriptions:
- Add a maximum of 5 subscriptions for each Data Collector. If you have large subscriptions (more than 100 virtual machines), you should distribute them across different Data Collectors to prevent overloading a single Data Collector.
- Add subscriptions one at a time and confirm that the data connection remains stable to all subscriptions, especially when adding large subscriptions. To do this, you'll have to follow this procedure again to add a new Cloud Connection and select a different subscription.
- Click OK to add the Cloud Connection with the subscriptions you selected. ControlUp automatically connects to the selected subscriptions and they are added to your organization tree:
You can view Resource Groups under a subscription by clicking the + button next to the subscription:
Azure Integration in Solve
In Solve, subscriptions, and resource groups are displayed in our new navigation hierarchy that you can find in the Discovery panel.
You can find more information about how Azure can be used in Solve in the Azure Integration: Solve article.
In the previous chapter, you added your Azure subscription to ControlUp. For now, this is enough to start monitoring your Azure resources with ControlUp. However, there are more configuration options that we want to explain in this section. Let's look at each configuration option to help you understand what additional options you have to configure ControlUp. Articles with more information are linked in the corresponding section.
Changing the Data Collection Intervals
ControlUp provides great granularity for aggregating data from your Azure environment. This enables you to refresh data in the Real-Time Console and Solve more frequently, and to benefit from a better real-time experience. You can define time intervals in seconds for which data is aggregated. Refer to the Azure Integration: Data Collection Intervals article to learn more about data collection intervals.
Displaying Azure Cost Types in ControlUp
You can make use of the different Azure cost types in the Real-Time Console and Solve to streamline your Azure cost management. To learn more about how to configure cost types, refer to the Azure Integration: Collecting Cost Metrics.