Symantec Cloud Workload Assurance (CWA) lets you adopt a prepaid or postpaid licensing model. Each AWS account 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 AWS account with 600 resources, you require 2 CWA licenses. Similarly, if you have 2 AWS accounts with 300 resources and 350 resources respectively in each account, you require 2 CWA licenses.
Symantec Cloud Workload Assurance provides a python script to enable you to calculate the AWS 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 AWS environment, it merely fetches the required data from the AWS services using Get APIs.
Refer to the CWA documentation for a list of Supported AWS services.
The AWS_license_count.zip consists of the following files:
GetAwsAccountsCount.py with input file <AccountDetails.csv>
Note: You can specify multiple subscriptions for one AWS 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
*******************************************************************************