Skip to content

batchmeterusage deduplication

0

on this link: https://docs.aws.amazon.com/marketplace/latest/userguide/metering-for-usage.html it says:

We deduplicate metering requests on the hour.

Requests are deduplicated per product/customer/hour/dimension.

You can always retry any request, but if you meter for a different quantity, the original quantity is billed.

If you send multiple requests for the same customer/dimension/hour, the records are not aggregated.

we are implementing a consumption based pricing model in which the customer will be billed for the hourly usage of their ec2 instances. so if the customer is running lets say 3 ec2 instances we will be sending records from each instance to the metering api. is that going to run into deduplication? specifically,

If you send multiple requests for the same customer/dimension/hour, the records are not aggregated.

how do we work around it? these are not duplicate requests. each request is for the respective ec2 instance.

asked a year ago124 views

1 Answer
0

Hello

I understand you are using a SaaS based charging. In this case The marketplace de-duplicates requests. You need to consolidate this, for example in a lambda function.

If you actually are charging per EC2 instance consumption, maybe a pay as you go AMI based charging might be easier to use. The MeterUsage API is designed for AMI products on Marketplace or Container products.

Hope this helps.

AWS

answered 10 months ago

You are not logged in. Log in to post an answer.

A good answer clearly answers the question and provides constructive feedback and encourages professional growth in the question asker.