Using cost centers to allocate costs to business units
Learn how to create and use cost centers to manage costs across your company's divisions at scale.
Who can use this feature?
GitHub Enterprise Cloud
In this article
Note
Before you create or update a cost center, if you're unsure of how spending will be allocated to the cost center, seeCost center allocation for different products.
Creating a cost center
Note
An enterprise can create up to 250 cost centers.
Create cost centers to monitor and manage expenses for specific organizations or repositories. Multiple organizations, repositories, and users can be assigned to one cost center.
When you create a cost center, you can addorganizations,repositories, orusers. The cost center will then track spending for the selected entities.
In the top-right corner of GitHub, click your profile picture.
Depending on your environment, clickEnterprise, or clickEnterprises then click the enterprise you want to view.
At the top of the page, click Billing and licensing.
ClickCost centers.
ClickNew cost center in the upper-right corner.
In the text box under "Name", enter a name for your cost center.
If your account is billed to Azure, you have the option to add an Azure ID. Your credentials will be verified against Azure to ensure the Azure IDs associated to your account are available.
UnderResources, select the organizations, repositories, and/or users that will be a part of the cost center.
Note
A resource (organization, repository, or user) can only be assigned to one cost center at a time. If you add a resource that belongs to a different cost center, it will be moved to the new cost center and you will be notified.
ClickCreate cost center.
Adding a budget to a cost center
After you create a cost center, you can add a monthly budget and receive alerts from the cost center to monitor your spending and usage. SeeSetting up budgets to control spending on metered products.
Viewing cost center usage
You can view the usage of your cost centers and download the usage data for further analysis. SeeGathering insights on your spending.
Viewing, editing, and deleting cost centers
You can view, edit, and delete cost centers to manage your business units effectively.
- In the top-right corner of GitHub, click your profile picture.
- Depending on your environment, clickEnterprise, or clickEnterprises then click the enterprise you want to view.
- At the top of the page, click Billing and licensing.
- ClickCost centers.
- Select to the right of a cost center, then clickView details,Edit, orDelete.
- Follow the prompts.