Metering

Unified Metering interface to cover all pricing models crossing all marketplaces


Overview

There are varies of pricing models crossing three cloud marketplaces. Some of them share the same name, but have totally different models. For example, AWS Subscription is Pay-as-you-go (usage-based metering), but GCP Subscription is flat-monthly-commit without usage-based metering.

VendorPricing ModelDescriptionSupport Usage-based Metering
AWSSubscriptionPay-as-you-go, no commit, buyers can cancel any time.YES
AWSContractCommit contract, can't be cancelled, buyers can also pay for additional usage above their contract.YES
AzureFlat RateMonthly or annually commit contract, buyers can also pay for additional usage above their contract (included quantity).YES
AzurePer UserMonthly or annually commit contract per user, support updating user quantity, buyers can also pay for additional usage above their contract (included quantity).YES
GCPSubscription-basedFlat rate commit contract.NO
GCPUsage-basedPay-as-you-go, no commit.YES
GCPCombinedFlat rate commit + Usage-based together.YES

Meter Usage Records

To send metering records for an active Entitlement in AWS, Azure or GCP, send a POST request to the Suger Metering API with a body similar to the following example. Suger will validate, aggregate & report them to the right vendor within the right pricing model format.

{  "organizationID": "your-suger-org-id",  "entitlementID": "your-suger-entitlement-id",  "records": {    "dimension-key-0": 2,    "dimension-key-2": 6,    "dimension-key-3": 10,  }}