Managing billing for Codespaces in your organization

You can check your Codespaces usage and set usage limits.

To manage billing for Codespaces for an organization, you must be an organization owner or a billing manager.

Codespaces is available for organizations using GitHub Team or GitHub Enterprise Cloud. 詳しい情報については「GitHubの製品」を参照してください。

概要

To learn about pricing for Codespaces, see "Codespaces pricing."

Codespaces are billed in US dollars (USD) according to their compute and storage usage.

Calculating compute usage

The total number of uptime minutes for which the Codespaces instances are active. Compute usage is calculated by the actual number of minutes used by all codespaces. These totals are reported to the billing service daily, and are billed monthly.

Uptime is controlled by stopping your codespace which can be done manually or based on period of inactivity. For more information, see "Closing or stopping your codespace".

Calculating storage usage

For Codespaces billing purposes, this includes all storage used by all codespaces in your account. This includes any files used by the codespaces, such as cloned repositories, configuration files, and extensions, among others. These totals are reported to the billing service daily, and are billed monthly. 月末に、GitHubはストレージ使用量を最も近いGBに丸めます。

使用制限

You can set a usage limit for the codespaces in your organization or repository. This limit is applied to the compute and storage usage for Codespaces:

  • Compute minutes: Compute usage is calculated by the actual number of minutes used by all Codespaces instances while they are active. These totals are reported to the billing service daily, and is billed monthly. You can set a spending limit for Codespaces usage in your organization. For more information, see "Managing spending limits for Codespaces."

  • Storage usage: For Codespaces billing purposes, this includes all storage used by all codespaces in your account. This includes all used by the codespaces, such as cloned repositories, configuration files, and extensions, among others. These totals are reported to the billing service daily, and is billed monthly. 月末に、GitHubはストレージ使用量を最も近いGBに丸めます。 To check how many compute minutes and storage GB have been used by Codespaces, see "Viewing your Codespaces usage"."

Disabling or limiting Codespaces

You can disable the use of Codespaces in your organization or repository. For more information, see "Managing repository access for your organization's codespaces."

You can also limit the individual users who can use Codespaces. For more information, see "Managing user permissions for your organization."

Deleting unused codespaces

Your users can delete their codespaces in https://github.com/codespaces and from within Visual Studio Code. To reduce the size of a codespace, users can manually delete files using the terminal or from within Visual Studio Code.

注釈: codespace を作成したユーザだけが削除できます。 現在、Organization のオーナーが Organization 内で作成された Codespaces を削除する方法はありません。

このドキュメントは役立ちましたか?

プライバシーポリシー

これらのドキュメントを素晴らしいものにするのを手伝ってください!

GitHubのすべてのドキュメントはオープンソースです。間違っていたり、はっきりしないところがありましたか?Pull Requestをお送りください。

コントリビューションを行う

OR, コントリビューションの方法を学んでください。

問題がまだ解決していませんか?