Skip to content

Exploration of AWS IoT - deployment of GreenGrass core on Raspberry Pi and simulation of vehicle emissions data analysis.

Notifications You must be signed in to change notification settings

jpan8866/aws-iot-core-traffic-simulation

 
 

Repository files navigation

Create AWS IoT Thing using python and boto3

This project will create a thing on AWS IoT platform using boto3 and python and download the certificates.

Requirements

  • AWS Credentials, if you have installed AWS CLI, then you can use it to configure your credentials file:

    aws configure
    

    if don't you can create a credentials by creating credentials file under ~/.aws/ (~/.aws/credentials) and put:

    aws_access_key_id = YOUR_ACCESS_KEY
    aws_secret_access_key = YOUR_SECRET_KEY
    
  • Python

  • Boto3, you can find more information about it here

  • Create a policy named GGTest_Group_Core-policy or change defaultPolicyName value in source code to your appropriate policy.

NOTE: install.sh installs some required libraries

Getting Started

  • Clone the repository
  • modify defaultPolicyName variable in createThing-Cert.py and run it python3 createThing-Cert.py
  • modify line 29 in lab4_emulator_client_updated.py with your endpoint name and run it python3 lab4_emulator_client_updated.py

About

Exploration of AWS IoT - deployment of GreenGrass core on Raspberry Pi and simulation of vehicle emissions data analysis.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Python 84.3%
  • Jupyter Notebook 15.7%