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년 전

로그인하지 않았습니다. 로그인해야 답변을 게시할 수 있습니다.

좋은 답변은 질문에 명확하게 답하고 건설적인 피드백을 제공하며 질문자의 전문적인 성장을 장려합니다.

질문 답변하기에 대한 가이드라인