hands-on lab

Introduction to AWS IoT

Difficulty: Beginner
Duration: Up to 2 hours
Students: 407
Rating: 4.9/5
Get guided in a real environmentPractice with a step-by-step scenario in a real, provisioned environment.
Learn and validateUse validations to check your solutions every step of the way.
See resultsTrack your knowledge and monitor your progress.

Description

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.

Prerequisites

You should be familiar with:

  • Connecting to Linux EC2 instances

Learning 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 Environment

Before completing the Lab instructions, the environment will look as follows:

After completing the Lab instructions, the environment should look similar to:

 

Updates

October 18th, 2022 - Updated the instructions and screenshots to reflect the latest UI, updated lab to use EC2 Instance Connect, and added checks. 

January 10th, 2019 - Added a validation Lab Step to check the work you perform in the Lab

October 23rd, 2018 - Updated the root CA certificate used by the device simulator to the new default Amazon CA (changed from Verisign). Instructions and screenshots updated to reflect the latest interface.

Covered topics

Lab steps

Logging In to the Amazon Web Services Console
Creating a Certificate for Device Authentication
Registering Types for your Things
Registering your Things
Securing your Things
Publishing and Subscribing to Topics
Creating Rules to Respond to Topic Messages
Updating Device State with Shadows
Monitoring your Things with the AWS IoT Dashboard