You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
By default, developers have unlimited workspace usage and can use any template version. Template policies allows you to:
74
+
While workspaces can auto-stop based on activity, users set this value per-workspace it can be continuously bumped to prevent a workspace from stopping. For large enterprises, this can drive up cloud cost and introduce security concerns, as workspaces are not kept up to date.
75
75
76
-
- Auto-stop workspaces after 3 hours of inactivity.
77
-
- Require workspaces to be restarted frequently to ensure they use the most recent template version.
78
-
- Disable workspace auto-start.
76
+
To enforce auto-stopping, you can enforce a timeout for all workspaces, as well as a max session duration.
79
77
80
-
### Stop policy
81
-
82
-
Stop policies require workspaces be stopped (or restarted), regardless of activity:
Stops occur during a user's [quiet hours](../workspaces.md#quiet-hours), which prevent interruptions. If a user is still using their workspace, they can postpone a restart up to 3 hours.
99
81
100
82
Learn more about [workspace auto-stop](../workspaces.md#workspace-auto-stop)
101
83
102
-
<!-- TODO: Add the dashboard screenshots. We can remove the "most recent version" bullet point once we finish template version policies -->
103
-
104
84
## Customize templates
105
85
106
86
Example templates are not designed to support every use (e.g
Copy file name to clipboardExpand all lines: docs/workspaces.md
+4-6Lines changed: 4 additions & 6 deletions
Original file line number
Diff line number
Diff line change
@@ -37,7 +37,7 @@ information, see [Resource Persistence](./templates/resource-persistence.md).
37
37
38
38
When a workspace is deleted, all of the workspace's resources are deleted.
39
39
40
-
## Workspace auto-stop
40
+
## Inactivity timeout
41
41
42
42
In Coder, workspaces can auto-stop when the user is not actively using the workspace. By default, Coder recognizes the following actions as activity and will keep the workspace online:
43
43
@@ -47,15 +47,13 @@ In Coder, workspaces can auto-stop when the user is not actively using the works
47
47
48
48
> [Custom activity](#TODO) can be registered via Coder's REST API, such as an ongoing data science pipeline.
49
49
50
-
<!-- TODO. Document this. We may want to move to a custom activity section. See coder/coder[#8064](https://github.com/coder/coder/issues/8064) and coder/coder#5629 -->
51
-
52
-
Your workspace's auto-stop behavior can be seen in the dashboard. Template settings in Coder determine if users can alter their workspace schedules.
50
+
Your workspace's auto-stop behavior can be seen in the dashboard. Template settings in Coder determine if users can alter their workspace schedules.
53
51
54
52

55
53
56
-
### Max workspace lifetime (enterprise)
54
+
### Max session length (enterpise)
57
55
58
-
Workspaces may also have a max lifetime, which enforces a stop or restart even if you are actively using your workspace.
56
+
Workspaces may also have a max session length, which enforces a stop or restart even if you are actively using your workspace.
59
57
60
58

0 commit comments