LoginSignup
0
0

More than 5 years have passed since last update.

オンデマンド、Spot、RIを含んだAutoScalingGroupを作成する

Posted at

目的

2018/11/16に発表になった全部入りAutoScalingを試してみる
https://aws.amazon.com/jp/blogs/aws/new-ec2-auto-scaling-groups-with-multiple-instance-types-purchase-options/

手順

起動テンプレートの作成

Laucn Templateを選択し、Create Launch Templateをクリック
image.png

ここでは起動テンプレート名とAMI IDのみ指定する
image.png

AutoScalingGroupの作成

image.png

起動テンプレートをクリックし、先程作成した起動テンプレートを選択する
image.png

グループ名を記載
「購入オプションとインスタンスを組み合わせる」をクリック
インスタンスタイプを選ぶ

image.png

次のデフォルト設定を使用し、すぐに開始しますのチェックを外す
ここでは、
オプションのオンデマンドベース:1
ベースを超えるオンデマンド割合:10%
グループサイズ:5
にしてみました。image.png

確認

EC2の管理コンソール>インスタンスで確認
オンデマンド
image.png

image.png

スポットインスタンスの画面で確認すると自動的にスポットリクエストが実行されている

image.png

約束事

投稿内容は私個人の意見であり、所属企業・部門見解を代表するものではありません。

0
0
0

Register as a new user and use Qiita more conveniently

  1. You get articles that match your needs
  2. You can efficiently read back useful information
  3. You can use dark theme
What you can do with signing up
0
0