IoT Mobile App Architecture with AWS

0

Hello, I want to build an IoT Mobile App for a students project. For this, I want to use AWS. I never used AWS before, so my question is maybe a little bit stupid.

I want to send data from my IoT devices to AWS. For this, I am using the IoT core. This works fine. But I dont know what to do next. I know that you can define rules for incomming MQTT topics. But I dont now how to use them. I need four things:

  1. Store data in a database (I think I can just use Dynamo DB in the rules section. But is there maybe another/better way / another DB?)
  2. Request the data from the Mobile App
  3. Send data from the Mobile App to AWS and publish the data to my IoT devices
  4. Delete Data from the database.

How can I do this or what serviec/tools I need to use?

Thanks for your help.

TTStudi
已提问 1 年前608 查看次数
2 回答
0

Rules give your devices the ability to interact with AWS services. Rules are analyzed and actions are performed based on the MQTT topic stream [1]. You can also see examples of all the services integration [2]. For dynamoDB , The DynamoDB (dynamoDB) action writes all or part of an MQTT message to an Amazon DynamoDB table [3].

Storing your incoming data and how to access is thereafter depends upon the requirements. example is this more of analytics use case or transactional nature. If your mobile app wants to publish some data to IoT devices in real time, then best is to write it to MQTT topics which they can subscribe.

There are some good blogs that you can refer as well [4]

  1. https://docs.aws.amazon.com/iot/latest/developerguide/iot-rules.html
  2. https://docs.aws.amazon.com/iot/latest/developerguide/iot-rule-actions.html
  3. https://docs.aws.amazon.com/iot/latest/developerguide/dynamodb-rule-action.html
  4. https://aws.amazon.com/blogs/mobile/bluetooth-low-energy-ble-iot-mobile-application-with-aws-amplify-aws-iot-and-swift/
profile pictureAWS
专家
已回答 1 年前
  • Hi, thanks for your answer. One more question: Is there any way to create a project where I can work together with another person? Or do we have to share one account?

您未登录。 登录 发布回答。

一个好的回答可以清楚地解答问题和提供建设性反馈,并能促进提问者的职业发展。

回答问题的准则