UM017004E AWS IoT UserManual Eng
UM017004E AWS IoT UserManual Eng
AWS IoT
This guide walks through the steps to use AWS IoT and create Thing and Shadow in
EasyBuilder Pro.
20220823
Table of Contents
1. Overview of AWS IoT .............................................................................................. 1
2. Hosting MQTT Server .............................................................................................. 1
3. EasyBuilder Pro Settings ......................................................................................... 6
4. Thing and Shadow .................................................................................................. 9
5. References ............................................................................................................ 14
AWS IoT
This manual walks you through the steps to host MQTT server, configure EasyBuilder
Pro, and create Things.
1
AWS IoT
6. This page is for defining actions that can be performed by a resource. You
may use the settings in the screenshot below or set your own. Click [Create]
when finish.
2
AWS IoT
3
AWS IoT
9. Download and save these files: Device Certificate, Public Key File, Private
Key File, and RSA 2048 bit key: Amazon Root CA 1.
10. Click the certificate created previously and click [Attach policies] under
Policies. In the window that follows, select the Policy created previously
and then click [Attach policies].
4
AWS IoT
11. Security setting is done successfully when the following box shows.
12. Click [Settings], the URL marked in red frame below is the domain name of
AWS IoT server, and will be used when setting MQTT in EasyBuilder Pro,
please remember it.
AWS is gradually replacing servers using Symantec CA with Amazon Trust
Service. As a result, please check whether the domain name contains “-ats”,
for example: a2xxxxxxx-ats.iot.xxxxxx.amazon.aws.com.
Amazon Root CA 1 certificate created in step 9 works only when the
endpoint is in this format.
5
AWS IoT
6
AWS IoT
4. In TLS/SSL tab, import the file generated when creating the certificate.
Server verification, CA certificate: Import a .pem file. (Amazon Root CA 1)
Client verification, Certificate: Import a .crt file. (certificate.pem.crt)
Client verification, Private key: Import a .key file (private.pem.key)
5. System topic includes Topic List and Connection State that HMI will
automatically send once it connects to server.
7
AWS IoT
8
AWS IoT
AWS IoT
1. Click [Manage] » [All devices] » [Things] » [Create things].
9
AWS IoT
4. Create a certificate.
10
AWS IoT
EasyBuilder Pro
1. Select AWS IoT as cloud service in MQTT Server settings window, and
follow the settings in Chapter 3 in this manual.
11
AWS IoT
3. Enter Thing name and set minimal time between messages. Only Qos 0 and
Qos 1 are available.
4. Go to Address tab and set the addresses for reported status (LB-0) and
desired setting (LB-1). ->, <-> stands for the direction in which data is
transmitted.
12
AWS IoT
13
AWS IoT
5. References
EasyBuilder Pro User Manual Chapter 42 IIoT
How does AWS IoT platform work:
https://aws.amazon.com/tw/iot-platform/how-it-works/
14