Spend Management is a feature designed to help you monitor and control your team's spending on Epycbyte. This tool allows you to set specific spend thresholds and take action when your budget is reached or exceeded.
How Spend Management Works
Spend Management enables you to:
- Monitor Spending: Track your team's current spending in real-time.
- Set Budgets: Define a monthly spending limit for your team.
- Pause Projects: Temporarily stop spending on specific projects when the budget is near its limit.
- Receive Notifications: Get alerts when your spending approaches or reaches your budget.
Setting Your Spend Amount
- Log into your Epycbyte account and navigate to the Spend Management section.
- Enter the monthly budget you want to set for your team.
- Save your preferences.
Once your budget is set, Epycbyte will monitor your spending 24/7. When your spending approaches or reaches your budget, you'll receive an alert.
Managing Alert Thresholds
You can customize alerts to notify you when:
- Spending reaches 90% of the budget.
- Spending reaches 100% of the budget (budget is fully utilized).
- The billing cycle ends.
Pausing Projects
When your spending is close to or at your budget limit, you can pause projects to avoid exceeding your spend limit. This ensures that you stay within your allocated resources.
Resuming Projects
After adjusting your spending, you can resume projects manually. Epycbyte does not automatically resume paused projects; this must be done manually by the account owner.
Configuring a Webhook
You can set up a webhook to receive notifications when:
- Spending reaches 100% of the budget.
- The billing cycle ends (useful for resuming paused projects).
To configure a webhook:
- Go to the Spend Management section.
- Enter your desired webhook URL in the appropriate field.
- Save your settings.
Epycbyte will send a POST request to your webhook URL with details about the event, such as the current spend amount and team ID.
Webhook Payload
The payload includes:
budgetAmount: The spend limit you set.currentSpend: The actual spending up to that point.teamId: Your Epycbyte Team ID.
Example:
{
"budgetAmount": 500,
"currentSpend": 500,
"teamId": "team_jkT8yZ3oE1u6xLo8h6dxfNc3"
}
End of Billing Cycle
A webhook is also sent when the billing cycle ends. This can be used to resume paused projects.
Activity Tracking
Epycbyte tracks all spend management activities, such as budget updates and project pauses, in the Activity section of your dashboard.
Resources
For more information on pricing, consumption optimization, and invoices:
- Conceptual: How are resources used on Epycbyte?
- How-to: Manage and optimize usage
- Understanding my invoice