Skip to content

Commit 17da0f1

Browse files
author
RoseHJM
committed
MDB - automatic hibernation
1 parent e900cc7 commit 17da0f1

File tree

3 files changed

+21
-1
lines changed

3 files changed

+21
-1
lines changed

articles/dev-box/how-to-configure-dev-box-hibernation.md

Lines changed: 21 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ ms.custom:
1212
- build-2025
1313
author: RoseHJM
1414
ms.author: rosemalcolm
15-
ms.date: 03/23/2025
15+
ms.date: 06/23/2025
1616
ms.topic: how-to
1717

1818
#customer intent: As a platform engineer, I want to configure hibernation for dev box definitions so that I can manage resource usage efficiently.
@@ -143,6 +143,26 @@ az devcenter admin devbox-definition update
143143
--dev-box-definition-name <devBoxDefinitionName> -–dev-center-name <devCenterName> --resource-group <resourceGroupName> –-hibernateSupport Enabled
144144
```
145145

146+
## Enable automatic hibernation for dev boxes that have never been accessed
147+
148+
This feature helps you minimize costs by automatically hibernating dev boxes that start but no user connects to. If a dev box starts and no one connects with RDP, it enters hibernation after the grace period you set. This setting makes sure idle dev boxes don't use resources unnecessarily, so you optimize costs and resource usage.
149+
150+
To set up hibernation for dev boxes that have never been accessed, you need to enable the setting in the dev box pool.
151+
152+
1. Sign in to the [Azure portal](https://portal.azure.com).
153+
1. In the search box, enter **projects**. In the list of results, select **Projects**.
154+
1. Open the project with the dev box pool you want to update, and then select **Dev box pools**.
155+
1. Select the dev box pool you want to update, then on the Dev box operations menu (**...**), select **Edit**.
156+
1. On the **Edit dev box pool** page, select **Hibernate dev boxes that have never been accessed**.
157+
158+
:::image type="content" source="media/how-to-configure-dev-box-hibernation/dev-box-pool-enable-hibernation-not-connected.png" alt-text="Screenshot of the Dev Box pool settings page showing the option to enable hibernation for dev boxes that have not been connected.":::
159+
160+
1. When you select **Hibernate dev boxes that have never been accessed**, you can set a grace period. This lets users connect to the dev box before it hibernates. Set the **Grace period in minutes** to the time you want.
161+
162+
:::image type="content" source="media/how-to-configure-dev-box-hibernation/dev-box-pool-hibernation-not-connected-options.png" alt-text="Screenshot of the Dev Box pool settings page showing configuration options for hibernating dev boxes that have not been connected, including the grace period setting.":::
163+
164+
1. Select **Save**.
165+
146166
### Troubleshooting
147167

148168
If you enable hibernation on a Dev Box definition and the definition reports that hibernation isn't enabled:
50.7 KB
Loading
22 KB
Loading

0 commit comments

Comments
 (0)