A Project Manager can define and manage environment policies. Environment policies are associated directly with a project and can be used for any blueprint and by any team in the project.
The environment policy defines the amount of time users will have the use of the environment. An environment’s lifetime is set according to the policy associated with it:
- During runtime, the environment will be up with all machines running.
- During storage time, the environment will be archived and can be made accessible by extending it from the environment details page. After the environment storage time expires, the environment is securely deleted.
Only a Project Manager can create and manage environment policies.
To create a new Environment Policy as a Project Manager, follow these steps:
1. From the Resources menu, click Policies. The Policies page will be displayed.
2. At the top of the page, click Create Policy.
3. Complete the following:
- From the Name field, provide a descriptive name that your users can understand
- From the Projects list, select those entries that you would like this policy to be applied to (multi-select by holding down the Ctrl)
- From the Duration field:
- Runtime Lease - specify the amount of time (days, hours or minutes) that the environment will be in the Running state with all the machines accessible (must be equal to or less than the storage lease)
- Storage Lease - specify the amount of time (days, hours or minutes) that the environment will live before being securely deleted (total lifecycle of the environment)
- Environment Inactivity Handling
- Suspend the environment after XX minutes – Allows you to specify the value in minutes before inactivity handling is triggered
- Delete the environment after XX minutes – Allows you to specify the value in minutes before the delete action is triggered
- Always On – the environment will continue to RUN whether it senses activity or not for the lease duration specified above or unless manually extended
4. Click Create. The new policy will be created and added to the list of Policies.
Editing a Policy
A Project Manager can edit an existing policy, with the following limitations:
- When the policy is not assigned to an active environment, the existing policy can be changed.
- When the policy is assigned to an environment, you can only change the value of the Inactivity Handling field. If the environment is currently running, this change will be applied so that it will only extend the current inactivity time (i.e., not shorter it). A new environment or new instance will reflect the new inactivity time value according to the change.
To effectively change one or more policy values for an existing environment, first create a new policy with the desired values and then, from the Environment Details page, click the Change Policy button to assign the newly-created policy to that environment.