IoT (Internet of Things)
Enabling IoT for a Tenant, creating Things and supporting certificates
Connect and manage billions of devices with AWS IoT, per Tenant. Collect, store, and analyze IoT data for industrial, consumer, commercial, and automotive workloads within DuploCloud.
Use Just-In-Time access to provision devices in your IoT.
Enabling IoT for a Tenant
In the DuploCloud Portal, navigate to Administrator -> Tenants.
Select your Tenant in the Name column.
Click the Settings tab.
Click Add. The Add Tenant Feature pane displays.
Add Tenant Feature pane with Enable AWS IoT feature selected From the Select Feature list box, select Enable AWS IoT and Enable.
Click Add. It takes approximately five minutes to enable IoT.
Navigate to Cloud Services -> IoT. The IoT Things page displays.
![](https://docs.duplocloud.com/~gitbook/image?url=https%3A%2F%2F2471407984-files.gitbook.io%2F%7E%2Ffiles%2Fv0%2Fb%2Fgitbook-x-prod.appspot.com%2Fo%2Fspaces%252F68cb0s9ce5UIUKWPuYs8%252Fuploads%252Fu3tkkbfDhyikbzqeuX6k%252Fscreenshot-nimbusweb.me-2024.02.19-16_30_26.png%3Falt%3Dmedia%26token%3D603b2b97-57e9-4da4-85a0-c7ecf017200f&width=768&dpr=4&quality=100&sign=495fc651&sv=1)
Creating IoT Things
In the DuploCloud Portal, navigate to Cloud Services -> IoT.
Click the Things tab.
Click Add. The Create an IoT Thing pane displays.
Create an IoT Thing pane with AttributesACtions In the editable portion of the Name field, enter a Thing name.
From the IoT Certificate list box, select an IoT Certificate.
From the IoT Thing Type list box, select the Thing type that you want to create.
In the Attributes field, add Thing Attributes in quotes, separated by a comma (,).
Click Create. Your IoT Thing is created and displayed.
Select the Thing to view Details and IoT Principals (certificate information) for the Thing. Use the Action menu to Edit or Delete the Thing, Attach IoT Certificate, and Download Device Package.
![](https://docs.duplocloud.com/~gitbook/image?url=https%3A%2F%2F2471407984-files.gitbook.io%2F%7E%2Ffiles%2Fv0%2Fb%2Fgitbook-x-prod.appspot.com%2Fo%2Fspaces%252F68cb0s9ce5UIUKWPuYs8%252Fuploads%252Fux0Wn16uLi3dBpwCQr2V%252Fscreenshot-nimbusweb.me-2024.02.19-16_32_37.png%3Falt%3Dmedia%26token%3Dd1a57d98-87bb-49de-8361-b744a8c08bd6&width=768&dpr=4&quality=100&sign=678594fa&sv=1)
![](https://docs.duplocloud.com/~gitbook/image?url=https%3A%2F%2F2471407984-files.gitbook.io%2F%7E%2Ffiles%2Fv0%2Fb%2Fgitbook-x-prod.appspot.com%2Fo%2Fspaces%252F68cb0s9ce5UIUKWPuYs8%252Fuploads%252Fek12PMIQMq9atVllflf0%252Fscreenshot-nimbusweb.me-2024.02.19-16_33_06.png%3Falt%3Dmedia%26token%3D6b218f63-9e42-4974-a273-c093bd34ad41&width=768&dpr=4&quality=100&sign=c950c22e&sv=1)
Attach a certificate to a Thing
In the DuploCloud Portal, navigate to Cloud Services -> IoT.
Click the Things tab.
Add a certificate if needed.
Select the Thing to which you want to attach a certificate from the Name column.
Click the Actions menu and select Attach IoT Certificate. The Attach an IoT Certificate pane displays.
From the IoT Certificate list box, select an IoT certificate to attach to the Thing.
Click Attach.
Download the Device Package for a Thing
In the DuploCloud Portal, navigate to Cloud Services -> IoT.
Click the Things tab.
Select the Thing to which you want to attach a certificate from the Name column.
Click the Actions menu and select Download Device Package. The Download IoT Device Package window displays.
From the IoT Certificate list box, select the IoT certificate associated with the Thing's Device Package.
Click Download.
Certificate management
Add, update, or manage an IoT certificate with the following procedures.
Adding a certificate
In the DuploCloud Portal, navigate to Cloud Services -> IoT.
Click the Certificates tab.
Click Add. The Create an IoT Certificate pane displays.
Create an IoT Certificate pane Select Activate the Certificate and click Create. The certificate displays.
Updating a certificate
In the DuploCloud Portal, navigate to Cloud Services -> IoT.
Click the Certificates tab. The available certificates are displayed and listed by ID.
In the row for the certificate you want to update, click the Actions menu (
) and select Edit. The Update an IoT Certificate pane displays.
From the Status list box, select the new status of the certificate.
Click Update.
Manage a certificate using AWS Console
In the DuploCloud Portal, navigate to Cloud Services -> IoT.
Click the Certificates tab. Available certificates are displayed and listed by ID.
In the row for the certificate you want to update, click the menu (
) icon in the Actions column.
Select Console. The AWS Console launches so that you can manage your certificate using AWS.
AWS Console for managing certificates
Using IoT Topic Rules
Topic Rules are SQL-based rules that select data from message payloads and send data to other services, such as Amazon S3, Amazon DynamoDB, and AWS Lambda. Define a Rule to invoke a Lambda function when invoking an AWS or third-party service.
To learn more about IoT Topic Rules and how you define and manage them, see the AWS documentation.
Adding IoT Topic Rules
In the DuploCloud Portal, navigate to Cloud Services -> IoT.
Click the Topic Rules tab.
Click Add. The Add Topic Rules page displays.
Add Topic Rules page In the Name field, enter a Topic Rule name.
Add a meaningful description of what the rule does in the Description field.
Define the rule by completing the fields in the AWS IoT SQL and AWS IoT SQL Version areas. Select Define an Error Action if the rule pertains to error management.
Click Create. Your rule is defined and displayed in the Topic Rules tab.
![](https://docs.duplocloud.com/~gitbook/image?url=https%3A%2F%2F2471407984-files.gitbook.io%2F%7E%2Ffiles%2Fv0%2Fb%2Fgitbook-x-prod.appspot.com%2Fo%2Fspaces%252F68cb0s9ce5UIUKWPuYs8%252Fuploads%252FzT0G3RA6HbX8ztXScqIG%252Fscreenshot-nimbusweb.me-2024.02.19-16_41_46.png%3Falt%3Dmedia%26token%3D6c68ad06-c268-4042-b196-38f196cc748e&width=768&dpr=4&quality=100&sign=1706714&sv=1)
Viewing a Topic Rule
View the details of a rule by selecting the rule from the Topic Rules tab Name column. The Details tab displays the rule description. The Actions tab displays the SQL-based rule(s).
![](https://docs.duplocloud.com/~gitbook/image?url=https%3A%2F%2F2471407984-files.gitbook.io%2F%7E%2Ffiles%2Fv0%2Fb%2Fgitbook-x-prod.appspot.com%2Fo%2Fspaces%252F68cb0s9ce5UIUKWPuYs8%252Fuploads%252Fer6RQTnbmhAu0H1eC3vz%252Fscreenshot-nimbusweb.me-2024.02.19-16_43_00.png%3Falt%3Dmedia%26token%3D096f4a75-b422-47ae-b450-c780fee7577e&width=768&dpr=4&quality=100&sign=aa78efc4&sv=1)
![](https://docs.duplocloud.com/~gitbook/image?url=https%3A%2F%2F2471407984-files.gitbook.io%2F%7E%2Ffiles%2Fv0%2Fb%2Fgitbook-x-prod.appspot.com%2Fo%2Fspaces%252F68cb0s9ce5UIUKWPuYs8%252Fuploads%252FlWXC6FkvZtoWqbid7OP4%252Fscreenshot-nimbusweb.me-2024.02.19-16_44_03.png%3Falt%3Dmedia%26token%3D53e9c765-cd1a-4bc4-ab72-795142c2aaeb&width=768&dpr=4&quality=100&sign=85537978&sv=1)
Editing a Topic Rule
In the Topic Rules tab, edit a Topic Rule by clicking the Actions menu ( ) in the row listing your Topic Rule Name, and selecting Edit.
![](https://docs.duplocloud.com/~gitbook/image?url=https%3A%2F%2F2471407984-files.gitbook.io%2F%7E%2Ffiles%2Fv0%2Fb%2Fgitbook-x-prod.appspot.com%2Fo%2Fspaces%252F68cb0s9ce5UIUKWPuYs8%252Fuploads%252FnblgCnxF2NyVS3AezpQS%252Fscreenshot-nimbusweb.me-2024.02.19-16_46_04.png%3Falt%3Dmedia%26token%3D0d1e29be-034d-4648-ad43-a12e5532b176&width=768&dpr=4&quality=100&sign=f2b89987&sv=1)
Last updated