To understand AWS IOT metering details I referred the following link
AWS IoT Core additional metering details [https://aws.amazon.com/iot-core/pricing/additional-details/#Messaging]
Issue 1: PUBACK
MQTT PUBACK (received from device) Metered as a single 5 KB message
MQTT PUBACK (sent by service) excluded from metering
Request you to explain the difference between the above two? As I understood PUBACK sent from AWS broker to device/ client only when device/client publishes to a topic with QOS = 1. So this should be sent by service is it correct? then what is PUBACK received from device? when the device sends PUBACK ? Please explain the communication flow for both cases.
Issue 2: PUBLISH
MQTT PUBLISH (received from device) Metered on the size of the payload and topic in bytes
MQTT PUBLISH (sent by service) Metered on the size of the payload and topic in bytes
As per my understanding, Client/device publishes the message to the broker i.e. received from device. Then what is PUBLISH sent by service ? Request you to explain communication flow for both cases?