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