hands-on lab

Introduction to AWS IoT

Beginner
2h
400
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.
Lab 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.

About the author
Avatar
Logan Rakai
Lead Content Developer - Labs
Students
214,407
Labs
222
Courses
9
Learning paths
56

Logan has been involved in software development and research since 2007 and has been in the cloud since 2012. He is an AWS Certified DevOps Engineer - Professional, AWS Certified Solutions Architect - Professional, Microsoft Certified Azure Solutions Architect Expert, MCSE: Cloud Platform and Infrastructure, Google Cloud Certified Associate Cloud Engineer, Certified Kubernetes Security Specialist (CKS), Certified Kubernetes Administrator (CKA), Certified Kubernetes Application Developer (CKAD), and Certified OpenStack Administrator (COA). He earned his Ph.D. studying design automation and enjoys all things tech.

LinkedIn, Twitter, GitHub

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