brew install terraform awscli
brew tap azure/functions
brew install azure-functions-core-tools@4
# if upgrading on a machine that has 2.x or 3.x installed:
brew link --overwrite azure-functions-core-tools@4
brew install --cask google-cloud-sdk
cd ./bench
pip3 install -r requirements.txt
aws configure
gcloud auth login
az login
cd ./model
chmod +x ./model_download.sh
./model_download.sh
cd ../dataset
pip3 install -r requirements.txt
chmod +x ./dataset_download.sh
./dataset_download.sh
# Please modify build script (DOCKER_REGISTRY or DOCKER_REPOSITORY or BUCKET_NAME)
chmod +x ./<build/create script>
./<build/create script>
$vendor=""
cd ./bench/bench_$vendor_infra
# Please modify variables.tf (from variables.tf.sample)
terraform init
terraform apply
$vendor=""
$service=''
cd ./IaC/$vendor-$service-IaC
# Please modify variables.tf (from variables.tf.sample)
terraform init
terraform apply
git clone https://github.com/ddps-lab/serverless-container-performance-comparison.git
cd ./serverless-container-performance-comparison
pip3 install -r requirements.txt
# Please modify each variables.tf (from each variables.tf.sample)
python3 run_$service[_$api].py