Set up for Azure Rightsizing with our platform is a three-stage process. First, enable utilization metrics collection for all subscriptions, if you have not done so already. Second, permit Cloudability to access the utilization metrics. Third, permit Cloudability to access resource information needed to build the Rightsizing model.
Note that set up is for Beta customers only. Please contact your Technical Account Manager or firstname.lastname@example.org to express interest in joining the limited Beta program.
Stage 2: Enable access to utilization metrics
Once utilization metrics collection is set up and Cloudability has permission to read the utilization data, we will need to access resource information, including VM and disk information as well as rate and usage cards. We obtain this information by accessing Azure APIs, using an Active Directory Application/Service Principal that you create in your environment.
This Application requires read-only access to the following Azure APIs:
- Allows access to Compute/VM information (VM type, CPUs, attached storage, attached NICs etc)
- Allows us to access additional resources metrics data. See the list of metrics in the Microsoft documentation.
- Allows access to your negotiated price list which we use in estimating future costs of resources recommended by the rightsizing models.
- Allows access to the billed usage details. We use this to build the cost of exiting resources to used as input to the rightsizing models.
We have provided a PowerShell script here that will create an Application/Service Principal and assign it a built-in "Reader" role that has access to the required Azure APIs.
Run the PowerShell script to accomplish the setup. The script performs the following actions.