AWS

Describe one way to test ASG actually works

Difficulty: unrated

Source: bregman-arie/devops-exercises by Arie Bregman

Answer

In Linux instances, you can install the 'stress' package and run stress to load the system for certain period of time and see if ASG kicks in by adding additional capacity (= more instances).

For example: sudo stress --cpu 100 --timeout 20