This repository contains utilities and scripts to help on using BigAnimal
The below software utilities are required to be installed on the machine where the scripts provided in this repository are used:
- jq
- azure cli v2.26 or above (if runs against Azure)
- aws-cli v.2.3.0 or above (if runs against AWS)
- BASH AWS preflight scripts require BASH 4 or newer the default in macOS is 3.x
All 4 of these can be installed using the guides noted at the end of this dock or using homebrew.
biganimal-csp-preflight is a script used to check the Azure subscription readiness for running the BigAnimal by:
- if your any of your Azure provider has not been registered
- if the virtual-machine SKU in the given region has any restriction
- if the Azure resource quota in your Azure subscription can meet the requirement of the BigAnimal
It calls to Azure CLI and queries some specific resource types and check if there is still available resources can be allocated for the dedicated use by BigAnimal.
biganimal-csp-setup is a script used to create a SPN with enough permissions. The output can be used in BigAnimal Signup page.
biganimal-csp-preflight is a script used to check the AWS account readiness for running the BigAnimal by checking:
- if the AWS CLI is correctly configured
- if the AWS service quota in your AWS account can meet the requirement of BigAnimal
It uses the AWS CLI and queries for some specific resource types checking if there are available resources that can be allocated for the usage requirement of BigAnimal.
biganimal-csp-setup is a script used to create an IAM policy and an IAM role with enough permissions. The script will create a "ba-passport.json" file that can be used by the BigAnimal CLI to connect your AWS account with your BigAnimal account. You can find an easy readable version (pretty print) of both the IAM policy and the IAM Trust Policy applied to the created IAM role here: biganimal_AWS_basepolicy.json biganimal_AWS_trustpolicy
!!! Deprecated, please use BigAnimal Access Key instead. get-token.sh is a script to obtain a token for accessing the BigAnimal API.
For more details about BigAnimal API, please refer to Using the BigAnimal API