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

Building an IoT project with AWS IoT

In this section, we will try to develop a simple IoT application by applying the  AWS IoT platform. We will deploy the IoT program on several IoT devices. These devices will use sensors to sense the physical environment, and then send a result of the sensing to AWS IoT. We will also create a small application to listen to incoming messages from AWS IoT. This is called the sensor subscriber application.

You can see a general demo architecture in the following figure. For testing, we use Arduino Yún as the IoT device node:

We  will build each component in the next section.

Configuring AWS IoT

We should configure your AWS IoT. We already configured this in Chapter 1, Getting Started with AWS IoT, and in the first section in this chapter. The idea is to register each IoT device and application to AWS IoT Console. After configuration, we should get the certificate and private key files that will apply in our program.

Developing the Arduino program

For the IoT node...