Giter Site home page Giter Site logo

awsiot's Introduction

awsiot

this repository is to help you send messages to aws iot core with detailed steps, follow step by step this guide assumes you already have aws account

step 1: configuring aws iot core

  1. click on services and select iot core
  2. on the left panel it shows monitor, onboard, manage ...
  3. click on manage -> things -> create (top right) -> create single new thing -> give suitable name -> Next
  4. select create certificate and download all certificatess except public key (which isnt useful for connection)
  5. Below you will see root CA for AWS IoT -> click download (it redirects you to secure CA) -> click on Amazon Root CA 1
  6. right click and save it by the same name as it displays
  7. Go back to from where you downloaded the certificates -> click activate
  8. Click attach policy
    (if you already have created policy then select one of them and click register thing )
    (if you havent done it, then simply click register thing
  9. Go to secure tab in left panel -> click policies -> create -> give suitable name
  10. under add statements -> under action -> write iot:* -> under resource arn -> write * -> check allow (under effect)
  11. click create.
  12. now go back to where you create a thing (i.e., things under manage in side panel) -> select the thing -> go to security -> select the certificate
  13. top right click on actions -> attach policy -> select the policy -> click attach

Now your aws is ready for getting data

step 2: Code implementation

Click here

Note

: put all certificates to certificates folder and edit their extensions as shown in code above : the code is present in the same directory as that of certificates or vice versa and hence the path c://users has not been added

end for now

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.