# Creating Policies

Policies can be created in three different locations.

- Administration > Policies
- Infrastructure  >  Groups  >  Group  >  Policies
- Infrastructure  >  Clouds  >  Cloud  >  Policies

Policies can be disabled and re-enabled at anytime.

IMPORTANT

Precedence is applied to matching or conflicting Policies in the following order: Cloud > Group > Role > User > Global.

## To create a Global Policy:

### Procedure

1. Navigate to Administration > Policies
2. Select + ADD Policy and choose from the available policy types.
3. Refer to Policy Type sections below for Configuration options.
4. Under Filter next to scope select Global
5. Select SAVE CHANGES

## To create a Policy for a User:

### Procedure

1. Navigate to Administration > Policies
2. Select + ADD Policy and choose from the available policy types.
3. Refer to Policy Type sections below for Configuration options.
4. Under filter next to scope select User a drop down menu will appear below allowing you to select a user
5. Select SAVE CHANGES

## To create a Policy for a Role:

### Procedure

1. Navigate to Administration > Policies
2. Select + ADD Policy and choose from the available policy types.
3. Refer to Policy Type sections below for Configuration options.
4. Under filter next to scope select Role a drop down menu will appear below allowing you to select a Role
5. For `APPLY INDIVIDUALLY TO EACH USER IN ROLE`
   :   - Select for Max Resource/Quota Policies to be calculated per user
       - Leave unselected to calculate by total usage of all users within that Role.
6. Select SAVE CHANGES

## To create a Policy for a Cloud:

### About this task

NOTE

Resource Limitation Policies apply to all Instances in the Cloud the Policy is added to. Approval, Naming, Power, Shutdown and Expiration Policies apply to Instances created or moved into the Group after the Policy is enabled.

### Procedure

1. Navigate to Infrastructure  >  Clouds
2. Select a Cloud by clicking on the name of the Cloud to go to the Cloud Detail page.
3. Select the `POLICIES` tab in the Cloud Detail page.
4. Select + ADD and choose from the available policy types.
5. Refer to Policy Type sections below for Configuration options.
6. Select SAVE CHANGES

## To create a Policy for a Group:

### About this task

NOTE

Resource Limitation Policies apply to all Instances in the Group the Policy is added to. Approval, Naming, Power, Shutdown and Expiration Policies apply to Instances created after the Policy is enabled.

### Procedure

1. Navigate to Infrastructure  >  Groups
2. Select a Group by clicking on the name of the Group to go to the Group Detail page.
3. Select the `POLICIES` tab in the Group Detail page.
4. Select + ADD and choose from the available policy types.
5. Refer to Policy Types sections below for Configuration options.
6. Select SAVE CHANGES
