diff --git a/README.md b/README.md index 1954b17..178a30a 100644 --- a/README.md +++ b/README.md @@ -60,6 +60,7 @@ Scripts will test speed and pings to the following data centers: **Amazon Web Services:** [(locations)](https://docs.aws.amazon.com/AmazonRDS/latest/UserGuide/Concepts.RegionsAndAvailabilityZones.html) - us-east-1 +- us-east-2 - us-west-1 - us-west-2 - ca-central-1 @@ -69,21 +70,27 @@ Scripts will test speed and pings to the following data centers: - eu-west-2 - eu-west-3 - ap-northeast-1 +- ap-northeast-2 +- ap-northeast-3 - ap-south-1 - ap-southeast-1 - ap-southeast-2 +- ap-east-1 - sa-east-1 +- me-south-1 **Google Cloud:** [(locations)](https://cloud.google.com/compute/docs/regions-zones/) - us-east1 - us-east4 - us-west1 +- us-west2 - us-central1 - northamerica-northeast1 - asia-east1 - asia-east2 - asia-northeast1 +- asia-northeast2 - asia-south1 - asia-southeast1 - australia-southeast1 @@ -92,6 +99,7 @@ Scripts will test speed and pings to the following data centers: - europe-west2 - europe-west3 - europe-west4 +- europe-west6 - southamerica-east1 **Vultr/Choopa:** [(locations)](https://www.vultr.com/locations/) diff --git a/ping.sh b/ping.sh index 947b3b8..523895b 100755 --- a/ping.sh +++ b/ping.sh @@ -18,7 +18,7 @@ done printf "\n\nAWS Ping Test:\n\n" -for DC in us-east-1 us-west-1 us-west-2 eu-north-1 ca-central-1 eu-central-1 eu-west-1 eu-west-2 ap-northeast-1 ap-south-1 ap-southeast-1 ap-southeast-2 sa-east-1 +for DC in us-east-1 us-east-2 us-west-1 us-west-2 eu-north-1 ca-central-1 eu-central-1 eu-west-1 eu-west-2 eu-west-3 eu-north-1 ap-east-1 ap-northeast-1 ap-northeast-2 ap-northeast-3 ap-south-1 ap-southeast-1 ap-southeast-2 sa-east-1 me-south-1 do printf "$DC: \t$(ping -i .2 -c 10 -q ec2.$DC.amazonaws.com | awk -F/ '/^round|^rtt/{print $5}') ms\n" | expand -t 20 done @@ -26,7 +26,7 @@ done printf "\n\nGCP Ping Test:\n\n" -for DC in us-east1 us-east4 us-west1 us-central1 northamerica-northeast1 asia-east1 asia-east2 asia-northeast1 asia-south1 asia-southeast1 australia-southeast1 europe-north1 europe-west1 europe-west2 europe-west3 europe-west4 southamerica-east1 +for DC in us-east1 us-east4 us-west1 us-west2-a us-central1 northamerica-northeast1 asia-east1 asia-east2 asia-northeast1 asia-northeast2 asia-south1 asia-southeast1 australia-southeast1 europe-north1 europe-west1 europe-west2 europe-west3 europe-west4 europe-west6 southamerica-east1 do printf "$DC: \t$(ping -i .2 -c 10 -q $DC-gce.cloudharmony.net | awk -F/ '/^round|^rtt/{print $5}') ms\n" | expand -t 20 done diff --git a/speed.sh b/speed.sh index 8d80f49..064c18a 100755 --- a/speed.sh +++ b/speed.sh @@ -32,7 +32,7 @@ done printf "\n\nAWS Speed Test: (10MB each)\n\n" -for DC in us-east-1 us-west-1 us-west-2 eu-north-1 ca-central-1 eu-central-1 eu-west-1 eu-west-2 ap-northeast-1 ap-south-1 ap-southeast-1 ap-southeast-2 sa-east-1 +for DC in us-east-1 us-east-2a us-east-2b us-west-1 us-west-2 eu-north-1 ca-central-1 eu-central-1 eu-west-1 eu-west-2 eu-west-3 eu-north-1 ap-east-1 ap-northeast-1 ap-northeast-2 ap-south-1 ap-southeast-1 ap-southeast-2 sa-east-1 me-south-1 do printf "$DC: \e\n" printf "$(wget -O /dev/null http://$DC-ec2.cloudharmony.net/probe/test10mb.jpg 2>&1 | awk '/\/dev\/null/ {speed=$3 $4} END {gsub(/\(|\)/,"",speed); print speed}')\e\n" & spinner $! @@ -41,7 +41,7 @@ done printf "\n\nGCP Speed Test: (10MB each)\n\n" -for DC in us-east1 us-east4 us-west1 us-central1 northamerica-northeast1 asia-east1 asia-east2 asia-northeast1 asia-south1 asia-southeast1 australia-southeast1 europe-north1 europe-west1 europe-west2 europe-west3 europe-west4 southamerica-east1 +for DC in us-east1 us-east4 us-west1 us-west2-a us-central1 northamerica-northeast1 asia-east1 asia-east2 asia-northeast1 asia-northeast2 asia-south1 asia-southeast1 australia-southeast1 europe-north1 europe-west1 europe-west2 europe-west3 europe-west4 europe-west6 southamerica-east1 do printf "$DC: \e\n" printf "$(wget -O /dev/null http://$DC-gce.cloudharmony.net/probe/test10mb.jpg 2>&1 | awk '/\/dev\/null/ {speed=$3 $4} END {gsub(/\(|\)/,"",speed); print speed}')\e\n" & spinner $!