# How to Manage Policies in IAM Module?

### a. How to create a policy?

To create a policy, follow the steps below:

**Step 1:** [Login](https://customer.acecloudhosting.com/) to the Ace Cloud Portal.

**Step 2:** Navigate to the **IAM** module from the left-hand menu.

<figure><img src="https://4093689899-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FABq8drdSiCZSaGArMqJu%2Fuploads%2FsLAPK8HsTHPXjv3I5Oyl%2Fimage.png?alt=media&#x26;token=3b76c2ea-a15d-467e-96d4-daead0c1f7f6" alt=""><figcaption></figcaption></figure>

**Step 3:** Click on the **Policies** tab.

<figure><img src="https://4093689899-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FABq8drdSiCZSaGArMqJu%2Fuploads%2F6KRHFgfdwv8S3HfR04lT%2Fimage.png?alt=media&#x26;token=55f5fe41-ad18-4bd8-898b-3b977170219a" alt=""><figcaption></figcaption></figure>

**Step 4:** Click on the **Create Policy** button.

<figure><img src="https://4093689899-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FABq8drdSiCZSaGArMqJu%2Fuploads%2FVG8PpElntcJYiG0hdCwK%2Fimage.png?alt=media&#x26;token=516c72d0-26c8-4e9e-a13e-d1214e61c08a" alt=""><figcaption></figcaption></figure>

**Step 5: Define Access Scope**

1. In the policy setup screen:
   * Select the **Project**.
   * Select the **Region** (e.g., `Atlanta`).
   * Select the **Services** (e.g., `IAM` and `Billing`).
2. Click **Next**.

**Step 6: Name the Policy**

1. Provide a **Policy Name** (e.g., Billing-Atlanta).
2. Add a relevant **Description**.
3. Click **Next**.

**Step 7: Review and Create**

1. Review all selected details (project, region, services).
2. If everything is correct, click **Create**.

*Note: Your policy is now ready to be assigned to a group.*

### b. How to assign a policy to a group?

**Step 1:** Go to the **Groups** tab.

<figure><img src="https://4093689899-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FABq8drdSiCZSaGArMqJu%2Fuploads%2FGxInNcr0nvF3JNT6GQhp%2Fimage.png?alt=media&#x26;token=19b37c04-1119-46e2-80dd-3e40f03c97f2" alt=""><figcaption></figcaption></figure>

**Step 2:** Click **Edit Group** next to the group (e.g., Test-Group).

<figure><img src="https://4093689899-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FABq8drdSiCZSaGArMqJu%2Fuploads%2FAWzIwtRf3ZtDJnQM9oW1%2Fimage.png?alt=media&#x26;token=9376ef58-1106-4610-a176-a2cab429c18a" alt=""><figcaption></figcaption></figure>

**Step 3:** Add the new policy (Atlanta-Billing) to this group.

<figure><img src="https://4093689899-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FABq8drdSiCZSaGArMqJu%2Fuploads%2FQXh1AUAnaNcalQvIMYtd%2Fimage.png?alt=media&#x26;token=da3551bd-db5d-427d-8ca4-439466528ce1" alt=""><figcaption></figcaption></figure>

**Step 4:** Save the changes.
