Skip to content

Latest commit

 

History

History
92 lines (63 loc) · 4.87 KB

managing-the-spending-limit-for-github-codespaces.md

File metadata and controls

92 lines (63 loc) · 4.87 KB
title intro shortTitle versions type topics redirect_from
Managing the spending limit for GitHub Codespaces
You can set a spending limit for {% data variables.product.prodname_github_codespaces %} usage.
Spending limit
fpt ghec
*
*
how_to
Codespaces
Enterprise
Organizations
Spending limits
User account
Billing
/billing/managing-billing-for-github-codespaces/managing-spending-limits-for-codespaces
/billing/managing-billing-for-github-codespaces/managing-spending-limits-for-github-codespaces

About the {% data variables.product.prodname_github_codespaces %} spending limit

{% data reusables.codespaces.codespaces-free-for-personal-intro %} For more information, see "AUTOTITLE."

{% data reusables.codespaces.codespaces-spending-limit-requirement %} {% data reusables.codespaces.codespaces-monthly-billing %}

Once you've reached your spending limit, you will no longer be able to create new codespaces, and you won't be able to start existing codespaces. Any existing codespaces that are still running will be shut down in a short time, but you will not be charged for usage after you have reached your spending limit.

Using your Azure Subscription

If you are an organization owner{% ifversion ghec %} or enterprise owner{% endif%}, you can connect an Azure Subscription ID to your organization {% ifversion ghec %}or enterprise{% endif%} account to enable and pay for {% data variables.product.prodname_github_codespaces %} usage. For more information, see "AUTOTITLE."

Managing the {% data variables.product.prodname_github_codespaces %} spending limit for your personal account

You can set a spending limit for {% data variables.product.prodname_github_codespaces %} for your own personal account.

{% data reusables.user-settings.access_settings %} {% data reusables.user-settings.billing_plans_spending %} {% data reusables.dotcom_billing.manage-spending-limit %} {% data reusables.codespaces.monthly-spending-limit-codespaces %} {% data reusables.dotcom_billing.update-spending-limit %}

Managing the {% data variables.product.prodname_github_codespaces %} spending limit for your organization account

Organizations owners and billing managers can manage the spending limit for {% data variables.product.prodname_github_codespaces %} for an organization.

{% note %}

Note: Organizations that are owned by an enterprise account cannot specify their own spending limit as this is specified in the enterprise settings.

{% endnote %}

{% data reusables.organizations.billing-settings %} {% data reusables.dotcom_billing.manage-spending-limit %} {% data reusables.codespaces.monthly-spending-limit-codespaces %} {% data reusables.dotcom_billing.update-spending-limit %}

{% ifversion ghec %}

Managing the {% data variables.product.prodname_github_codespaces %} spending limit for your enterprise account

Enterprise owners and billing managers can manage the spending limit for {% data variables.product.prodname_github_codespaces %} for an enterprise account.

{% data reusables.enterprise-accounts.access-enterprise %} {% data reusables.enterprise-accounts.settings-tab %} {% data reusables.enterprise-accounts.billing-tab %}

  1. On the "Billing" page, click the Spending limit tab.

    Screenshot of the "Billing" page. A tab labeled "Spending limit" is highlighted with an orange outline.

{% data reusables.codespaces.monthly-spending-limit-codespaces %} {% data reusables.dotcom_billing.update-spending-limit %} {% endif %}

Exporting changes when you have reached your spending limit

{% data reusables.codespaces.exporting-changes %}

Managing usage and spending limit email notifications

Email notifications are sent to account owners and billing managers when spending reaches 75%, 90%, and 100% of an account's spending limit.

You can turn off these notifications at any time from the "Billing and plans" page. To turn off notifications, under "Email alerts", deselect the Spending limits alerts checkbox.

For personal accounts only, you can also choose to turn off email notifications that are sent when you have used 75%, 90%, and 100% of the free usage included with your personal account. To do this, clear the Included resources alerts checkbox.

Screenshot of the "Email alerts" settings. The options "Included resources alerts" and "Spending limit alerts" are both selected.

Further reading