4

I want to create a web site to monitor my IoT devices, so I went through many tutorials to achieve that.

The most common way that is used in the tutorials is writing to DynamoDB from IoT then using Lambda to invoke the data from DynamoDB to Lambda and finally hosted by S3. But S3 hosted the static web while I need a dynamic web site in order to trigger the data from AWS IoT.

Can you please help me with this or show me a tutorial makes same thing?

MatsK
  • 951
  • 6
  • 18
Balsam Qassem
  • 693
  • 4
  • 11

1 Answers1

5

Lambda is for running tiny functions, not long-running processes.

You should have your web page connect directly to AWS IoT using WebSockets. Then it can get messages directly when they happen and display them, etc.

If you don't need to store your state, you don't need Dynamo or S3. (Although you may want to use S3 to host the JavaScript/HTML for your application.)