0% found this document useful (0 votes)
5 views3 pages

Yubin Exp5 Iot

The document outlines an experiment for integrating IoT sensor data with AWS IoT Core and storing it in an S3 bucket. It includes the aim, objectives, prerequisites, and a detailed procedure for setting up the system. The conclusion highlights the effectiveness of AWS IoT Core in managing IoT data and the role of S3 for data backup and archiving.
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
5 views3 pages

Yubin Exp5 Iot

The document outlines an experiment for integrating IoT sensor data with AWS IoT Core and storing it in an S3 bucket. It includes the aim, objectives, prerequisites, and a detailed procedure for setting up the system. The conclusion highlights the effectiveness of AWS IoT Core in managing IoT data and the role of S3 for data backup and archiving.
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
You are on page 1/ 3

DEPARTMENT OF

COMPUTER SCIENCE & ENGINEERING

Experiment 5
Student Name: Yubin UID: 22BCS16626
Branch: BE-CSE Section/Group: IOT-636-B
Semester: Sixth Date of Performance: 24-02-2025
Subject Name: Foundation of Cloud IOT Edge Subject Code: 22CSP-367
ML Lab (22CSP-367)

1) Aim: Set up a system using IoT sensor data to AWS IoT Core and store it in an S3 bucket

2) Objective: To demonstrate the process of integrating IoT sensors with AWS IoT Core,
transmitting sensor data, and storing the data in AWS S3 for further analysis.

3) Pre-requisites:
a) Basic knowledge of cloud computing.
b) Basic knowledge of Linux and Windows operating systems.
c) An AWS account.

4) Procedure:
1) Go to AWS console and search for S3 Bucket in search bar.
2) From the list of options that appear, select S3.

3) Click on Create Bucket option, provide a name for the bucket and create the bucket.
DEPARTMENT OF
COMPUTER SCIENCE & ENGINEERING

4) Now search for IOT Core in the search bar and select IOT Core from the list of options that
appears.
5) Now click on Rules engine option.

6) Click on Create Rule option, provide a name and description for the rule. On the next page
click on SQL Version and select 2016-03-23. Inside the SQL Statement box, type SELECT
* FROM ‘iotdevice/+/datas3’

7) Choose ‘Store a message in an Amazon S3 bucket’ option from the rule actions list.
8) Select the bucket which you created , and provide the key as ${cast(topic(2) AS
DECIMAL)}/${timestamp()}.
9) Now create a new rule for the action and select the same rule.
DEPARTMENT OF
COMPUTER SCIENCE & ENGINEERING

10) Click on next and save the action.


11) Now go to MQTT Client on the AWS IOT Core page.
12) Click on Publish to a Topic, provide topic name as iotdevice/55/datas3 and set message
payload as {“temperature”: 22, “humidity”: 88, “co2”: 455}.
13) Click on the publish option.

14) Now go to the chosen S3 bucket. A folder titled 55/ will be there. Open the folder and lists
of files will be available. Downlaod any one file to see the data.

5) Output:

6) Conclusion:

As a result, AWS IoT Core with the IoT Rule engine will assist in filtering IoT topics and the storage
of data in AWS S3. AWS IoT core can receive and send millions of IoT data at a time, and the AWS
IoT Rule engine can filter MQTT topics from IoT devices and send them to other AWS Services
and a time stamp. For data backup and archive, AWS S3 will be used.

You might also like