- Newest
- Most votes
- Most comments
IoT Core topics are not like SNS topics that are created resources. MQTT topics in IoT Core are not created or destroyed. They are an addressing scheme instead of a resource. There is an overview of this in an MQTT whitepaper here: https://d1.awsstatic.com/whitepapers/Designing_MQTT_Topics_for_AWS_IoT_Core.pdf
"An MQTT topic acts as a matching mechanism between publishers and subscribers. Conceptually, an MQTT topic behaves like an ephemeral notification channel."
At a high level there's not a limit on the number of topics and it is recommended to use a topic per device when possible. When it comes to management, I'd recommend following some of our best practices to make this easier:
- We support features such as policy variables (so you can reduce the number of of total policies you manage).
- We support thing groups so you can further group devices.
I also recommend using a common naming structure such that topics match with thing names in the registry 1) for policy variables 2) for management. The IoT Lens within the Security and Operational Excellence Well Architected Framework pillars discuss these topics in more depth: https://d1.awsstatic.com/whitepapers/architecture/AWS-IoT-Lens.pdf
Relevant content
- Accepted Answerasked 3 years ago
- Accepted Answerasked 5 years ago
- Accepted Answerasked 6 months ago
- AWS OFFICIALUpdated 10 months ago
- AWS OFFICIALUpdated a year ago
- AWS OFFICIALUpdated 22 days ago