Questions tagged [aws-iot]

AWS IoT is Amazon's implementation of an IoT gateway.

AWS IoT is a managed cloud platform that lets connected devices easily and securely interact with cloud applications and other devices. It works as a gateway for your devices (things) to communicate with any of the AWS services. AWS IoT can support billions of devices and trillions of messages, and can process and route those messages to AWS endpoints and to other devices reliably and securely.

Resources:

1216 questions
97
votes
7 answers

What would be the AWS equivalent to Firebase Realtime Database?

I'm working on a new game project at the moment that will consist of a React Native front-end and a Lambda-based back-end. The app requires some real time features such as active user records, geofencing, etc. I was looking at Firebase's Realtime…
37
votes
4 answers

How to use AWS IoT to send/receive messages to/from Web Browser

We are trying to use Amazon Web Services Internet of Things (AWS IoT) to send messages from/to a Web Browser (e.g: . Given that the AWS IoT supports JavaScript we expect that this is possible ... We have searched at the AWS IoT Documentation but…
21
votes
4 answers

AWS IOT - Credential should be scoped to correct service

I am trying to access a simple AWS IOT REST service but I have not been able to do so successfully yet. Here is what I did. I created an iam user in my aws and downloaded the access key and secret key Logged into AWS IOT with that user and created…
Robby
  • 371
  • 2
  • 3
  • 15
18
votes
6 answers

connect to AWS IoT using web socket with Cognito authenticated users

I'm trying to connect to AWS IoT using web socket from the browser. I've tried this example: https://github.com/awslabs/aws-iot-examples/tree/master/mqttSample And another one a little bit modfied so it can be used with Cognito Identity pool logged…
nachoab
  • 1,908
  • 1
  • 23
  • 36
15
votes
2 answers

AWS IoT MQTT over WebSocket Protocol

I've been following the AWS IoT docs trying to get started with the MQTT tutorial at http://docs.aws.amazon.com/iot/latest/developerguide/protocols.html#mqtt-ws to set up a WebSocket connection to AWS IoT in a web application. The first step is to…
Jack Carlisle
  • 1,085
  • 1
  • 9
  • 15
13
votes
2 answers

The CA certificate does not have the basicConstraints extension as true

I am following this AWS GUIDE on creating self-signed certificates. But after creating my CA, I try to upload it to AWS IOT I get this error: Command: aws iot register-ca-certificate --ca-certificate file://CA_cert.pem --verification-cert…
Aleksander Aleksic
  • 1,282
  • 3
  • 12
  • 18
13
votes
5 answers

How to connect multiple devices to same Thing in AWS-IOT?

I am working on a project to install 100+ nodes of temperature sensors in an area, all of which perform the same function. The data they publish is the sensor id and the reading. I am using AWS-IOT for the backend. Now, to do so, I think I will…
Adi
  • 4,149
  • 4
  • 25
  • 41
12
votes
2 answers

AWS Lambda - How to get the topic name of data coming from AWS IOT

I'm testing AWS Lambda with an AWS IOT source. My mqtt clients are publishing in different topics : device A publish data into streaming/A, device B publish data into streaming/B so in AWS Lambda I defined a SQL rule selecting all devices coming…
alifirat
  • 2,899
  • 1
  • 17
  • 33
11
votes
4 answers

Can I determine which AWS service triggered my Lambda function?

I have a Python Lambda function that can respond to both an IoT Button and Alexa skill. Is there a way to read the event or context handed to the handler function to identify which service triggered the function (Alexa or IoT)?
orome
  • 45,163
  • 57
  • 202
  • 418
10
votes
1 answer

AWS IoT Policy: subscribe vs receive actions

Most of the time I eventually create AWS IoT policies with the same content for Subscribe and Receive actions. If someone is allowed to subscribe one topic, it must be allowed to receive a message published to that topic. Another approach is to…
pozzugno
  • 750
  • 6
  • 19
10
votes
2 answers

How to implement AWS IoT(device) in React-Native?

I am trying to Implement AWS-IoT(device) using React-Native. I have used the packages, 1) aws-iot-device-sdk-js 2) react-native-aws-iot-device-shadows and got a lot of errors while using the package. I could debug few, but did not get expected…
10
votes
1 answer

Is AWS IoT Device Gateway an MQTT broker?

I am trying to understand Amazon AWS IoT and I see there is a Device Gateway connected between Sensors/Actuators and AWS (Rules Engine). I understand Sensors/Actuators are MQTT Clients which can Publish/Subscribe to the topics. Device Gateway also…
Ashok
  • 601
  • 1
  • 17
  • 32
9
votes
2 answers

AWS IOT MQTT: Getting error ERR_CERT_SYMANTEC_LEGACY in chrome

I am using AWS IOT MQTT protocol for realtime update on my web app, I'm getting this certificate error net::ERR_CERT_SYMANTEC_LEGACY on Chrome, it's only working on localhost.
9
votes
1 answer

HTTP POST to AWS IoT using Golang-AWS-SDK IoTDataPlane

I want to send a message to a MQTT topic via AWS IoT in golang using AWS-SDK via HTTP, when tried with below code it was unsuccessful. The response was : ResourceNotFoundException: Not Found status code: 404, request id:…
Josiah Choi
  • 1,827
  • 1
  • 12
  • 9
8
votes
2 answers

AWS IoT: Subscribe to Topic in Browser

I'm currently developing a Serverless App with AWS. I want to subscribe to a topic using plain JavaScript (No Node.js, React, Angular etc.) The IoT and IoTData SDK's doesn't support a "subscribe to topic" function. To achieve this, i need to…
David
  • 1,084
  • 12
  • 36
1
2 3
80 81