Ingesting Data into Amazon Timestream with AWS IoT Core

Ingesting Data into Amazon Timestream with AWS IoT Core
Ingesting Data into Amazon Timestream with AWS IoT Core

CLOUD LABS



Ingesting Data into Amazon Timestream with AWS IoT Core

In this Cloud Lab, you’ll learn to make use of the Amazon Timestream database for ingesting real-time IoT data using AWS IoT Core.

10 Tasks

intermediate

1hr 30m

Certificate of Completion

Desktop OnlyDevice is not compatible.
No Setup Required
Amazon Web Services

Learning Objectives

An understanding of AWS IoT Core and its core concepts
Familiarity with Amazon Timestream and its role in effectively managing time-series data
Ability to connect Amazon Timestream with the AWS IoT Core
Hands-on experience fetching data from the Amazon Timestream using its query editor

Technologies
IAM logoIAM
IoT Core
Timestream
Skills Covered
Using AWS Cloud Services
Cloud Lab Overview

Amazon Timestream has the ability to handle high-frequency, time-ordered data points with low-latency querying and scalability to make informed decisions at organizations.

You will start this Cloud Lab by registering your local device with IoT Core. For that, you will first create an IoT thing. Next, you will create the security credentials required by your device to connect with the IoT Core and use these credentials to send data from your device to IoT Core and use the MQTT test client to see the data being received by IoT Core. After that, you will create an Amazon Timestream database and a table within that database, which will store the data being published on the IoT Core. You will then use the IoT rule to integrate the database with the IoT core. Lastly, you will publish messages to the IoT core and use SQL queries to check if that data is being ingested by Amazon Timestream.

After completing this Cloud Lab, you will be able to effectively ingest and store device data in Amazon Timestream using AWS IoT Core.

The diagram below shows the architecture that we will provision in this Cloud Lab:

Architecture diagram
Architecture diagram
Cloud Lab Tasks
1.Introduction
Getting Started
2.Register the Device
Create a Thing
Generate the Required Security Credentials
Publish Messages
3.Integrate Amazon Timestream
Set Up the Database
Create an IAM Role
Create an IoT Rule
Publish Messages
4.Conclusion
Clean Up
Wrap Up
Labs Rules Apply
Stay within resource usage requirements.
Do not engage in cryptocurrency mining.
Do not engage in or encourage activity that is illegal.

Before you start...

Try these optional labs before starting this lab.

Relevant Course

Use the following content to review prerequisites or explore specific concepts in detail.

Hear what others have to say
Join 1.4 million developers working at companies like