Skip to content

Commit

Permalink
Merge pull request #43 from Qumulo/update_utils
Browse files Browse the repository at this point in the history
updated ec2-instance-types script to support m6i
  • Loading branch information
gokulku authored May 17, 2023
2 parents af19aa0 + a36208f commit 1715bb5
Showing 1 changed file with 26 additions and 3 deletions.
29 changes: 26 additions & 3 deletions utilities/modify-instance-types.sh
100755 → 100644
Original file line number Diff line number Diff line change
Expand Up @@ -105,7 +105,7 @@ else
fi

if [ -z "$iNewType" ]; then
echo " MISSING Parameter: New Instance Type is required: m5.[xlarge-24xlarge], c5n.[4xlarge-18xlarge]"
echo " MISSING Parameter: New Instance Type is required: m5.[xlarge-24xlarge], m6i.[xlarge-32xlarge], c5n.[4xlarge-18xlarge]"
fail="true"
else
echo " *New Instance Type = $iNewType"
Expand Down Expand Up @@ -153,6 +153,30 @@ case $iNewType in
m5.24xlarge)
echo " --New instance type $iNewType confirmed"
;;
m6i.xlarge)
echo " --New instance type $iNewType confirmed"
;;
m6i.2xlarge)
echo " --New instance type $iNewType confirmed"
;;
m6i.4xlarge)
echo " --New instance type $iNewType confirmed"
;;
m6i.8xlarge)
echo " --New instance type $iNewType confirmed"
;;
m6i.12xlarge)
echo " --New instance type $iNewType confirmed"
;;
m6i.16xlarge)
echo " --New instance type $iNewType confirmed"
;;
m6i.24xlarge)
echo " --New instance type $iNewType confirmed"
;;
m6i.32xlarge)
echo " --New instance type $iNewType confirmed"
;;
c5n.4xlarge)
echo " --New instance type $iNewType confirmed"
;;
Expand Down Expand Up @@ -459,5 +483,4 @@ if [ $stopped = 0 ]; then
echo " ******* ${#instanceIDs[@]} Instances changed to $iNewType, started, and in quorum"
else
echo " ******* ${#instanceIDs[@]} Instances changed to $iNewType. Cluster remains stopped."
fi

fi

0 comments on commit 1715bb5

Please sign in to comment.