How to attach 1 policy to Auto-scaling group
There are two ways to attach a policy to the Auto-scaling group
Method 1: Attach a policy to the created group
Step 1: At the Scaling Group Management interface -> Select the group you want to attach the Policy to, you will see the details of the group appear below
![](https://docs.vngcloud.vn/~gitbook/image?url=https%3A%2F%2Fdocs.vngcloud.vn%2Fdownload%2Fattachments%2F59802620%2Fimage2019-5-24_0-0-38.png%3Fversion%3D1%26modificationDate%3D1685069941000%26api%3Dv2&width=768&dpr=4&quality=100&sign=b3efd1a6&sv=1)
Step 2: Select Policy -> You will see a list of mounted policies. Here you can attach (Assign) or remove (Detach) policy
![](https://docs.vngcloud.vn/~gitbook/image?url=https%3A%2F%2Fdocs.vngcloud.vn%2Fdownload%2Fattachments%2F59802620%2Fimage2019-5-24_0-0-51.png%3Fversion%3D1%26modificationDate%3D1685069942000%26api%3Dv2&width=768&dpr=4&quality=100&sign=2dbaa5ba&sv=1)
Step 3: Select Assign Policy -> Select the type of policy and Policy you want to attach
![](https://docs.vngcloud.vn/~gitbook/image?url=https%3A%2F%2Fdocs.vngcloud.vn%2Fdownload%2Fattachments%2F59802620%2Fimage2019-5-24_0-1-9.png%3Fversion%3D1%26modificationDate%3D1685069942000%26api%3Dv2&width=768&dpr=4&quality=100&sign=fc78801c&sv=1)
Note: If you have created a policy but do not see it in the Policy list, you can review and change the selection of the Type policy section. The policy list displays only those policies that match the selected policy type
Once done, select Assign to finish. You will see the newly attached policy appear in the policy management interface
![](https://docs.vngcloud.vn/~gitbook/image?url=https%3A%2F%2Fdocs.vngcloud.vn%2Fdownload%2Fattachments%2F59802620%2Fimage2019-5-24_0-1-22.png%3Fversion%3D1%26modificationDate%3D1685069942000%26api%3Dv2&width=768&dpr=4&quality=100&sign=80de5dc7&sv=1)
Method 2: If you already have POLICY before creating the group, you can attach the Policy right while creating an Auto-Scaling group as follows
In the configure step when creating the scaling group, click Advance
![](https://docs.vngcloud.vn/~gitbook/image?url=https%3A%2F%2Fdocs.vngcloud.vn%2Fdownload%2Fattachments%2F59802620%2Fimage2019-5-24_0-1-34.png%3Fversion%3D1%26modificationDate%3D1685069942000%26api%3Dv2&width=768&dpr=4&quality=100&sign=448624b2&sv=1)
Select Type policy -> select policy.
Note: if you have created a policy but do not see it in the Policy list, you can review and change the selection of the Type policy section. The policy list displays only those policies that match the selected policy type
Once done, click next and you will see that the newly created group will have the selected policy attached
Last updated