ON-PREM CHOREO CLOUD BOTH

What it is

billing-service manages subscriptions, entitlements and usage metering for Choreo Cloud. For Agent Manager it holds the product, plans and quotas, and it receives usage events from the metering job. It supports Stripe and AWS Marketplace payments.

Why it exists

A paid SaaS needs to know what each customer is entitled to and how much they have used.

How it works

  • Product agent-manager has a 30-day trial plan, then an enterprise plan.
  • Trial quotas include 5 platform agents, 5 external agents, 1 environment and 5 projects.
  • Receives usage events at POST /metering/api/v1/events.
  • Entitlement is checked before an agent is created, and exceeding a quota returns 402.
  • Publishes events such as subscription.activated on NATS, which triggers provisioning.

Identity and access

The metering job authenticates with client_credentials as METERING_PUBLISHER_APP, and billing works out the customer from the token.

Key facts

Cluster
cloud-cp (project core)
Product
agent-manager
Plans
Trial (30 days), enterprise
Edition
Choreo Cloud
Namespace
cloud-cp

Talks to (1)

Used by (4)

Inside and around

Part of: cloud-cp (cloud control plane)