Skip to content

Commit 0926790

Browse files
Merge pull request #296825 from RoseHJM/mdb-freshness-march-03
MDB - Freshness March 03
2 parents c1bb283 + a588e6c commit 0926790

File tree

1 file changed

+21
-15
lines changed

1 file changed

+21
-15
lines changed

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

Lines changed: 21 additions & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -1,27 +1,29 @@
11
---
22
title: Configure hibernation for Microsoft Dev Box
33
titleSuffix: Microsoft Dev Box
4-
description: Learn how to enable, disable, and troubleshoot hibernation in Microsoft Dev Box. Configure hibernation settings for your image and dev box definition.
4+
description: "Configure hibernation in Microsoft Dev Box to support cost-effective development and uninterrupted workflows. "
55
services: dev-box
66
ms.service: dev-box
77
ms.custom:
88
- build-2024
9+
- ai-gen-docs-bap
10+
- ai-gen-description
11+
- ai-seo-date:03/23/2025
912
author: RoseHJM
1013
ms.author: rosemalcolm
11-
ms.date: 01/02/2024
14+
ms.date: 03/23/2025
1215
ms.topic: how-to
13-
#Customer intent: As a platform engineer, I want dev box users to be able to hibernate their dev boxes as part of my cost management strategy and so that dev box users can resume their work where they left off.
16+
17+
#customer intent: As a platform engineer, I want to configure hibernation for dev box definitions so that I can manage resource usage efficiently.
1418
---
1519

1620
# Configure hibernation in Microsoft Dev Box
1721

18-
In this article, you learn how to enable and disable hibernation in Microsoft Dev Box. You control hibernation at the dev box image and dev box definition level.
19-
20-
Hibernating dev boxes at the end of the workday can help you save a substantial portion of your virtual machine (VM) costs. It eliminates the need for developers to shut down their dev box and lose their open windows and applications.
22+
Hibernation in Microsoft Dev Box helps you manage cloud development environments efficiently while reducing costs. By enabling hibernation, you can preserve the state of open applications and windows, saving virtual machine (VM) costs without disrupting workflows. This article explains how to configure hibernation at the dev box image and definition levels, automate hibernation schedules, and address compatibility considerations.
2123

22-
With the introduction of Dev Box Hibernation (Preview), you can enable this capability on new dev boxes and hibernate and resume them. This feature provides a convenient way to manage your dev boxes while maintaining your work environment.
24+
With Dev Box Hibernation (Preview), you can enable hibernation on new dev boxes, allowing you to hibernate and resume them seamlessly. This feature simplifies dev box management while maintaining productivity.
2325

24-
There are three steps to enable hibernation:
26+
Follow these three steps to enable hibernation:
2527

2628
1. Enable hibernation on your dev box image
2729
1. Enable hibernation on your dev box definition
@@ -39,7 +41,7 @@ Before you enable hibernation on your dev box, review the following consideratio
3941

4042
- You can enable hibernation only on new dev boxes created with hibernation-enabled dev box definitions. You can't enable hibernation on existing dev boxes.
4143

42-
- You can hibernate a dev box only by using the Microsoft developer portal, the Azure CLI, PowerShell, SDKs, and the REST API. Hibernating from within the dev box in Windows isn't supported.
44+
- You can hibernate a dev box using the Microsoft developer portal, the Azure CLI, PowerShell, SDKs, or the REST API. Hibernating from within the dev box in Windows isn't supported.
4345

4446
- If you're working with an Azure Marketplace image, we recommend using the Visual Studio for dev box images.
4547

@@ -51,10 +53,10 @@ Before you enable hibernation on your dev box, review the following consideratio
5153

5254
- Hibernation doesn't support hypervisor-protected code integrity (HVCI)/ Memory Integrity features. Dev box disables this feature automatically.
5355

54-
- Auto-stop schedules will hibernate Dev Boxes that were created after you enabled hibernation on the associated Dev Box definition. Dev Boxes that were created before you enabled hibernation on the Dev Box definition will continue to shut down.
56+
- Auto-stop schedules hibernate Dev Boxes created after you enable hibernation on the associated Dev Box definition. Dev Boxes that were created before you enabled hibernation on the Dev Box definition will continue to shut down.
5557

5658
> [!NOTE]
57-
> The functionality to schedule dev boxes to hibernate automatically is available as a public preview. You can read more about the announcement at [Microsoft Dev Box - Auto-Hibernation Schedules Preview](https://aka.ms/devbox/preview/hibernate-on-schedule).
59+
> The functionality to schedule dev boxes to hibernate automatically is available as a public preview.
5860
5961
### Settings not compatible with hibernation
6062

@@ -70,6 +72,7 @@ The following settings are known to be incompatible with hibernation, and aren't
7072
1. Under **Memory integrity**, set the toggle to **Off**.
7173

7274
After you change this setting, you need to restart the machine.
75+
After changing this setting, restart the machine.
7376

7477
- **Guest Virtual Secure Mode based features without Nested Virtualization enabled**
7578

@@ -105,6 +108,8 @@ az sig image-version create
105108

106109
For more information about creating a custom image, see [Configure a dev box by using Azure VM Image Builder](how-to-customize-devbox-azure-image-builder.md).
107110

111+
Learn more about creating a custom image in [Configure a dev box by using Azure VM Image Builder](how-to-customize-devbox-azure-image-builder.md).
112+
108113
## Enable hibernation on a dev box definition
109114

110115
In Microsoft Dev Box, you can enable hibernation for a new dev box definition when the definition uses a hibernation-enabled custom or Azure Marketplace image. You can also update an existing dev box definition that uses a hibernation-enabled custom or Azure Marketplace image.
@@ -146,16 +151,18 @@ az devcenter admin devbox-definition update
146151

147152
### Troubleshooting
148153

149-
If you enable hibernation on a Dev Box definition, but the definition reports that hibernation couldn't be enabled:
154+
If you enable hibernation on a Dev Box definition and the definition reports that hibernation isn't enabled:
150155
- We recommend using the Visual Studio for Dev Box marketplace images, either directly, or as base images for generating your custom image.
151-
- The Windows + OS optimizations image contains optimized power settings, and they can't be used with hibernation.
156+
- The Windows + OS optimizations image contains optimized power settings and isn't compatible with hibernation.
152157
- If you're using a custom Azure Compute Gallery image, enable hibernation on your Azure Compute Gallery image before enabling hibernation on your Dev Box definition.
153158
- If hibernation can't be enabled on the definition even after you enable it on your gallery image, your custom image likely has a Windows configuration that prevents hibernation.
154159

155-
For more information, see [Settings not compatible with hibernation](how-to-configure-dev-box-hibernation.md#settings-not-compatible-with-hibernation).
160+
For more information, see [Settings not compatible with hibernation](#settings-not-compatible-with-hibernation).
156161

157162
## Disable hibernation on a dev box definition
158163

164+
If you encounter issues provisioning new VMs after enabling hibernation on a pool, disable hibernation on the dev box definition.
165+
159166
If you have issues provisioning new VMs after you enable hibernation on a pool, you can disable hibernation on the dev box definition. You can also disable hibernation when you want to revert the setting to only shutdown dev boxes.
160167

161168
You can disable hibernation on a dev box definition by using the Azure portal or the CLI.
@@ -185,7 +192,6 @@ az devcenter admin devbox-definition update
185192

186193
## Related content
187194

188-
189195
- [How to hibernate your dev box](how-to-hibernate-your-dev-box.md)
190196
- [Configure a dev box by using Azure VM Image Builder](how-to-customize-devbox-azure-image-builder.md)
191197
- [Azure CLI reference for az devcenter admin devbox-definition](/cli/azure/devcenter/admin/devbox-definition?view=azure-cli-latest&preserve-view=true)

0 commit comments

Comments
 (0)