Getting started with AWS IoT

Agenda

 

  • Setting up AWS IoT Account
  • Connecting Node MCU to AWS IoT
  • MQTT
  • Rule Engine

Setting up AWS IoT Account

 

Create AWS IoT Account

  1. Goto : https://console.aws.amazon.com/console/home
  2. Register / Login
  3. Services -> AWS IoT
  4. Create IAM credentials

Explore

  1. Dashboard
  2. Registry - Things, Types
  3. Security - Certificates, Policies
  4. Rules
  5. Test Client

Create IAM Credentials

  1. Services -> IAM
  2. Add User
  3. Access type -> Programmatic
  4. Permissions ->Attach existing policy
  5. Select AdminsitratorAccess
  6. Review, Create User
  7. Download .csv

Connecting ESP8266 to AWS IoT

Setup AWS CLI

  • Install VirtualBox https://www.virtualbox.org/wiki/Downloads
  • Install Extension Packs
  • Download Appliance https://drive.google.com/open?id=0BxIbLRg6R6arRl9NdVgtb2VsRGM
  • Import Appliance in VirtualBox
  • Install AWS Cli - sudo apt-get install awscli  
  • Run aws configure
  • Run aws iot describe-endpoint

Connect NodeMCU to AWS

https://github.com/SuperHouse/esp-open-rtos/tree/master/examples/aws_iot

Made with Slides.com