How do I decide the number of Cloud Workload Assurance (CWA) licenses that I should buy for the Azure subscriptions of my organization?
Symantec Cloud Workload Assurance (CWA) lets you adopt a prepaid or postpaid licensing model. Each Azure subscription requires a minimum of one CWA license. For either of the pricing models, the number of resources that an account can monitor is 500.
So, the count of licenses can be calculated as: number of resources monitored
500
For example, if you have an Azure subscription with 600 resources, you require 2 CWA licenses. Similarly, if you have 2 Azure subscriptions having 300 resources in each subscription, you require 2 CWA licenses.
Symantec Cloud Workload Assurance provides a python script to enable you to calculate the Azure resource count and thereby the required CWA license count.
Note: It is important to understand that the python script provided by CWA, does not make any changes to your Azure environment, it merely fetches the required data from the Azure services using Get APIs.
Refer to the CWA documentation for a list of Supported Azure services.
The Azure_license_count.zip consists of the following files:
AzureResourceCount.py with input file <AccountDetails.csv>
Note: You can specify multiple subscriptions for one Azure account in the AccountDetails.csv fie.
Following is a sample output that is generated by the python script:
*********************Overall resource count for all subscriptions mentioned in AccountDetails.csv**********************************************
Count of Activity log alert : 18
Count of Key Vaults : 6
Count of Network Watchers : 24
Count of Security Policies : 25
Count of SQL databases : 6
Count of SQL servers : 3
Count of Storage Accounts : 15
Count of Log Profiles : 1
Count of Subnets : 6
Count of Virtual Networks : 6
Count of Virtual Machines : 5
*******************************************************************************
Total Count of all Resources : 115
Total License Count for all Subscriptions : 1
*******************************************************************************