Managing IoT Sensor Data with Amazon ElastiCache for Redis

Managing IoT Sensor Data with Amazon ElastiCache for Redis

1時間 30分 クレジット: 10

SPL-142 - Version 2.0.5

© 2020 Amazon Web Services, Inc. and its affiliates. All rights reserved. This work may not be reproduced or redistributed, in whole or in part, without prior written permission from Amazon Web Services, Inc. Commercial copying, lending, or selling is prohibited.

Errors or corrections? Email us at

Other questions? Contact us at


Time Series data is a sequence of observations over a period of time. The goal of capturing time series data from IoT devices such as sensors is to learn from observations and apply that learning or analytics to improve upon some experience or to help predict the next event, given previous observations.

In this lab, you will simulate temperature sensor readings, then capture, ingest and analyze the data with Amazon ElastiCache for Redis. The entire solution is:

Solution stack

Topics covered

By the end of this lab, you will be able to:

  • Create a Thing using the AWS IoT Service.
  • Emulate a sensor and configure AWS IoT to track data.
  • Securely connect to your instance.
  • Deploy an AWS Lambda function and IoT Rule.
  • Analyze Sensor Data using Redis CLI.

Start Lab

  1. At the top of your screen, launch your lab by clicking Start Lab

This will start the process of provisioning your lab resources. An estimated amount of time to provision your lab resources will be displayed. You must wait for your resources to be provisioned before continuing.

If you are prompted for a token, use the one distributed to you (or credits you have purchased).

  1. Open your lab by clicking Open Console

This will automatically log you into the AWS Management Console.

Please do not change the Region unless instructed.

Common login errors

Error : Federated login credentials

If you see this message:

  • Close the browser tab to return to your initial lab window
  • Wait a few seconds
  • Click Open Console again

You should now be able to access the AWS Management Console.

Error: You must first log out

If you see the message, You must first log out before logging into a different AWS account:

  • Click click here
  • Close your browser tab to return to your initial Qwiklabs window
  • Click Open Console again

What is Amazon ElastiCache?

Amazon ElastiCache is a web service that helps improve the performance of web applications by allowing you to retrieve information from fast, managed, in-memory caches, instead of relying entirely on slower disk-based databases. It supports two common, open-source engines, Memcached and Redis.

What is AWS IoT?

AWS Internet of Things (IoT) is a managed cloud platform that lets connected devices easily and securely interact with cloud applications and other devices. AWS IoT can support billions of devices and trillions of messages, and can process and route those messages to AWS endpoints and to other devices reliably and securely. With AWS IoT, your applications can keep track of and communicate with all your devices, all the time, even when they aren’t connected.

In this lab, you will see how AWS IoT makes it easy to use AWS services like AWS Lambda and Amazon ElastiCache Service to build IoT applications that gather, process, and analyze data generated by connected devices (in this case an emulator), without having to manage any infrastructure.

Emulate a Sensor and Configure AWS IoT

Are you ready to create your "Thing"?

  • In Task 1, you will create a thing.
  • In Task 2, you will prepare a data emulator
  • In Task 3, you will connect to an EC2 instance
  • In Task 4, you will configure and execute the emulator and establish telemetry
  • In Task 5, you will deploy a Lambda function and IoT Rule.
  • In Task 6, you will analyze sensor data using the Redis CLI.

Qwiklabs に参加してこのラボの残りの部分や他のラボを確認しましょう。

  • Amazon Web Services コンソール への一時的なアクセス権を取得します。
  • 初心者レベルから上級者レベルまで 200 を超えるラボが用意されています。
  • ご自分のペースで学習できるように詳細に分割されています。