IOT MQTT Message cost/billing appears larger than expected. Per character maybe?

0

I deployed a prototype AWS FreeRTOS device in the field last week and my message count appears way out. By my count I received nearly 5000 messages over mqtt. But according to my first bill that was 230,000 messages costing 23c - AWS IoT USW2-Messages. Am I doing something wrong? Is the cost really per character maybe? My average message length is about 50.

Thanks in advance.

質問済み 2年前490ビュー
2回答
0
承認された回答

Hi. Messages are metered in 5KB increments.

By my count I received nearly 5000 messages over mqtt.

Messages are metered in both directions, although PUBACKs are only metered when they are device to service. Details on metered messages here: https://aws.amazon.com/iot-core/pricing/additional-details/#MQTT_Message_Metering

Do you use other features, like shadows, that you perhaps aren't counting in the 5000?

You can use tools like Protocol Metrics in CloudWatch to see more about the message activity. More information here:

https://docs.aws.amazon.com/iot/latest/developerguide/monitoring_overview.html

https://docs.aws.amazon.com/iot/latest/developerguide/metrics_dimensions.html

profile pictureAWS
エキスパート
Greg_B
回答済み 2年前
0

Thanks for the link. I found this there "MQTT PUBLISH (received from device) Metered on the size of the payload and topic in bytes" Marked as Solved.

回答済み 2年前

ログインしていません。 ログイン 回答を投稿する。

優れた回答とは、質問に明確に答え、建設的なフィードバックを提供し、質問者の専門分野におけるスキルの向上を促すものです。

質問に答えるためのガイドライン

関連するコンテンツ