PyraCloud Utilization helps you track usage of your cloud resources. This enables you to determine whether certain resource need to be de-allocated or resized.
To view resource utilization navigate to Analyze in the main navigation bar and click Utilization:
This will open the utilization page and by default you will see three main sections:
- Search Bar
- Resource types selector
- List of resources
You can search by relevant resource properties and additionally, you can filter resources by recommendations (if applicable). For example, you can review all resources recommended for “shutdown” and see if utilization is low.
Resource Type Selector
Utilization currently support two resource types:
- Virtual Machines (that includes Azure scale sets)
- Storage accounts
Utilization supports both Azure and Amazon resource in one single unified view.
List of Resource
On the main page you will see a table with a list of your cloud resources with the main metric selected – for Virtual Machines it is Average CPU, and for Storage Accounts it is Capacity.
The table can be sorted by “all visible columns” so you can optimize your analysis.
The core feature of utilization is plotting metrics. You can navigate to details by clicking “View” on the list.
The page contains four main areas:
- Resource Basic Information
- Date Range Selector
- Metric Selector
- Chart Area
Resource Basic Information
Currently there are two types of selectors – 30 days and 7 days (older data is automatically removed).
In “30 days” mode you see a daily aggregation chart (4) and in “7 days” chart you see hourly aggregation.
This drop down allows you to view available metrics. The module currently support CPU and network traffic for Virtual Machines, and Capacity and Counters for storage accounts.
After selecting, the metric chart is adjusted automatically.
As well as plotting metrics data, the chart can also present scale set resources, so you can analyze multiple nodes running on scale set.
By clicking on the legend (1) you can show / hide scale set nodes.
The utilization module supports custom alerts, so you can setup notifications based on the low utilization of your machines, or over utilization of your storage accounts.
To create alerts, complete your search and then select the Create Alert button.
By default, the alert modal appears with Virtual Machine (CPU) notifications. You can configure notifications to be alerted if machine utilization (from your search criterial) drops bellow (10%, 20% or a custom percentage).
You can also configure alerts based on capacity of the storage accounts. If it grows above a defined threshold you will then be notified.
Configuring AWS Access
If the utilization module is not able to pull utilization metrics, you will see the below popup message:
Utilization uses CloudWatch to pull metrics. If you see the above message, it means CloudWatch was not assigned to PyraCloudRole.
To fix this, open the AWS Console and navigate to IAM.
Then locate PyraCloudRole:
In the role, open PyraCloud ReadOnlyPolicy.
Then click Edit policy.
Next, switch to JSON view.
In the editor please add “cloudwatch:GetMetricStatistics” and click Review on the bottom of the page.
In the review summary you should see CloudWatch permission on the list.
If everything is ok, click Save Changes.
Utilization synchronizes data every hour, so on the next sync your utilization metrics should be synchronized with PyraCloud.