In this section, we are going to set up AWS IoT Button. Assume you have a second generation, or later, AWS IoT Button. If you don't have AWS IoT Button hardware, you can buy it from Amazon's website. You also need a Wi-Fi hotspot with a supported internet connection.
In general, we can set up AWS IoT Button by performing the following steps:
- Register AWS IoT Button to AWS IoT
- Connect AWS IoT Button to a network
- Test the connectivity
Each step will be presented in the following sections.
To set up your AWS IoT Button, we should register it on AWS IoT Management Console. Since AWS IoT Button can be treated as a thing, we can perform this registration through a browser with the URL https://console.aws.amazon.com/iot. Please refer to Chapter 4, Building Local AWS Lambda with AWS Greengrass, to register a thing, namely AWS IoT Button.
On successful registration of the button, we will obtain a certificate and public and private key files...