Skip to content

Instantly share code, notes, and snippets.

@yyoshiki41
Created December 31, 2015 12:16
Show Gist options
  • Save yyoshiki41/679b079a6e044949de76 to your computer and use it in GitHub Desktop.
Save yyoshiki41/679b079a6e044949de76 to your computer and use it in GitHub Desktop.

1. Create AMI

※ 現在稼働中のサーバーからImageを作る場合は、No Reboot にチェック.

2. Create Launch Configurations

① Choose AMI

② Configure details

  • Cloud Watch は任意(追加料金が発生する)

③ Configure Security Group

④ Select an existing key pair

3. Create Alram

CloudWatchから、ELBにインスタンスを追加するルールを作る.

4. Create Auto Scaling group

① Select Launch Configurations

② Configure Auto Scaling group details

  • Subnet は、public を設定.

  • ▼Advanced Details

    Receive traffic from Elastic Load Balancer(s)にチェック.

③ Scaling policies

  • Scale between min and max instances.

■Increase Group Size 先ほどCloudWatchで作ったインスタンス追加のルールを選択.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment