Update GCP regions (#957)

* Update GCP regions according to https://cloud.google.com/compute/docs/regions-zones/

* Update GCP regions according to https://cloud.google.com/compute/docs/regions-zones/

* set default back to belgium B
This commit is contained in:
Stijn Balk 2018-05-23 19:17:10 +03:00 committed by Dan Guido
parent 93c98d85d4
commit 9cb796ac95

170
algo
View file

@ -425,84 +425,104 @@ Name the vpn server:
read -p " read -p "
What zone should the server be located in? What zone should the server be located in?
1. Western US (Oregon A) 1. Eastern Canada (Montreal A)
2. Western US (Oregon B) 2. Eastern Canada (Montreal B)
3. Western US (Oregon C) 3. Eastern Canada (Montreal C)
4. Central US (Iowa A) 4. Central US (Iowa A)
5. Central US (Iowa B) 5. Central US (Iowa B)
6. Central US (Iowa C) 6. Central US (Iowa C)
7. Central US (Iowa F) 7. Central US (Iowa F)
8. Eastern US (Northern Virginia A) 8. Western US (Oregon A)
9. Eastern US (Northern Virginia B) 9. Western US (Oregon B)
10. Eastern US (Northern Virginia C) 10. Western US (Oregon C)
11. Eastern US (South Carolina B) 11. Eastern US (Northern Virginia A)
12. Eastern US (South Carolina C) 12. Eastern US (Northern Virginia B)
13. Eastern US (South Carolina D) 13. Eastern US (Northern Virginia C)
14. Western Europe (Belgium B) 14. Eastern US (South Carolina B)
15. Western Europe (Belgium C) 15. Eastern US (South Carolina C)
16. Western Europe (Belgium D) 16. Eastern US (South Carolina D)
17. Western Europe (London A) 17. South America East (São Paulo A)
18. Western Europe (London B) 18. South America East (São Paulo B)
19. Western Europe (London C) 19. South America East (São Paulo C)
20. Western Europe (Frankfurt A) 20. Western Europe (Belgium B)
21. Western Europe (Frankfurt B) 21. Western Europe (Belgium C)
22. Western Europe (Frankfurt C) 22. Western Europe (Belgium D)
23. Southeast Asia (Singapore A) 23. Western Europe (London A)
24. Southeast Asia (Singapore B) 24. Western Europe (London B)
25. East Asia (Taiwan A) 25. Western Europe (London C)
26. East Asia (Taiwan B) 26. Western Europe (Frankfurt A)
27. East Asia (Taiwan C) 27. Western Europe (Frankfurt B)
28. Northeast Asia (Tokyo A) 28. Western Europe (Frankfurt C)
29. Northeast Asia (Tokyo B) 29. Western Europe (Netherlands A)
30. Northeast Asia (Tokyo C) 30. Western Europe (Netherlands B)
31. Australia (Sydney A) 31. Western Europe (Netherlands C)
32. Australia (Sydney B) 32. South Asia (Mumbai A)
33. Australia (Sydney C) 33. South Asia (Mumbai B)
34. South America (São Paulo A) 34. South Asia (Mumbai C)
35. South America (São Paulo B) 35. Southeast Asia (Singapore A)
36. South America (São Paulo C) 36. Southeast Asia (Singapore B)
37. Southeast Asia (Singapore C)
38. East Asia (Taiwan A)
39. East Asia (Taiwan B)
40. East Asia (Taiwan C)
41. Northeast Asia (Tokyo A)
42. Northeast Asia (Tokyo B)
43. Northeast Asia (Tokyo C)
44. Australia (Sydney A)
45. Australia (Sydney B)
46. Australia (Sydney C)
Please choose the number of your zone. Press enter for default (#14) zone. Please choose the number of your zone. Press enter for default (#20) zone.
[14]: " -r region [20]: " -r region
region=${region:-14} region=${region:-20}
case "$region" in case "$region" in
1) zone="us-west1-a" ;; 1) zone="northamerica-northeast1-a" ;;
2) zone="us-west1-b" ;; 2) zone="northamerica-northeast1-b" ;;
3) zone="us-west1-c" ;; 3) zone="northamerica-northeast1-c" ;;
4) zone="us-central1-a" ;; 4) zone="us-central1-a" ;;
5) zone="us-central1-b" ;; 5) zone="us-central1-b" ;;
6) zone="us-central1-c" ;; 6) zone="us-central1-c" ;;
7) zone="us-central1-f" ;; 7) zone="us-central1-f" ;;
8) zone="us-east4-a" ;; 8) zone="us-west1-a" ;;
9) zone="us-east4-b" ;; 9) zone="us-west1-b" ;;
10) zone="us-east4-c" ;; 10) zone="us-west1-c" ;;
11) zone="us-east1-b" ;; 11) zone="us-east4-a" ;;
12) zone="us-east1-c" ;; 12) zone="us-east4-b" ;;
13) zone="us-east1-d" ;; 13) zone="us-east4-c" ;;
14) zone="europe-west1-b" ;; 14) zone="us-east1-b" ;;
15) zone="europe-west1-c" ;; 15) zone="us-east1-c" ;;
16) zone="europe-west1-d" ;; 16) zone="us-east1-d" ;;
17) zone="europe-west2-a" ;; 17) zone="southamerica-east1-a" ;;
18) zone="europe-west2-b" ;; 18) zone="southamerica-east1-b" ;;
19) zone="europe-west2-c" ;; 19) zone="southamerica-east1-c" ;;
20) zone="europe-west3-a" ;; 20) zone="europe-west1-b" ;;
21) zone="europe-west3-b" ;; 21) zone="europe-west1-c" ;;
22) zone="europe-west3-c" ;; 22) zone="europe-west1-d" ;;
23) zone="asia-southeast1-a" ;; 23) zone="europe-west2-a" ;;
24) zone="asia-southeast1-b" ;; 24) zone="europe-west2-b" ;;
25) zone="asia-east1-a" ;; 25) zone="europe-west2-c" ;;
26) zone="asia-east1-b" ;; 26) zone="europe-west3-a" ;;
27) zone="asia-east1-c" ;; 27) zone="europe-west3-b" ;;
28) zone="asia-northeast1-a" ;; 28) zone="europe-west3-c" ;;
29) zone="asia-northeast1-b" ;; 29) zone="europe-west4-a" ;;
30) zone="asia-northeast1-c" ;; 30) zone="europe-west4-b" ;;
31) zone="australia-southeast1-a" ;; 31) zone="europe-west4-c" ;;
32) zone="australia-southeast1-b" ;; 32) zone="asia-south1-a" ;;
33) zone="australia-southeast1-c" ;; 33) zone="asia-south1-b" ;;
34) zone="southamerica-east1-a" ;; 34) zone="asia-south1-c" ;;
35) zone="southamerica-east1-b" ;; 35) zone="asia-southeast1-a" ;;
36) zone="southamerica-east1-c" ;; 36) zone="asia-southeast1-b" ;;
37) zone="asia-southeast1-c" ;;
38) zone="asia-east1-a" ;;
39) zone="asia-east1-b" ;;
40) zone="asia-east1-c" ;;
41) zone="asia-northeast1-a" ;;
42) zone="asia-northeast1-b" ;;
43) zone="asia-northeast1-c" ;;
44) zone="australia-southeast1-a" ;;
45) zone="australia-southeast1-b" ;;
46) zone="australia-southeast1-c" ;;
esac esac
ROLES="gce vpn cloud" ROLES="gce vpn cloud"