IoT MQTT Usage Plan (throttling and quota) for clients

0

Is there any way create Usage Plan such as ApiGateway for AWS IoT MQTT? I want to control how many messages are sent by clients. Similar question with body validation (structure and size).

preguntada hace un año217 visualizaciones
1 Respuesta
1

Hi,

at the time being AWS IoT does not provide any functionality to create a usage plans. You can monitor the number of messages sent by clients (either with your own solution or using Device Defender to detect anomalous behaviour) and implement counter-measures, such as disabling the certificates associated to the misbehaving devices.

In terms of payload validation, you can perform validation in the AWS IoT Rule via a Lambda function or by checking that expected fields are present in the message and possibly have the right values using the WHERE clause. In case the message is not valid it will be ignored. You can monitor the number of invalid messages by comparing the rule metrics against the rule action metrics, since actions are executed only if the WHERE clause matches, ie the message is valid.

Cheers,

Massimiliano

AWS
EXPERTO
respondido hace un año

No has iniciado sesión. Iniciar sesión para publicar una respuesta.

Una buena respuesta responde claramente a la pregunta, proporciona comentarios constructivos y fomenta el crecimiento profesional en la persona que hace la pregunta.

Pautas para responder preguntas