Skip to content

TusharPatel44/aws-ec2-iot-device-simulator

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

6 Commits
 
 
 
 
 
 
 
 

Repository files navigation

aws-ec2-iot-device-simulator

Simple AWS IoT device simulator in Python. The simulator scripts run on AWS EC2 instance.

Getting Started

Prerequisites

  • Amazon AWS account

Overview

The cloudformation template will create a t2.micro AWS EC2 instance as the 'thing' or 'device'. The device (ec2 instance) requires identification (private key and certificate) in order to connect to AWS IoT. After identification document is ready and installed, the python script that produce the data (act as device) can be run.

Devices

Moisture sensor

It publishes message using MQTT on port 8883. It will update its device shadow.

Usage:

moisture_sensor.py [-h] -e HOST -r ROOTCAPATH -c CERTPATH -k PRIVATEKEYPATH [-d DELAY]

About

AWS IoT device simulator on AWS EC2 instance

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages