Slideshare uses cookies to improve functionality and performance, and to provide you with relevant advertising. If you continue browsing the site, you agree to the use of cookies on this website. See our User Agreement and Privacy Policy.

Slideshare uses cookies to improve functionality and performance, and to provide you with relevant advertising. If you continue browsing the site, you agree to the use of cookies on this website. See our Privacy Policy and User Agreement for details.

38.
How can you debug AWS IoT applications?
• Testing with MQTT.fx (or a similar tool) is not enough
• CloudWatch Logs: the only way to see what is happening
inside AWS IoT
– Permission issue
– Rule issue
– Incorrect JSON message
– Etc.
• These logs are not enabled by default
– Deﬁne a policy allowing AWS IoT to access CloudWatch logs
– Attach the policy to the AWS IoT role (same one as for external services)