Skip to main content

Overview

Once a buyer’s agreement is registered, usage reporting runs automatically. You do not call Flexprice again for that buyer unless their subscription changes. Flexprice computes each mapped subscription’s usage for the elapsed period and reports it against your product’s single usage dimension. AWS then invoices the buyer and pays you out.

What Flexprice Meters to AWS

The amount reported to AWS is the same billable amount that appears on that subscription’s Flexprice invoice for the same period. It is computed with the same rules, so AWS bills what Flexprice bills. That means the reported amount already accounts for:
  • Usage-based charges across every meter on the subscription
  • Commitment amounts, where the subscription has a committed spend
  • Overage rates, where usage exceeds the commitment
The amount is reported in cents against your single usage dimension. With the dimension priced at $0.01 per unit, AWS multiplies it back into the exact amount, down to the cent. See Create Your AWS Marketplace Listing.

Reporting Cadence

Flexprice reports usage to AWS on a recurring schedule, approximately every 6 hours, not in real time. Do not expect usage to appear in AWS immediately after it happens in Flexprice.

Where Usage Appears in AWS

Reported usage shows up against your product on the buyer’s AWS bill, under the AWS Marketplace service provider. Use this to confirm usage is reaching AWS.
AWS bill showing Marketplace charges

Retries and Failures

Reporting recovers from transient failures on its own.
  • Reports are safe to retry. Each report carries a fixed timestamp, so a retry is an identical request and AWS de-duplicates it rather than billing twice.
  • Unaccepted reports are retried. If AWS does not accept a report, it stays unreported and is retried on the next run. No action is needed from you.
  • A rejected buyer resolves itself. If AWS reports the buyer has no active agreement, reporting keeps retrying and succeeds once the buyer’s agreement is active again.

Handling Marketplace Lifecycle Events

Flexprice does not learn about AWS-side changes to a buyer’s subscription. You handle these.
If a buyer cancels on AWS and you leave their Flexprice subscription active, Flexprice keeps computing usage for it and attempting to report it to AWS. Cancel the Flexprice subscription to stop this.
To detect these events, subscribe to your product’s AWS SNS topics in your own application. Flexprice does not subscribe to them.

Troubleshooting

Next Steps

Connection Setup

Set up your AWS listing, IAM role, and Flexprice connection.

Agreement Registration

Link each buyer’s AWS agreement to a Flexprice subscription.