#8 Are AWS IoT core, Azure IoT hub or Google Cloud supported?

open
nobody
None
2022-11-05
2021-02-05
hermsen
No

No support for non compliant MQTT v3.1.1 server/services

The key issue with Amazon AWS IoT core, Microsoft Azure IoT hub and Google Cloud IoT Core is that
they are NOT 100% MQTT v3.1.1 compliant.

Usage of Sparkplug for MQTT demands a 100% MQTT v3.1.1 compliant server/service.
Key concepts of the Sparkplug standard like retained Server STATE messages, will not work in such an environment. Because of the lacking compliancy we cannot support any NON compliant MQTT v3.1.1 compatible MQTT servers or cloud services.

AWS, Microsoft and Google lack support of even basic MQTT features such as QoS 2, Retained Messages and guaranteed message ordering. These basic MQTT features are often used to implement business critical systems. In fact, in order to be MQTT compliant these features are mandatory (not optional). This means neither AWS nor Microsoft Azure IoT Hub or Google Cloud are fully compliant to the full MQTT v3.1.1 specification.

If you are using AWS, Azure Or Google Cloud infrastructure, a possible way to circumvent their lacking support is to host a self built VM in AWS, Azure or Google Cloud which leverages the service ( i.e. hosting a fully compliant MQTT broker). A sidestep could be to go for a Mosquitto cloud server or HiveMQ Cloud which is now free for 100 clients + 10GB/Month + NO SLA.

Amazon AWS IoT core non compliancy statement

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

MQTT is a lightweight and widely adopted messaging protocol that is designed for constrained devices. AWS IoT support for MQTT is based on the MQTT v3.1.1 specification, with some differences. For information about how AWS IoT differs from the MQTT v3.1.1 specification, see AWS IoT differences from MQTT version 3.1.1 specification.

See https://docs.aws.amazon.com/iot/latest/developerguide/mqtt.html#mqtt-differences for further details.

Microsoft Azure IoT hub non compliancy statement

https://docs.microsoft.com/en-us/azure/iot-hub/iot-hub-mqtt-support

IoT Hub is not a full-featured MQTT broker and does not support all the behaviors specified in the MQTT v3.1.1 standard. This article describes how devices can use supported MQTT behaviors to communicate with IoT Hub.

Google Cloud IoT core is being retired on August 16, 2023.

Contact your Google Cloud account team for more information.

https://cloud.google.com/iot-core/?utm_source=google&utm_medium=cpc&utm_campaign=emea-nl-all-en-dr-bkws-all-all-trial-p-gcp-1011340&utm_content=text-ad-none-any-dev_c-cre_544121429444-adgp_Hybrid%20%7C%20BKWS%20-%20PHR%20%7C%20Txt%20~%20Internet%20of%20Things%20~%20Cloud%20IoT%20Core-kwid_43700066203993621-kwd-340168069162-userloc_9064953&utm_term=kw_google%20iot-net_g-plac_&gclid=EAIaIQobChMI0v6Mov2X-wIVAeR3Ch2i-AeWEAAYASAAEgJl7vD_BwE&gclsrc=aw.ds

Discussion

  • hermsen

    hermsen - 2021-11-01
    • Description has changed:

    Diff:

    --- old
    +++ new
    @@ -7,7 +7,7 @@
    
     AWS, Microsoft and Google lack support of even basic MQTT features such as QoS 2, Retained Messages and guaranteed message ordering. These basic MQTT features are often used to implement business critical systems. In fact, in order to be MQTT compliant these features are mandatory (not optional). This means neither AWS nor Microsoft Azure IoT Hub or Google Cloud are fully compliant to the full MQTT v3.1.1 specification.
    
    -If you are using AWS, Azure Or Google Cloud infrastructure, a possibility is to host a self built VM in AWS, Azure or Google Cloud which leverages the service. A sidestep could be to go for a Mosquitto cloud server or HiveMQ Cloud which is now free for 100 clients + 10GB/Month + No SLA. 
    +If you are using AWS, Azure Or Google Cloud infrastructure, a possible way to circumvent their lacking support is to host a self built VM in AWS, Azure or Google Cloud which leverages the service ( i.e. hosting a fully compliant MQTT broker). A sidestep could be to go for a Mosquitto cloud server or HiveMQ Cloud which is now free for 100 clients + 10GB/Month + NO SLA.
    
     ## Amazon AWS IoT core non compliancy statement
    
    • discussion: enabled --> disabled
     
  • hermsen

    hermsen - 2022-11-05
    • Description has changed:

    Diff:

    --- old
    +++ new
    @@ -25,18 +25,8 @@
     *IoT Hub is not a full-featured MQTT broker and does not support all the behaviors specified in the MQTT v3.1.1 standard. This article describes how devices can use supported MQTT behaviors to communicate with IoT Hub.*
    
    
    -## Google Cloud IoT core non compliancy statement
    +## Google Cloud IoT core is being retired on August 16, 2023.
    
    -https://cloud.google.com/iot/docs/requirements#mqtt_bridge
    +Contact your Google Cloud account team for more information.
    
    -This page lists Cloud IoT Core requirements and related information.
    -
    -MQTT version 3.1.1 is required.
    -
    -The following features are not supported:
    -
    -    MQTT QoS 2
    -    Arbitrary MQTT topics and subscriptions. For topic requirements, see the section on connecting devices using MQTT
    -    Last Will and Testament (LWT)
    -    Retained messages
    -    Persistent sessions
    +https://cloud.google.com/iot-core/?utm_source=google&utm_medium=cpc&utm_campaign=emea-nl-all-en-dr-bkws-all-all-trial-p-gcp-1011340&utm_content=text-ad-none-any-dev_c-cre_544121429444-adgp_Hybrid%20%7C%20BKWS%20-%20PHR%20%7C%20Txt%20~%20Internet%20of%20Things%20~%20Cloud%20IoT%20Core-kwid_43700066203993621-kwd-340168069162-userloc_9064953&utm_term=kw_google%20iot-net_g-plac_&gclid=EAIaIQobChMI0v6Mov2X-wIVAeR3Ch2i-AeWEAAYASAAEgJl7vD_BwE&gclsrc=aw.ds
    
    • discussion: enabled --> disabled