AWS IoT actions and core related services

IoT Dec 23, 2021

Hello People. This article discusses AWS IoT actions and core related services. AWS IoT Core is a cloud-based managed service using which IoT devices can communicate with web & mobile clients. It can support billions of devices & trillions of messages sent by those devices. AWS IoT Core can process those messages & send those messages to the defined devices or endpoints securely.

Device can send data to the server & the server can also send data to IoT devices. Communication in AWS IoT is thus two ways.  Data sent by the server to devices can be simple on/off instructions, restart instruction or firmware update instructions.

Some Features of AWS IoT Core are


Security

AWS IoT Core makes sure that all communications are completely secure. Data never exchanges between devices and AWS IoT Core without authentication.

MQTT protocol

IoT devices & AWS IoT core communicate over MQTT. It is an extremely lightweight messaging protocol for machine to machine connectivity.

Are you looking to start your business in the electric vehicle industry? We provide software development, web application development, mobile application development, charging stations management app, electric vehicle fleet management software development, cyber security and all software services. Please check our home page here https://iwheels.co/

https://iwheels.co/

Ok. Let's get back to the article.

Jobs

Jobs a set of remote operations that are sent to and executed on devices connected to AWS IoT. Using IoT jobs, we can send files to the end devices, update device firmware version using over the air(OTA) updates. To create a job, we need to create a job document first. The job document is a JSON document that defines what remote operation needs to be performed by the remote device.

Device Shadow:

AWS IoT allows web or mobile or any other clients to communicate with the IoT Devices even when they are offline. It does that by creating a shadow of devices on cloud & which always keeps the latest state of the device. It stores all this information in the form of a JSON document.

Rules & Actions:

We can have multiple devices keep sending data on AWS IoT. They might not all be relevant for our purpose. To filter only the required data, AWS IoT allows us to create rules.

Using rules, we can filter data & can take action on them as per our requirement. Actions can be anything from calling a lambda function, storing to S3, or storing to dynamo DB or Sending an SNS notification, etc.

 AWS_Rules_Actions.
AWS IoT actions and core related services

Image Source: aws.amazon

To apply a rule, AWS allows us Rules query statement. This is written in SQL like query language.

Following IoT actions are supported as of now:

  • Elasticsearch: To write data to an Amazon Elasticsearch Service domain.
  • Kinesis: To write data to a Kinesis stream.
  • Cloud watch alarm: To change a CloudWatch alarm.
  • Cloud watch metric: To capture a CloudWatch metric.
  • Lambda: To invoke a Lambda function.
  • Firehose: To write data to an Amazon Kinesis Data Firehose stream.
  • IoT analytics: To send data to an AWS IoT Analytics channel.
  • IoT events: To send data to an AWS IoT Events input.
  • Republish: To republish the message on another MQTT topic.
  • s3: To write data to an Amazon S3 bucket.
  • Salesforce: To write a message to a Salesforce IoT input stream.
  • sqs: To write data to an SQS queue.
  • SNS: To write data as a push notification.
  • stepFunctions : To start the execution of a Step Functions state machine.
  • dynamo DB:  To write data to a DynamoDB database.
  • dynamoDBv2: To write data to a DynamoDB database.

Hope this article on AWS IoT actions and core related services is useful to you . Please read about Tata power EV charging stations in Andhra Pradesh

Tags