Skip to content

CrowdStrike/cloud-resource-estimator

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

CrowdStrike Falcon Twitter URL

CrowdStrike CWP / Horizon Benchmark Utilities

These utilities have been developed to assist you in calculating the overall size of a cloud deployment.

Running an audit

The benchmark.sh entrypoint script helps you to perform sizing calculations for your cloud resources. It detects the cloud provider (AWS, Azure, or GCP) and downloads the necessary scripts to perform the calculation. You can also pass one or more cloud providers as arguments.

Configuration:

The script recognizes the following environmental variables:

  • AWS_ASSUME_ROLE_NAME: The name of the AWS role to assume (optional)

To use, please export the variable in your environment prior to running the script:

export ENV_VARIABLE="Example-Value"

Usage:

./benchmark.sh [aws|azure|gcp]...

Below are two different ways to execute the script.

In Cloud Shell

To execute the script in your environment using Cloud Shell, follow the appropriate guide based on your cloud provider:

In your Local Environment

For those who prefer to run the script locally, or would like to run the script against more than one cloud provider at a time, follow the instructions below:

Requirements

  • Python 3
  • pip
  • curl
  • Approprate cloud provider CLI (AWS, Azure, GCP)

Steps

  1. Download the script:

    curl -O https://raw.githubusercontent.com/CrowdStrike/cloud-resource-estimator/main/benchmark.sh
  2. Set execution permissions:

    chmod +x benchmark.sh
  3. Example: Run the script against AWS and Azure:

    ./benchmark.sh aws azure

Alternatively, you can run the script directly from the URL:

  • Run the script against AWS and Azure:

    curl https://raw.githubusercontent.com/CrowdStrike/cloud-resource-estimator/main/benchmark.sh | bash -s -- aws azure
  • Run the script and let it determine the available cloud providers:

    curl https://raw.githubusercontent.com/CrowdStrike/cloud-resource-estimator/main/benchmark.sh | bash

Development

Please review our Developer Guide for more information on how to contribute to this project.

License

These scripts are provided to the community, for free, under the Unlicense license. As such, these scripts carry no formal support, express or implied.

Questions?

Please review our Code of Conduct and then submit an issue or pull request. We will address the issue as quickly as possible.