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.

posta 2 anni fa490 visualizzazioni
2 Risposte
0
Risposta accettata

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
ESPERTO
Greg_B
con risposta 2 anni fa
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.

con risposta 2 anni fa

Accesso non effettuato. Accedi per postare una risposta.

Una buona risposta soddisfa chiaramente la domanda, fornisce un feedback costruttivo e incoraggia la crescita professionale del richiedente.

Linee guida per rispondere alle domande