From 1edfe4d130493bb75e73b75b8bf35b261d9e1711 Mon Sep 17 00:00:00 2001 From: Jake Jarvis Date: Tue, 9 Jun 2020 12:20:28 -0400 Subject: [PATCH] add/update regions --- README.md | 10 +++++++++- ping.sh | 15 ++++++++++----- speed.sh | 15 ++++++++++----- 3 files changed, 29 insertions(+), 11 deletions(-) diff --git a/README.md b/README.md index 178a30a..b38fc9d 100644 --- a/README.md +++ b/README.md @@ -38,6 +38,7 @@ Scripts will test speed and pings to the following data centers: - NYC3 - SFO1 - SFO2 +- SFO3 - TOR1 - LON1 - FRA1 @@ -56,6 +57,9 @@ Scripts will test speed and pings to the following data centers: - Frankfurt - Singapore - Tokyo +- Sydney +- Toronto +- Mumbai **Amazon Web Services:** [(locations)](https://docs.aws.amazon.com/AmazonRDS/latest/UserGuide/Concepts.RegionsAndAvailabilityZones.html) @@ -69,6 +73,7 @@ Scripts will test speed and pings to the following data centers: - eu-west-1 - eu-west-2 - eu-west-3 +- eu-south-1 - ap-northeast-1 - ap-northeast-2 - ap-northeast-3 @@ -78,6 +83,7 @@ Scripts will test speed and pings to the following data centers: - ap-east-1 - sa-east-1 - me-south-1 +- af-south-1 **Google Cloud:** [(locations)](https://cloud.google.com/compute/docs/regions-zones/) @@ -85,6 +91,7 @@ Scripts will test speed and pings to the following data centers: - us-east4 - us-west1 - us-west2 +- us-west3 - us-central1 - northamerica-northeast1 - asia-east1 @@ -110,7 +117,7 @@ Scripts will test speed and pings to the following data centers: - fl-us - tx-us - sjo-ca-us -- lax-ca-us (down at time of commit) +- lax-ca-us - wa-us - tor-ca - fra-de @@ -120,6 +127,7 @@ Scripts will test speed and pings to the following data centers: - syd-au - sgp - hnd-jp +- sel-kor ### Screenshots: diff --git a/ping.sh b/ping.sh index 523895b..c7b7e31 100755 --- a/ping.sh +++ b/ping.sh @@ -2,7 +2,8 @@ printf "DigitalOcean Ping Test:\n\n" -for DC in NYC1 NYC2 NYC3 SFO1 SFO2 TOR1 LON1 FRA1 AMS2 AMS3 SGP1 BLR1 +# https://www.digitalocean.com/docs/platform/availability-matrix/ +for DC in NYC1 NYC2 NYC3 SFO1 SFO2 SFO3 TOR1 LON1 FRA1 AMS2 AMS3 SGP1 BLR1 do printf "$DC: \t$(ping -i .2 -c 10 -q speedtest-$DC.digitalocean.com | awk -F/ '/^round|^rtt/{print $5}') ms\n" | expand -t 20 done @@ -10,7 +11,8 @@ done printf "\n\nLinode Ping Test:\n\n" -for DC in Newark Atlanta Dallas Fremont London Frankfurt Singapore Tokyo2 +# https://www.linode.com/speed-test/ +for DC in newark atlanta dallas fremont london frankfurt singapore tokyo2 syd1 toronto1 mumbai1 do printf "$DC: \t$(ping -i .2 -c 10 -q speedtest.$DC.linode.com | awk -F/ '/^round|^rtt/{print $5}') ms\n" | expand -t 20 done @@ -18,7 +20,8 @@ done printf "\n\nAWS Ping Test:\n\n" -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 +# https://docs.aws.amazon.com/AmazonRDS/latest/UserGuide/Concepts.RegionsAndAvailabilityZones.html +for DC in us-east-1 us-east-2 us-west-1 us-west-2 ca-central-1 eu-north-1 eu-central-1 eu-west-1 eu-west-2 eu-west-3 eu-north-1 eu-south-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 af-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 +29,8 @@ done printf "\n\nGCP Ping Test:\n\n" -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 +# https://cloudharmony.com/speedtest-for-google:compute +for DC in us-east1 us-east4 us-west1 us-west2-a us-west2-b us-west3 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 @@ -34,7 +38,8 @@ done printf "\n\nVultr/Choopa Ping Test:\n\n" -for DC in NJ-US IL-US GA-US FL-US TX-US SJO-CA-US WA-US TOR-CA FRA-DE AMS-NL PAR-FR LON-GB SYD-AU SGP HND-JP +# https://www.vultr.com/resources/faq/#downloadspeedtests +for DC in NJ-US IL-US GA-US FL-US TX-US SJO-CA-US LAX-CA-US WA-US TOR-CA FRA-DE AMS-NL PAR-FR LON-GB SYD-AU SGP HND-JP SEL-KOR do printf "$DC: \t$(ping -i .2 -c 10 -q $DC-ping.vultr.com | awk -F/ '/^round|^rtt/{print $5}') ms\n" | expand -t 20 done diff --git a/speed.sh b/speed.sh index 064c18a..c859381 100755 --- a/speed.sh +++ b/speed.sh @@ -14,7 +14,8 @@ function spinner() printf "DigitalOcean Speed Test: (100MB each)\n\n" -for DC in NYC1 NYC2 NYC3 SFO1 SFO2 TOR1 LON1 FRA1 AMS2 AMS3 SGP1 BLR1 +# https://www.digitalocean.com/docs/platform/availability-matrix/ +for DC in NYC1 NYC2 NYC3 SFO1 SFO2 SFO3 TOR1 LON1 FRA1 AMS2 AMS3 SGP1 BLR1 do printf "$DC: \e\n" printf "$(wget -O /dev/null http://speedtest-$DC.digitalocean.com/100mb.test 2>&1 | awk '/\/dev\/null/ {speed=$3 $4} END {gsub(/\(|\)/,"",speed); print speed}')\e\n" & spinner $! @@ -23,7 +24,8 @@ done printf "\n\nLinode Speed Test: (100MB each)\n\n" -for DC in newark atlanta dallas fremont london frankfurt singapore tokyo2 +# https://www.linode.com/speed-test/ +for DC in newark atlanta dallas fremont london frankfurt singapore tokyo2 syd1 toronto1 mumbai1 do printf "$DC: \e\n" printf "$(wget -O /dev/null http://speedtest.$DC.linode.com/100MB-$DC.bin 2>&1 | awk '/\/dev\/null/ {speed=$3 $4} END {gsub(/\(|\)/,"",speed); print speed}')\e\n" & spinner $! @@ -32,7 +34,8 @@ done printf "\n\nAWS Speed Test: (10MB each)\n\n" -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 +# https://cloudharmony.com/speedtest-for-aws:ec2 +for DC in us-east-1 us-east-2a us-east-2b us-west-1 us-west-2 ca-central-1 eu-north-1 eu-central-1 eu-west-1 eu-west-2 eu-west-3 eu-north-1 eu-south-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 af-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 +44,8 @@ done printf "\n\nGCP Speed Test: (10MB each)\n\n" -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 +# https://cloudharmony.com/speedtest-for-google:compute +for DC in us-east1 us-east4 us-west1 us-west2-a us-west2-b us-west3 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 $! @@ -50,7 +54,8 @@ done printf "\n\nVultr/Choopa Speed Test: (100MB each)\n\n" -for DC in NJ-US IL-US GA-US FL-US TX-US SJO-CA-US WA-US TOR-CA FRA-DE AMS-NL PAR-FR LON-GB SYD-AU SGP HND-JP +# https://www.vultr.com/resources/faq/#downloadspeedtests +for DC in NJ-US IL-US GA-US FL-US TX-US SJO-CA-US LAX-CA-US WA-US TOR-CA FRA-DE AMS-NL PAR-FR LON-GB SYD-AU SGP HND-JP SEL-KOR do printf "$DC: \e\n" printf "$(wget -O /dev/null http://$DC-ping.vultr.com/vultr.com.100MB.bin 2>&1 | awk '/\/dev\/null/ {speed=$3 $4} END {gsub(/\(|\)/,"",speed); print speed}')\e\n" & spinner $!