Skip to content

Commit 329f8c4

Browse files
authored
Merge pull request #263292 from j-martens/patch-3
Quota tweaks
2 parents 83db6b5 + e914fdd commit 329f8c4

File tree

4 files changed

+23
-45
lines changed

4 files changed

+23
-45
lines changed

articles/dev-box/dev-box-faq.yml

Lines changed: 1 addition & 40 deletions
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ metadata:
66
ms.author: rosemalcolm
77
ms.service: dev-box
88
ms.topic: faq
9-
ms.date: 05/16/2023
9+
ms.date: 01/16/2024
1010
title: "Microsoft Dev Box: Frequently asked questions"
1111
summary: This article provides answers to some of the most commonly asked questions about [Microsoft Dev Box](https://azure.microsoft.com/services/dev-box/).
1212

@@ -85,46 +85,7 @@ sections:
8585

8686
- question: Is there a policy or a feature to prevent users copying data or code from the Dev Box to their laptop using the clipboard?
8787
answer: You can prevent users copying data or code from the Dev Box to their local machine by disabling the clipboard redirection feature in the RDP client. You can manage this setting through a device configuration policy in Microsoft Intune. For more information, see [RDP device redirection settings](/windows-365/enterprise/manage-rdp-device-redirections#rdp-device-redirection-settings).
88-
89-
- name: Dev Box quota
90-
questions:
91-
- question: What is quota?
92-
answer: |
93-
To ensure that resources are available for customers, Microsoft Dev Box has a limit on the number of each type of resource that can be used in a subscription. This limit is called a quota.
94-
There are different types of quota that you can encounter in the Developer portal and Azure portal, such as quota for:
95-
- Dev Box vCPU (This is a quota error you'll encounter in devportal.microsoft.com during dev box creation)
96-
97-
Or, for Azure portal resource limits:
98-
- Dev Centers
99-
- Network connections
100-
- Dev Box Definitions
101-
102-
- question: What should I do if I hit a vCPU quota error?
103-
answer: |
104-
If you are in the developer portal, you might see a *QuotaExceeded* error during dev box creation.
105-
If you see this error, contact your administrator for assistance to increase this quota. You can point them to the documentation on [requesting a quota limit](/azure/dev-box/how-to-request-quota-increase).
106-
If your admin can't increase the quota limit at this time, try selecting another pool with a region close to your location.
107-
108-
- question: How can I check my Dev Box quota?
109-
answer: |
110-
You can check your Dev Box quota using either:
111-
- REST API - [Usages - List By Location - REST API (Azure Dev Center) | Microsoft Learn](/rest/api/devcenter/administrator/usages/list-by-location?tabs=HTTP)
112-
- CLI - [az devcenter admin usage | Microsoft Learn |](/cli/azure/devcenter/admin/usage?view=azure-cli-latest)
113-
114-
- name: Dev Box hibernation
115-
questions:
116-
- question: Can I use auto-stop schedules to hibernate Dev Boxes on a schedule? # Question.
117-
answer:
118-
The ability to use auto-stop schedules to initiate hibernation is in Preview.
119-
120-
- question: I enabled hibernation on a Dev Box definition, but my Dev Box definition reports that hibernation couldn't be enabled. # Question.
121-
answer: |
122-
- We recommend using the Visual Studio for Dev Box marketplace images, either directly, or as base images for generating your custom image.
123-
- The Windows + OS optimizations image contains optimized power settings, and they can't be used with hibernation.
124-
- 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.
125-
- 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.
12688

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

12990
additionalContent: |
13091
## Related content

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

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -141,6 +141,16 @@ az devcenter admin devbox-definition update
141141
--dev-box-definition-name <devBoxDefinitionName> -–dev-center-name <devCenterName> --resource-group <resourceGroupName> –-hibernateSupport Enabled
142142
```
143143

144+
### Troubleshooting
145+
146+
If you enable hibernation on a Dev Box definition, but the definition reports that hibernation couldn't be enabled:
147+
- We recommend using the Visual Studio for Dev Box marketplace images, either directly, or as base images for generating your custom image.
148+
- The Windows + OS optimizations image contains optimized power settings, and they can't be used with hibernation.
149+
- 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.
150+
- 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.
151+
152+
For more information, see [Settings not compatible with hibernation](how-to-configure-dev-box-hibernation.md#settings-not-compatible-with-hibernation).
153+
144154
## Disable hibernation on a dev box definition
145155

146156
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.

articles/dev-box/how-to-determine-your-quota-usage.md

Lines changed: 9 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
---
2-
title: How to determine your resource usage and quota
2+
title: Determine your resource usage and quota
33
description: Learn how to determine where the Dev Box resources for your subscription are used and if you have any spare capacity against your quota.
44
services: dev-box
55
ms.service: dev-box
@@ -11,11 +11,14 @@ ms.date: 01/09/2024
1111

1212
# Determine resource usage and quota for Microsoft Dev Box
1313

14-
To ensure that resources are available for customers, Microsoft Dev Box has a limit on the number of each type of resource that can be used in a subscription. This limit is called a _quota_.
14+
To ensure that resources are available for customers, Microsoft Dev Box has a limit on the number of each type of resource that can be used in a subscription. This limit is called a quota. There are different types of quota related to Dev Box that you might see in the Developer portal and Azure portal, such as quota for Dev Box vCPU for box creation as well as portal resource limits for Dev Centers, network connections, and Dev Box Definitions.
1515

1616
Keeping track of how your quota of virtual machine cores is being used across your subscriptions can be difficult. You might want to know what your current usage is, how much is remaining, and in what regions you have capacity. To help you understand where and how you're using your quota, Azure provides the **Usage + Quotas** page in the Azure portal.
1717

18-
## Determine your Dev Box usage and quota by subscription
18+
For example, if dev box users encounter a vCPU quota error such as, *QuotaExceeded*, error during dev box creation there may be a need to increase this quota. A great place to start is to determine the current quota available.
19+
20+
21+
## Determine your Dev Box usage and quota by subscription in Azure portal
1922

2023
1. Sign in to the [Azure portal](https://portal.azure.com), and go to the subscription you want to examine.
2124

@@ -59,3 +62,6 @@ Each subscription has its own **Usage + quotas** page that covers all the variou
5962

6063
- Check the default quota for each resource type by subscription type with [Microsoft Dev Box limits](../azure-resource-manager/management/azure-subscription-service-limits.md#microsoft-dev-box-limits)
6164
- Learn how to [request a quota limit increase](./how-to-request-quota-increase.md)
65+
- You can also check your Dev Box quota using either:
66+
- REST API: [Usages - List By Location - REST API (Azure Dev Center)](/rest/api/devcenter/administrator/usages/list-by-location?tabs=HTTP)
67+
- CLI: [az devcenter admin usage](/cli/azure/devcenter/admin/usage)

articles/dev-box/quickstart-create-dev-box.md

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -59,8 +59,9 @@ To create a dev box in the Microsoft Dev Box developer portal:
5959

6060
1. Use the dev box tile in the developer portal to track the progress of creation.
6161

62-
63-
62+
> [!Note]
63+
> If you encounter a vCPU quota error with a *QuotaExceeded* message, ask your administrator to [request an increased quota limit](/azure/dev-box/how-to-request-quota-increase). If your admin can't increase the quota limit at this time, try selecting another pool with a region close to your location.
64+
6465
:::image type="content" source="./media/quickstart-create-dev-box/dev-box-tile-creating.png" alt-text="Screenshot of the developer portal that shows the dev box card with a status of Creating.":::
6566

6667

0 commit comments

Comments
 (0)