Skip to content

Instantly share code, notes, and snippets.

@seidtgeist
Created July 18, 2016 23:57
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save seidtgeist/aad5bc47a64bfc2028d70e592bf93cfe to your computer and use it in GitHub Desktop.
Save seidtgeist/aad5bc47a64bfc2028d70e592bf93cfe to your computer and use it in GitHub Desktop.

AWS IoT questions

  • Can I use IoT to send messages between phones and web browsers? (I’ve previously set up DynamoDB, Cognito & Lambda for signup and messaging)
  • Is there anything tying multiple devices together to social identities? (E.g. my iPhone, iPad, Safari on macOS)
  • Any limitations that would come to mind with the above use cases?
@kyleroche
Copy link

  • for sure. typically customers use websockets for that type of messaging. SDKs for iOS, Android and JavaScript here
  • from the application perspective, we tie access to topics (what devices talk over) to credentials like a certificate or cognito identity). you can also use the registry (metadata on a thing) to store other key/value pairs like your internal IDs. Further, you could use the Shadow service to carry some additional metadata although that's not the best use case there.
  • registry currently only supports 3 key:value pairs per thing. might be quicker to just have a dynamo lookup for things that belong to a social identity for now... we could help dig in more if you like.

@seidtgeist
Copy link
Author

  1. That sounds great, especially WebSockets for browsers since that is usually the neglected use case.
  2. Gotcha, Cognito Identity I've worked with before (both custom and public providers) so that's something I'll look into.
  3. Agreed! Foreign key to Dynamo or e.g. https://onename.com

@kyleroche Thanks so much for your answers. I'll keep you posted on what I'm working on and get in touch soon 😄

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment