Search⌘ K
AI Features

Check If the ASG Is Working

Explore how to verify if your Auto Scaling Group (ASG) is working by checking running WordPress instances and their health status in target groups using AWS CLI. Understand how to identify ASG-managed instances and clean up old stopped instances to maintain a scalable application setup.

To see if the ASG is working, we can do the following things.

Check the number of WordPress instances

To check the number of running WordPress instances, we can use the describe-instances command. We should be familiar with it by now. Do you know how to list only running instances with the tag team=wordpress? Try it out in the terminal below:

Terminal 1
Terminal
Loading...

The output should look ...