IoT services by project?
Hi,
I plan to have several distinct IoT projects on my account which will not share devices or business logic. I also need to be able to configure separate production and development environments for these projects so that testing can occur without impacting production.
It's unclear to me how this should be done. With most other services, you start by creating a container or an environment, like with data you might create separate databases, or with servers, separate Ec2 instances.
When I started working with IoT services, I was surprised that I didn't have to start by setting up such an environment.
I assume that people are able to run distinct dev and production environments, and different projects, without having to resort to getting different Amazon accounts for each project. What's the right way to do this?
Thanks, Frank
If you want true isolation between your lower environments (Staging, QA, etc) and production, you need to use separate accounts. This is true, even outside of the AWS IoT services.
For your rule example, you can specify the source in your Rule query statement to restrict what topic filter gets sent to SQS.
Thanks. What about using different Regions to separate them? I notice that the Rules and Things I create are region-specific, I assume the endpoint would be different in a different region as well.
Yes the endpoint is different in different regions. Nonetheless, multiple accounts is generally considered best practice. This whitepaper is well worth a read: https://docs.aws.amazon.com/whitepapers/latest/organizing-your-aws-environment/organizing-your-aws-environment.html
Relevant questions
Endpoint for IOT services?
Accepted Answerasked 4 months agoHow do Thing names work in IoT?
Accepted Answerasked 4 months agoPublish/Subscribe to IoT device messages via Java SDK?
asked 4 months agoHow to post a DeviceEUI to a IoT topic?
Accepted Answerasked 6 months agoSet up IOT with MQTT?
asked 4 months agoPossible to clear out all IoT certs, things etc?
asked 2 years agoIoT services by project?
Accepted Answerasked 4 months agoWhats the difference between AWS IoT Greengrass and AWS IoT Device Client?
Accepted Answerasked a year agoAWS IoT and Micro Services
asked 3 years agoVery new to IoT. Is AWS IoT correct for my business use case?
asked 3 years ago
As an example, I have a rule that forwards messages from topics to SQS under certain conditions. I'd want to make sure that a rule intended for one project doesn't process things from a different project. I'm not seeing any obvious way to restrict the scope of rules this way.