Aaron Fujimotoaaronfujimoto.hashnode.dev·May 27, 2023Identifying your Cloud Provider within a Virtual MachineBelow is a simple bash script that can be run to identify if the script exists within an AWS, Azure, Google Cloud, or Oracle Cloud Virtual Machine. Bash Script #!/usr/bin/env bash set -e pipefail function getCloudProvider() { if curl --fail -s -m ...156 readsAWSAdd a thoughtful commentNo comments yetBe the first to start the conversation.