How to receive data MQTT on AWS - amazon-web-services

I have an external service that sends me data via MQTT. I need to receive this data on AWS then process it and then write it to an RDS instance. What services are recommended for this purpose? An Amazon MQ and a Lambda? A SQS and a Lambda? Any other?
Thanks for any help.

AWS IoT 'things' have a Message Broker that supports MQTT.
Traditionally, IoT and MQTT involves huge numbers of messages, which are normally stored in DynamoDB. However, you could write an AWS Lambda function to store the received messages in an Amazon RDS database.

Related

AWS Sqs Source Connector to Kafka

I am trying to connect to AWS sqs Queue where my data is stored. I have the Aws.key and secret with me. I also have the SQS Source Connector which transfers data from SQS queue to my Kafka topic. I would like to know how to do that. Do I need to work on the AWS console ? How to use the Source Connector to transfer the data ?
You need to deploy your own infrastructure (doesn't require the console, no) running Kafka Connect, then install the SQS connector plugin and then HTTP POST the connector config to its REST API

How to distribute reads of an MQTT topic from AWS Iot over multiple consumers?

I'm using AWS IoT to get device logs from multiple moving devices. Currently, all devices can publish their status to the AWS IoT Core using MQTT. Now I'd like to create an application service from outside AWS (servers are in my company) that will subscribe and consume device status from AWS IoT. I'm facing the issue like that, the app backend can get data from AWS IoT. However, it cannot be distributed or load balanced. Just the last connected consumer can get the data. How can I distribute/scale the reads from AWS IoT or any alternative/suggested solutions?
Thanks in advance!

AWS IoT DynamoDB Create Rule

I am trying to setup a AWS IoT rule to send the IoT incoming data into the DynamoDB, I think everything has been setup correctly such as the policies.
What I do not understand is what information is needed in the rule, to send the incoming data to the database?
You need to enter the mqtt topic name in your iot query
select * from topic_name;
Also here is the short guide about how you can get data from AWS iot to dynamo db for quick reference
Iot Rule to insert data into dynamo db

AWS IOT: Does the platform act as an MQTT broker?

I just need to be sure whether I would need to use a separate library/provider such as Mosquitto and HiveMQ and integrate them with AWS IOT or would the amazon platform act as a self sufficient endtoend solution.
TIA
The AWS IoT service includes an MQTT message broker.
I am not into AWS IoT that deep, but:
When using a MQTT Broker, make sure that
* each device gets individual credentials
* device cannot subscribe to topics of other devices (unless that is explicitly what you want).
BR,

How to publish message from AWS IoT to another host?

I would like to publish message from Amazon IoT to another host. In Amazon IoT there is MQTT client which have publish and subscribe functionalities. But as far as I know of MQTT client it can publish and subscribe with in Amazon only. I also checked aws iot commands. They don't provide commands for publish and subscribe. Can anyone suggest a way to publish messages from Amazon IoT to another host?