This script helps collect the necessary information to properly size a Cortex Cloud project. It automates the gathering of key metrics used to estimate resource consumption and licensing needs.
The script scans cloud or hybrid environments to identify resources in the following categories:
| Resource Type | Unit Equivalent |
|---|---|
| VMs not running containers | 1 VM |
| VMs running containers | 1 VM |
| CaaS | 10 Managed Containers |
| Serverless Functions | 25 Serverless Functions |
| Cloud Buckets | 10 Cloud Buckets |
| Managed Cloud Database (PaaS) | 2 PaaS Databases |
| DBaaS TB stored | 1 TB Stored |
| SaaS users | 10 SaaS Users |
| Cloud ASM - service | 4 Unmanaged Assets |
The collected data is used to estimate the capacity and licensing model required to deploy Cortex Cloud, making it easier to plan architecture and procurement.
- Python 3.x
- Access to the cloud resources to be analyzed (read-only permissions are sufficient in most cases)
- Start a Cloud Shell session from the CSP UI, which should have the CLI tool, your credentials,
gitandjqalready prepared - Clone this repository, e.g.
git clone https://github.com/davidaavilar/pcs-sizing.git cd pcs-sizingpip install -r requeriments.txt
python3 cc-sizing.py --awsfor AWS.python3 cc-sizing.py --azurefor Azure.python3 cc-sizing.py --gcpfor GCP.python3 cc-sizing.py --ocifor OCI.
DBaaS TB stored, SaaS users and Cloud ASM aren't ready.