# Auto Scaling Groups

An Auto Scaling group starts by launching enough instances to meet its desired capacity. It maintains this number of instances by performing periodic integrity checks on the instances in the group.

The Auto Scaling group continues to maintain a fixed number of instances even if an instance becomes unhealthy. If an instance becomes unhealthy, the group terminates the unhealthy instance and launches another instance to replace it.

When a Spot Instance is terminated, the autoscaling group try to launch a replacement instance to maintain the desired capacity for the group.

**How to get to Auto Scaling Groups:**

1. In the SPOT side feature menu, select **Auto Scaling Groups**

<figure><img src="https://1687673077-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FZ9sinLUl52lDK1vg6b8g%2Fuploads%2FrFMeeLGFu0l7ZReyNKoA%2Fimage.png?alt=media&#x26;token=ac841d3c-b2fc-433c-bb84-f87f0302a7c2" alt=""><figcaption></figcaption></figure>

The system will display the main screen of "**Spot - Auto Scaling Groups**"

2. **Filters**

The system allows to filter by:

* **Resource or Cloud Account**: Filter by a specific resource or account.

<figure><img src="https://1687673077-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FZ9sinLUl52lDK1vg6b8g%2Fuploads%2FE32aKzd5APMc4zGkBke8%2Fimage.png?alt=media&#x26;token=5ccd476a-cbc0-466f-bbba-8b094462797d" alt=""><figcaption></figcaption></figure>

* **Regions**: Inform the desired region. By default, the system will return all regions.

<figure><img src="https://1687673077-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FZ9sinLUl52lDK1vg6b8g%2Fuploads%2FKpitA9EE1IyvAHNdmkqn%2Fimage.png?alt=media&#x26;token=0c40d28a-57c1-4580-92de-ae8c97a4ae15" alt=""><figcaption></figcaption></figure>

* **Status**: Filter by desired status, which can be: Active, Inactive or all

<figure><img src="https://1687673077-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FZ9sinLUl52lDK1vg6b8g%2Fuploads%2FUkW0VC3y8MYDxW2mhCsv%2Fimage.png?alt=media&#x26;token=efabdff2-f48c-4bb3-b441-d69246b7a196" alt=""><figcaption></figcaption></figure>

3. **Actions**:

* The system allows to activate and deactivate the status by clicking on the button "![](https://1687673077-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FZ9sinLUl52lDK1vg6b8g%2Fuploads%2FX8SkxaRr2g7UcBUBZV2i%2Fimage.png?alt=media\&token=55999ae9-4c79-4057-8eec-af63531a7307)"

<figure><img src="https://1687673077-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FZ9sinLUl52lDK1vg6b8g%2Fuploads%2FC6MKtAQOHWDTcRAgn96r%2Fimage.png?alt=media&#x26;token=312a4a6f-3dee-467a-9012-65234fc4815e" alt=""><figcaption></figcaption></figure>

* And adjust the setting by clicking the "![](https://1687673077-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FZ9sinLUl52lDK1vg6b8g%2Fuploads%2FdbwrQM3Db7UuqM5LnUvk%2Fimage.png?alt=media\&token=d83f1640-3db8-40b9-b6dd-ca958948985d)" button

<figure><img src="https://1687673077-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FZ9sinLUl52lDK1vg6b8g%2Fuploads%2Fv0kaWDYLFe4hWNEldf7F%2Fimage.png?alt=media&#x26;token=8555757f-76a3-4f02-aa5c-98ba07b6d404" alt=""><figcaption></figcaption></figure>
