IoT services by project?
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?
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.
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
Endpoint for IOT services?Accepted Answer
How do Thing names work in IoT?Accepted Answer
Publish/Subscribe to IoT device messages via Java SDK?
How to post a DeviceEUI to a IoT topic?Accepted Answerasked 6 months ago
Set up IOT with MQTT?
Possible to clear out all IoT certs, things etc?asked 2 years ago
IoT services by project?Accepted Answer
Whats the difference between AWS IoT Greengrass and AWS IoT Device Client?Accepted Answerasked a year ago
AWS IoT and Micro Servicesasked 3 years ago
Very new to IoT. Is AWS IoT correct for my business use case?asked 3 years ago