To create a new environment policy as a Project Manager:
- Click Policies from the left menu. The Policies page will be displayed.
- At the top of the page, click Create Policy. The Create a new environment policy dialog is displayed.
- In the Name field, provide a descriptive name for the policy.
- From the Projects drop-down list, select the projects that this policy should be applied to. To select multiple projects, hold down the Ctrl key as you click.
- In the Duration section, enter values for one or more of the following settings:
- Runtime Lease - Specify the total time that the environment will remain in the Running state, with all the machines accessible (this value must be less than or equal to the storage lease).
- Storage Lease - Specify the total time that the environment will remain available before it is securely deleted (this value is the total life cycle of the environment).
- Suspension Time Before Deletion - (Optional) Activate this checkbox to specify the total time that the environment will remain in a Suspended state before it is securely deleted. This option provides finer control over automatic deletion. Typically, it is most useful when you want to reduce the time that an environment is stored after it has been suspended automatically due to inactivity.
This option will also affect any environment that has exhausted its Runtime duration, but still has some Storage time remaining. CloudShare considers such an environment as Suspended and will delete it when the value entered in this field has been reached.
- In the Environment Inactivity Handling section, choose one of the following options:
- Suspend the environment after XX minutes – Enables you to specify a time period before Inactivity Handling is triggered.
- Delete the environment after XX minutes – Enables you to specify a time period before a Delete action is triggered.
- Environment Always On – Enables you to specify that the environment will not be subject to any Inactivity Handling actions.
- Click Create. The new policy will be created and added to the list of available policies.