Track and limit your spending
See what you have spent this month, cap a project's budget, and set a usage limit that stops services before the bill grows.
All pages
Open Billing in the console. Summary shows what this month has cost So far, plan fee included, what it's Projected to reach by the end of the month, and the day its invoice is issued.
Choose Usage, or press ⌘K and choose Workspace › Usage, to see the month broken down by project, environment and service. Each row shows what it has cost So far and what it's Projected to cost by the end of the month. Last month has its own tab, with a link to its invoice once it's issued.
With the CLI:
ghaym cloud billing spend shop
ghaym cloud usageThe first shows one project's spend this month, and the second shows the workspace's metered usage and cost. How each line is priced is in billing.
A budget cap is set from the CLI, in your workspace's currency:
ghaym cloud projects update shop --budget-cap 50Ghaym refuses to add a new service when this month's spend so far, plus that service's monthly price, would pass the cap. A service billed only by use, with no fixed monthly price, isn't checked against it. Services that already run are never stopped by the cap. In Usage, the project's row shows its cap.
To set a cap when you create a project, add --budget-cap to ghaym cloud projects create. To remove it, pass --budget-cap none.
The usage limit covers the whole workspace, and only the owner and admins can change it.
- On Billing, choose Set limit, or Change limit if one is set, or press ⌘K and choose Workspace › Edit usage limit.
- Type an amount in your workspace's currency, with up to three decimals in JOD or two in SAR, and choose Save.
- If it's below what this month has already used, the button says Save and stop services, and saving stops your services now.
- To take the limit away, empty the field and choose Remove limit.
When usage reaches the limit, your services stop until you raise it or the next month starts. Nothing is deleted. Billing shows that you've reached the limit and services are stopped. Choose Raise limit, and services come back within a minute. Email alerts warn the owner and admins at 80% of the limit, and again when it's reached.