AWS - Auto Scaling Groups

最後更新: 2021-09-09

Features

  • scaling policies(Manual Dynamic Predictive Scheduled)
  • health check replacements

 


Scaling policies

If an instance becomes unhealthy,

the group terminates the unhealthy instance and launches another instance to replace it.

Health check replacements

When the scaling policy is in effect, the Auto Scaling group adjusts the desired capacity of the group,

between the minimum and maximum capacity values that you specify, and launches or terminates the instances as needed.

 


Launch template

 

 * 將會取締 "Launch Configurations"

 * support versioning

To create a launch template

EC2 console > On the navigation pane, under INSTANCES > choose Launch Templates.

 


Auto-assign Public IP

 

Auto Scaling > Launch configurations 內設定

由於沒有 "Edit", 所以要 "Copy" 成新 config 才修改到,

過程中展開 "Advanced details" 再修改 Public IP address type