Book Image

Learning AWS IoT

By : Agus Kurniawan
Book Image

Learning AWS IoT

By: Agus Kurniawan

Overview of this book

The Internet of Things market increased a lot in the past few years and IoT development and its adoption have showed an upward trend. Analysis and predictions say that Enterprise IoT platforms are the future of IoT. AWS IoT is currently leading the market with its wide range of device support SDKs and versatile management console. This book initially introduces you to the IoT platforms, and how it makes our IoT development easy. It then covers the complete AWS IoT Suite and how it can be used to develop secure communication between internet-connected things such as sensors, actuators, embedded devices, smart applications, and so on. The book also covers the various modules of AWS: AWS Greengrass, AWS device SDKs, AWS IoT Platform, AWS Button, AWS Management consoles, AWS-related CLI, and API references, all with practical use cases. Near the end, the book supplies security-related best practices to make bi-directional communication more secure. When you've finished this book, you'll be up-and-running with the AWS IoT Suite, and building IoT projects.
Table of Contents (14 chapters)
Title Page
Packt Upsell

Setting up AWS IoT Button

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:

  1. Register AWS IoT Button to AWS IoT
  2. Connect AWS IoT Button to a network
  3. Test the connectivity

Each step will be presented in the following sections.

Registering AWS IoT Button to AWS IoT

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 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...