How do I arrive at the Cloud Workload Assurance license count required for my Azure resources?
search cancel

How do I arrive at the Cloud Workload Assurance license count required for my Azure resources?

book

Article ID: 173495

calendar_today

Updated On:

Products

Cloud Workload Assurance

Issue/Introduction

How do I decide the number of Cloud Workload Assurance (CWA) licenses that I should buy for the Azure subscriptions of my organization?

Resolution

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.

Contents of the package

The Azure_license_count.zip consists of the following files:

  1. Requirements.txt
  2. AccountDetails.csv
  3. AzureResourceCount.py

 

Steps to implement the solution

  • You must meet the following prerequisites before you use the python script for calculating the Azure resource count and AWS license count:
    • Install Python 3.7
    • Install Azure module by running command: -r requirements.txt
    • Using PIP command, install azure-mgmt-network
    • Using PIP command, install azure-mgmt-monitor
  • Execute the following:

AzureResourceCount.py with input file <AccountDetails.csv>

Note: You can specify multiple subscriptions for one Azure account in the AccountDetails.csv fie.

Sample Output

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

*******************************************************************************

Attachments

Azure_license_count.zip get_app