List all regions really used on cloud

On AWS

Console

Using Tag Editor can clearly help find the regions

CLI

#!/bin/bash
for i in profile1 profile2
do
    OWNER_ID=`aws iam get-user --profile $i --output text | awk -F ':' '{print $5}'`
    tput setaf 2;echo "Profile : $i";tput sgr0
    tput setaf 2;echo "OwnerID : $OWNER_ID";tput sgr0
    for region in `aws --profile $i ec2  describe-regions --output text | cut -f4`
    do
        tput setaf 1;echo  "Listing Instances in region $region";tput sgr0
        aws ec2 describe-instances --query 'Reservations[*].Instances[*].[Tags[?Key==`Name`].Value , InstanceId]' --profile $i --region $region --output text
    done &
done
wait

On GCP

#!/bin/bash
for project in  $(gcloud projects list --format="value(projectId)" --filter="-projectId=(sys*)")
do
  echo "ProjectId:  $project"
  API=$(gcloud services list --filter="name:(compute.googleapis.com)" --format="value(config.name)" --enabled --project $project)
  if [ ! -z "$API" ]; then
  #gcloud compute regions list --flatten="quotas[]" --filter="quotas.metric=(CPUS) AND quotas.usage>0" --format="value(name)" --project $project
    gcloud compute regions list --filter="quotas.usage>0" --project $project
  fi
done