Learning AWS IoT
上QQ阅读APP看书,第一时间看更新

Configuring IoT devices to AWS IoT

In this section, we will configure an IoT device in order to access AWS IoT. Several steps should be taken to complete the registration process:

  1. Firstly, we create a thing type. You can perform this task on the Manage | Types menu from AWS IoT Console and then click on the Create button. Fill in the type name and attributes for your IoT device. For instance, we give a thing type as IoT-Device with  name as the thing attribute :
  1. After this has been created, you should see it on the Types screen from the AWS IoT dashboard, as shown in the following screenshot:
  1. Next, we add three IoT devices into AWS IoT. Navigate to Manage| Things on the AWS IoT dashboard. Then, you add a thing name and its attribute as shown in the screenshot below the table. The following is our configuration of IoT devices:
  1. After we have added three IoT devices, you should see these devices on the Things dashboard from the AWS IoT Management Console, as shown in the following screenshot:
  1. The next step is to add our IoT devices to a security certificate. Since we have created a security certificate in Chapter 1, Getting Started with AWS IoTwe  can use that. We add our three devices into our existing certificate by clicking on the certificate, which locates on the Secure Certificates menu from AWS IoT, so you should see a context menu, shown in the following screenshot:
  1. Select the Attach thing menu on the context menu. Then, check all the devices. Click on the Attach button once done, as shown in the following screenshot:
  1. We can verify whether our devices are already added or not. You can check it on the Things screen from your certificate on AWS IoT Management Console, as shown in the following screenshot:

Now our devices are ready for AWS IoT development.