Introduction to AWS IoT


93 students completed the lab in ~1h:12m

Total available time: 2h:0m

34 students rated 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.



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:


Do you have questions about this Lab? Contact our cloud experts by sending an email to

Follow these steps to learn by building helpful cloud resources

Logging in to the Amazon Web Services Console

Your first step to start the Lab 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