Introduction to AWS IoT

Beginner

43 students completed the lab in ~1h:30m

Total available time: 2h:0m

Be the first to rate this lab!

Lab Overview

AWS IoT allows you to quickly connect and work with IoT devices in a highly scalable, reliable, and secure environment. Explore the main concepts in AWS IoT by working through a scenario where you connect and manage two types of devices in an office setting. In AWS IoT things are registered to represent physical devices. Things provide convenient ways of monitoring and communicating with the underlying devices that they represent. The state of things can be retrieved and updated using thing shadows. You will learn everything from securing communication with your devices to getting an overview of your IoT ecosystem.

Lab Objectives

Upon completion of this lab you will be able to:

  • Secure device communication channels
  • Publish and subscribe to MQTT topics
  • Respond to topic messages using AWS IoT rules
  • Update device state using thing shadows
  • Monitor your IoT ecosystem

Lab Prerequisites

You should be familiar with:

  • Connecting to Linux EC2 instances

Lab Environment

Before completing the lab instructions the environment will look as follows:

After completing the lab instructions the environment should look similar to:

Follow these steps to learn by building helpful cloud resources

Log In to the Amazon Web Service Console

Your first step to start the laboratory experience

Creating a Certificate for Device Authentication

Create an X.509 certificate to authenticate all device communication into AWS IoT

Registering Types for your Things

Keep your things organized by using types

Registering your Things

Register your things in the Device Registry to take full advantage of AWS IoT

Securing your Things

Setup an AWS IoT security policy and attach it to your authentication certificate

Publishing and Subscribing to Topics

Publish and subscribe to messages using MQTT topics

Creating Rules to Respond to Topic Messages

Use the AWS IoT Rules Engine to trigger actions based on topic messages

Updating Device State with Shadows

Use a thing shadow to set the desired state of an IoT-connected devices

Monitoring your Things with the AWS IoT Dashboard

Get the overall status of your things in a glance with the AWS IoT dashboard