Class Central is learner-supported. When you buy through links on our site, we may earn an affiliate commission.

Amazon Web Services

Introduction to AWS Internet of Things (IoT)

Amazon Web Services and Amazon via AWS Skill Builder

Overview

Languages Available: Español (Latinoamérica) | Français | Bahasa Indonesia | Italiano | 日本語 | 한국어 | Português (Brasil) | 中文(简体)

In this lab, you will run a simple IoT device simulator on Amazon Elastic Compute Cloud (Amazon EC2) that will send sensor data (temperature) to the AWS IoT device gateway. You will then build a simple rule, using SQL-like syntax, that will publish a notification to an Amazon Simple Notification Service (Amazon SNS) topic when the temperature of the device is within a defined threshold. By connecting your email address with the Amazon SNS topic, you will receive an email notification when the threshold is met. Finally, you will update the device shadow, instructing the device to "turn on the air conditioning," resulting in lowering temperatures.


Level

Fundamental


Duration

1 Hours 30 Minutes


Course Objectives

In this course, you will learn how to:

  • Create AWS IoT certificates and keys
  • Run the simulator app and publish data to AWS IoT
  • Subscribe to the topic with the MQTT client in the AWS Management Console and watch the data stream in
  • Create an AWS IoT rule that will look for records with a temperature above a defined threshold
  • Associate a Simple Notification Service action with the rule
  • Publish a state change to the device shadow, instructing the simulator app to reduce temperature by "turning on the air conditioning"


Intended Audience

This course is intended for:

  • Architects
  • Developers


Prerequisites

We recommend that attendees of this course have the following prerequisites:

  • Familiar with the **Amazon EC2** service
  • Know how to connect to a **Linux-based EC2 instance**
  • Familiar with Amazon SNS, in particular, how to create an Amazon SNS topic and subscribe an email address to the topic.


Course Outline

  • Task 1: Connect to the Amazon EC2 instance
  • Task 2: Generate the AWS IoT X.509 certificates
  • Task 3: Create a Thing type
  • Task 4: Create a Thing
  • Task 5: Attach the policy and Thing to the certificate
  • Task 6: Create an IoT rule to send a notification
  • Task 7: Run the simulator application
  • Task 8: Create a subscription topic for your Thing and publish it
  • Task 9: Change device state with the device shadow

Reviews

Start your review of Introduction to AWS Internet of Things (IoT)

Never Stop Learning.

Get personalized course recommendations, track subjects and courses with reminders, and more.

Someone learning on their laptop while sitting on the floor.