# 2. Manual mở rộng theo yêu cầu

{% hint style="info" %}
**Điều kiện cần thiết (Có thể bỏ qua nếu VPC đã có sẵn):**&#x20;

* [1.-tao-autoscale-group](https://docs.fptcloud.com/autoscale/autoscale-group/1.-tao-autoscale-group "mention")
  {% endhint %}

**Bước 1:** Truy cập trang **Autoscaling** > **Autoscale Group**.&#x20;

![](https://2837260264-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F18Kpdo0VNH9pUQatMCfo%2Fuploads%2FxQ2ueoQEy0EIXBk0O5FI%2Fimage.png?alt=media\&token=cc58eb22-1cbb-48b1-a513-b0bf372fae86)

### **Trường hợp 1: Scale in**

**Bước 2:** Trong mục **Actions**, chọn **Scale in**.

![](https://2837260264-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F18Kpdo0VNH9pUQatMCfo%2Fuploads%2FYLbTxvOgL4YEctPWF14q%2Fimage.png?alt=media\&token=5d6d46e1-a4e5-4ba9-82f1-5643f3e1b3c5)

**Bước 3:** Một hộp thoại mới sẽ hiện lên, người dùng cấu hình thông tin sau:

* **Count:** Số lượng node cần giảm bớt. Số lượng node trong group không thể ít hơn **Min size** của group (Mặc định: 0).

![](https://2837260264-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F18Kpdo0VNH9pUQatMCfo%2Fuploads%2FBKIHwzwpTBX6QrpwAoYD%2Fimage.png?alt=media\&token=60889f35-15f8-4db1-9773-5939f2ea15d9)

**Bước 4:** Chọn **Scale in.**&#x20;

Hệ thống sẽ thực hiện kiểm tra lại thông tin và thực hiện resizing group nếu hợp lệ. Sau khi action thực hiện thành công thì Status sẽ chuyển thành Active.

### **Trường hợp 2: Scale out**

**Bước 2:** Trong mục **Actions**, chọn **Scale out**.

![](https://2837260264-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F18Kpdo0VNH9pUQatMCfo%2Fuploads%2FzsSXVhRP9vJuNuVmiNbb%2Fimage.png?alt=media\&token=06886581-6fa7-4e67-8571-1364c76a932e)

**Bước 3:** Một hộp thoại mới sẽ hiện lên, người dùng cấu hình thông tin sau:

* **Count:** số lượng node cần thêm vào. Số lượng node trong group không thể nhiều hơn **Max size** của group (Mặc định: 10).

![](https://2837260264-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F18Kpdo0VNH9pUQatMCfo%2Fuploads%2FVEzU9hTGNH5JLa2v0rnb%2Fimage.png?alt=media\&token=f9663846-1b62-4b1b-8bc7-0f242cc289e0)

**Bước 4:** Chọn **Scale out**.

Hệ thống sẽ thực hiện kiểm tra lại thông tin và thực hiện Resizing group nếu hợp lệ. Sau khi action thực hiện thành công thì Status sẽ chuyển thành Active.
