AWS

Amazon Web Service (AWS) is a cloud platform with a significant amount of services and features. Another key aspect of AWS is its flexibility and security.

Some AWS services for IoT devices are:

  • AWS IoT Core, which connects IoT devices to the AWS, while also make it easier to use other AWS services;
  • AWS Lambda is a serverless compute service that runs the user's code on incoming requests or events;
  • Amazon Simple Storage Service (Amazon S3) let the user store and retrieve data in a reliable manner;
  • AWS IoT Analytics is a service that let you analyze IoT data, which is highly unstructured;
  • Amazon Simple Notification Service (SNS) is a messaging system for application-to-application (A2A) and application-to-person (A2P) communications. The A2A publisher and subscriber functionality provide topics that let publishers fanout messages to subscribers like AWS Lambda functions.

If you want to learn more about AWS, you can check their documentation and training courses.

AWS IoT Core

AWS IoT Core is an Amazon service that allows to connect the IoT device to other Amazon's services. (i.e., an interface). You can access another service by using the MQTT protocol.

The AWS IoT Core policies let you control the data plane, i.e., operations that allows you to connect to the message broker, use the MQTT Protocol, and use the thing's Device Shadow. To access these policies, you need to perform an action. There are dozens of possible actions to use, but it can be broken down as 'tag + function'. Some possible tags are: Create, Delete, Get, List, Describe, Update. For functions, a short list is: Authorizer, CertificateFromCsr, CustomMetric, Dimension, DomainConfiguration, DynamicThingGroup, Job, JobTemplate, KeysAndCertificate, OTAUpdate, Policy, PolicyVersion, ProvisioningClaim, ProvisioningTemplate, ProvisioningTemplateVersion, RoleAlias, SecurityProfile, Stream, Thing, ThingGroup, ThingType.

Notice that some of these functions are related to the Provisioning process. This is an example of an important application of these actions. If you want to learn more about AWS IoT Core provisioning, you can check this official documentation.

Finally, you can create an AWS IoT rule to republish MQTT. You can read about it here.


What’s Next