AWS script change for additional zones and regions
This commit is contained in:
@ -23,7 +23,7 @@ ec2)
|
|||||||
# shellcheck source=net/scripts/ec2-provider.sh
|
# shellcheck source=net/scripts/ec2-provider.sh
|
||||||
source "$here"/scripts/ec2-provider.sh
|
source "$here"/scripts/ec2-provider.sh
|
||||||
|
|
||||||
cpuBootstrapLeaderMachineType=m4.4xlarge
|
cpuBootstrapLeaderMachineType=m4.2xlarge
|
||||||
gpuBootstrapLeaderMachineType=p2.xlarge
|
gpuBootstrapLeaderMachineType=p2.xlarge
|
||||||
bootstrapLeaderMachineType=$cpuBootstrapLeaderMachineType
|
bootstrapLeaderMachineType=$cpuBootstrapLeaderMachineType
|
||||||
fullNodeMachineType=$cpuBootstrapLeaderMachineType
|
fullNodeMachineType=$cpuBootstrapLeaderMachineType
|
||||||
|
@ -49,7 +49,7 @@ __cloud_FindInstances() {
|
|||||||
declare filter="$1"
|
declare filter="$1"
|
||||||
|
|
||||||
instances=()
|
instances=()
|
||||||
declare -a regions=("us-east-1" "us-west-1" "us-west-2")
|
declare -a regions=("us-east-1" "us-west-1" "us-west-2" "sa-east-1" "ap-northeast-2" "eu-central-1" "ca-central-1")
|
||||||
for region in "${regions[@]}"
|
for region in "${regions[@]}"
|
||||||
do
|
do
|
||||||
declare name publicIp privateIp
|
declare name publicIp privateIp
|
||||||
@ -202,6 +202,18 @@ cloud_CreateInstances() {
|
|||||||
us-west-2)
|
us-west-2)
|
||||||
imageName="ami-0dc34f4b016c9ce49"
|
imageName="ami-0dc34f4b016c9ce49"
|
||||||
;;
|
;;
|
||||||
|
sa-east-1)
|
||||||
|
imageName="ami-0f1678b6f63a0f923"
|
||||||
|
;;
|
||||||
|
ap-northeast-2)
|
||||||
|
imageName="ami-0695e34e31339c3ff"
|
||||||
|
;;
|
||||||
|
eu-central-1)
|
||||||
|
imageName="ami-054e21e355db24124"
|
||||||
|
;;
|
||||||
|
ca-central-1)
|
||||||
|
imageName="ami-06ed08059bdc08fc9"
|
||||||
|
;;
|
||||||
*)
|
*)
|
||||||
usage "Unsupported region: $region"
|
usage "Unsupported region: $region"
|
||||||
;;
|
;;
|
||||||
|
Reference in New Issue
Block a user