CloudSat does not send email, so the warning that your balance is getting low arrives as a notification in the console. A threshold that you choose makes sure it comes early enough to top up before anything is suspended.
Set your threshold
- Open Billing. The alert lives on the Overview tab.
- Find the Low-balance alert card.
- In Notify me under, type an amount in US dollars, for example
25.00. - Click Save. The console confirms: "You will be notified under $25.00."
To turn your threshold off, empty the field and click Save. The console answers "Low-balance alert turned off."
When the alert fires
- The console checks balances regularly and sends you this alert at most once a day.
- It compares your balance with the higher of two figures: your own threshold, and 3 days of hourly usage. Hourly usage counts every hourly server that is running or off, at its monthly price divided by 30 for each day.
- So even with the field empty, you are warned when your hourly servers have less than 3 days of balance left, as the hint under the field says.
- With no hourly server and no threshold, there is nothing to watch and no alert is sent.
The notification reads "Your balance is running low", followed by your balance. When you have hourly servers, it adds how long the balance lasts at the current usage, for example "At the current usage it lasts about 4 days." Click it to go straight to Add funds.
Choose a threshold that fits
Hourly servers. The Balance tile on the Billing overview shows the most your hourly servers can use in a month, for example "Hourly servers use up to $60.00/mo". That is $2.00 a day, so a $14 threshold gives you about a week of warning. Pick the number of days you need to buy crypto and send it.
Prepaid servers (1, 3, 6 or 12 months). Renewals are not part of the automatic calculation. Look at Upcoming renewals on the Billing overview and keep your threshold above the next renewal amount, so that Auto-renew from balance finds enough money at the end of the term.
Extras. Snapshots and floating IPs also draw from your balance. Add a little margin if you keep many of them.
Other places that show your balance
- The sidebar and the top bar show your balance on every console page.
- The Balance tile on the Overview page estimates "About N days of hourly usage left".
- When your balance is below zero, every console page shows a red banner: "Your balance is negative. Hourly servers are suspended until you add funds."
- From a script,
GET /accountin the API returns your balance asbalance_usd. You need a token with the read scope: see Create and use API tokens and the API reference.
Troubleshooting
- I did not get an alert. Alerts appear only under the bell in the console, never by email. Your balance must be below the threshold, and only one alert is sent a day. See Notifications in the console.
- The alert came too late. Raise the threshold, or add the cost of your next renewal to it.
- I set $0. A zero threshold only leaves the automatic 3-day warning for hourly servers. Empty the field to make that clear, or set a real amount.
If your balance does run out, read When your balance runs out. To top up, see Add funds to your balance.