IoT Starter Kit Part 3: Connect to the cloud AWS IoT. 1 Local network

Similar documents
How to Build an IoT Application with Moxa's ThingsPro and AWS IoT Service

Advantech AE Technical Share Document

Libelium-AWS Development Kit. Quick Start Guide

Advantech AE Technical Share Document

How to Route Internet Traffic between A Mobile Application and IoT Device?

3. In the upper left hand corner, click the Barracuda logo ( ) then click Settings 4. Select the check box for SPoE as default.

BCM4343W IoT Starter Kit Getting Started Guide Version 2.1

AWS IoT Overview. July 2016 Thomas Jones, Partner Solutions Architect

Cassia MQTT User Guide

XCONNECT 2018 GATEWAY USER MANUAL

On-demand target, up and running

QUICK START: SYMANTEC ENDPOINT PROTECTION FOR AMAZON EC2

SSL Certificate Based VPN

IQRF - Mesh Networking

Dell Wyse Management Suite. Version 1.3 Deployment Guide

Copyright 2018 VMware, Inc. All rights reserved. Copyright and trademark information.

Load Balancing Web Servers with OWASP Top 10 WAF in AWS

Azure Marketplace Getting Started Tutorial. Community Edition

Azure Marketplace. Getting Started Tutorial. Community Edition

Installing Oracle Database 11g on Windows

Installing and Configuring vcloud Connector

Installing and Configuring VMware Identity Manager Connector (Windows) OCT 2018 VMware Identity Manager VMware Identity Manager 3.

vshield Administration Guide

YWireless-RX65N Smart Home Gateway Getting Started Guide

Load Balancing Nginx Web Servers with OWASP Top 10 WAF in AWS

ThingsPro Version 2 User s Manual

Riverbed Technology, Inc. 199 Fremont Street San Francisco, CA Phone Fax

Connecting the Unconnected: IoT Made Simple

Pexip Infinity and Amazon Web Services Deployment Guide

SUSE Cloud Admin Appliance Walk Through. You may download the SUSE Cloud Admin Appliance the following ways.

How to configure the UTM Web Application Firewall for Microsoft Remote Desktop Gateway connectivity

Installing and Configuring vcloud Connector

Load Balancing VMware Workspace Portal/Identity Manager

At Course Completion Prepares you as per certification requirements for AWS Developer Associate.

Libelium Cloud Hive. Technical Guide

OnRISC. IoT Manual. Vision Systems GmbH. Edition: October 2017

PCoIP Connection Manager for Amazon WorkSpaces

AWS IoT Example Using the Raspberry Pi 3 and NimbeLink CAT M1 Skywire

Industrial Automation Tech Note 52

Centrify Identity Services for AWS

CloudLink SecureVM. Administration Guide. Version 4.0 P/N REV 01

CSM - How to install Third-Party SSL Certificates for GUI access

How to Upload Device Data to a Remote Database Using the Log Upload Function

Cloud Computing /AWS Course Content

Alliance Key Manager AKM for AWS Quick Start Guide. Software version: Documentation version:

How to Configure Guest Access with the Ticketing System

FAQs. Business (CIP 2.2) AWS Market Place Troubleshooting and FAQ Guide

Installation Guide for antegma accallio OX Version 1.0

IoT Gateway PTC Inc. All Rights Reserved.

2016 Infoblox Inc. All rights reserved. Implementing AWS Route 53 Synchronization Infoblox-DG January 2016 Page 1 of 8

AWS IoT Getting Started Guide for

Industrial Automation

ThingsPro Software Suite Version 2 User s Manual

About This Document 3. Overview 3. System Requirements 3. Installation & Setup 4

System Setup. Accessing the Administration Interface CHAPTER

NGF0502 AWS Student Slides

Create a pfsense router for your private lab network template

AWS Remote Access VPC Bundle

Single Sign-On for PCF. User's Guide

vcloud Director Administrator's Guide

Table of Contents. Configure and Manage Logging in to the Management Portal Verify and Trust Certificates

Getting Started with the Google Cloud SDK on ThingsPro 2.0 to Publish Modbus Data and Subscribe to Cloud Services

AWS IoT Getting Started Guide for STM32F7 Discovery

VMware Identity Manager Cloud Deployment. DEC 2017 VMware AirWatch 9.2 VMware Identity Manager

VMware Identity Manager Cloud Deployment. Modified on 01 OCT 2017 VMware Identity Manager

QUICK START: VERITAS STORAGE FOUNDATION BASIC FOR AMAZON EC2

Installing and Configuring vcenter Support Assistant

Dohatec CA. Export/Import Procedure etoken Pro 72K FOR USERS OF ETOKENS [VERSION 1.0]

Using SSL to Secure Client/Server Connections

RSA NetWitness Platform

VII. Corente Services SSL Client

Developing Microsoft Azure Solutions (70-532) Syllabus

Deploying VMware Identity Manager in the DMZ. JULY 2018 VMware Identity Manager 3.2

vcloud Director Administrator's Guide

SAML-Based SSO Configuration

Synchro PRO 2016 Shared User License Manager Installation Instructions

vcloud Director User's Guide 04 OCT 2018 vcloud Director 9.5

The Wifidog project is an open source captive portal solution It consists of two components:

VMware Identity Manager Connector Installation and Configuration (Legacy Mode)

Getting Started with AWS IoT

Eucalyptus User Console Guide

Red Hat Quay 2.9 Deploy Red Hat Quay - Basic

VMWARE HORIZON CLOUD WITH VMWARE IDENTITY MANAGER QUICK START GUIDE WHITE PAPER MARCH 2018

Installation Guide for Windows

Zebra Mobile Printer, Microsoft IAS, Cisco Controller TLS and WPA-TLS, Zebra Setup Utility

Launch and Configure SafeNet ProtectV in AWS Marketplace

HySecure Quick Start Guide. HySecure 5.0

Using the EN-2000 s Management System

VIRTUAL GPU LICENSE SERVER VERSION , , AND 5.1.0

Server Installation Guide

CIS 700/002 : Special Topics : Secure MQTT for IoT

Dell Wyse Management Suite. Version 1.3 Quick Start Guide

USER GUIDE WWPass Security for (Thunderbird)

CompleteView Video Proxy User Manual. CompleteView Version 4.6.1

SAML-Based SSO Configuration

VMware Skyline Collector User Guide. VMware Skyline 1.4

Storage Made Easy Cloud Appliance installation Guide

PHPBasket 4 Administrator Documentation

Cisco Unified Operating System Administration Web Interface for Cisco Emergency Responder

Technical Memo V1.3 06th September 2018

Transcription:

IoT Starter Kit Part 3: Connect to the cloud AWS IoT IoT Starter Kit is designed in the way to be connectable to different clouds via bidirectional MQTT channel. So, you can collect, store, process and visualize data in a cloud or you can send your commands to the IQRF network remotely. In this part, we will configure the UP board to communicate with the Amazon Web Services (AWS) through the MQTT channel. 1 Local network Connect your UP board to your local network so it can obtain an IP address using DHCP. In the following steps, you will enter this address into your web browser on your computer (which is in the same local network as the UP board) and configure your gateway through the IQRF Daemon Web application. 2018 IQRF Tech s.r.o. www.iqrf.com Page 1

2 Amazon Web Services account First, create an Amazon Web Services account (aws.amazon.com). You must fill in your personal or company data and add your credit card details. Your credit card will be used for payments in a case you exceed limits of the selected services. 2018 IQRF Tech s.r.o. www.iqrf.com Page 2

3 Set up the connection To set up the connection between AWS and your UP board, you need to do some configuration steps on both sides. In Services, in the Internet of Things section of AWS, find AWS IoT. Click on Get started in the Onboard section. You will register your device, download the connection kit, and configure and test the connection with your device. 2018 IQRF Tech s.r.o. www.iqrf.com Page 3

Set up how you will be connected to the AWS IoT. Select the Linux operating system and Node.js as the AWS IoT Device SDK. Enter the name of your connected device. Note: You can choose your own name. In that case in later steps, you need to use the given name. 2018 IQRF Tech s.r.o. www.iqrf.com Page 4

Download the connection kit to get a certificate and keys for a secure MQTT connection. Save and unzip this file to your computer. Store the certificate and the keys for further use. 2018 IQRF Tech s.r.o. www.iqrf.com Page 5

After saving process, go to the documentation. Here, look up the Download root CA string. Search in the Entire site to be sure to find it. 2018 IQRF Tech s.r.o. www.iqrf.com Page 6

In the search results, find the article Using the AWS IoT Embedded C SDK. The number of records in a search result can exceed the page limit so you need to go through more pages. Here you can find the root certificate. 2018 IQRF Tech s.r.o. www.iqrf.com Page 7

Copy the string to a text file and save it as rootca.pem to the directory with other certificates on your computer. Note: You can choose your own name. In that case in later steps, you need to use the given name. Next, click Done. 2018 IQRF Tech s.r.o. www.iqrf.com Page 8

In the Settings, note the name of your endpoint because you will need it for the UP board configuration. Files rootca.pem (root certificate), IQRF_Gateway.private.key (private key file), and IQRF_Gateway.cert.pem (certificate file) should be already unzipped. We will transfer them to the UP board through the IQRF Gateway Daemon web application. In the web browser on your computer, insert the IP address of your UP board, and login to it as admin with password iqrf. In the IQRF Gateway Daemon web application, click on the Amazon AWS item in the Clouds menu. 2018 IQRF Tech s.r.o. www.iqrf.com Page 9

Enter the name of the Endpoint (find it in Settings of your AWS IoT). Select rootca.pem as a Root CA certificate, IQRF_Gateway.cert.pem as a Certificate and IQRF_Gateway.private.key as a Private key file. Save the configuration. Note: If you named your virtual device in AWS with a different name, names of files contain this name instead of IQRF_Gateway. Inspect the new MQTT interface. 2018 IQRF Tech s.r.o. www.iqrf.com Page 10

Address of the endpoint goes after the SSL protocol and at the end of Broker address is the port number 8883. Iqrf/DpaRequest is set as the topic for commands, and Iqrf/DpaResponse is set as the topic for responses. 2018 IQRF Tech s.r.o. www.iqrf.com Page 11

There are the timeout, the minimum, and maximum connections set, and the path to the uploaded files that set up a secure connection between the gateway and the cloud. Check the Enable server certificate authentication item. Restart IQRF Gateway Daemon. After restarting, check the status of the UP board if the selected services are running. 2018 IQRF Tech s.r.o. www.iqrf.com Page 12

4 Test the connection In the web browser on your computer, in AWS IoT, click Test. Enter the Iqrf/DpaResponse to the Response topic to retrieve the gateway responses and click on Subscribe to topic. To send commands from the cloud to the gateway, set the Iqrf/DpaRequest as the topic for requests. Gateway will expect commands in this topic. Insert a DPA packet in the JSON format into the text box and click on Publish to topic. In our example, we sent a command to turn on the red LED on the coordinator. { "ctype": "dpa", "type": "raw", "msgid": "1510754980", "request": "00.00.06.01.FF.FF", "request_ts": "", "confirmation": "", "confirmation_ts": "", "response": "", "response_ts": "" } 2018 IQRF Tech s.r.o. www.iqrf.com Page 13

We can see that the gateway picked up and executed the command, and sent a confirmation with "No Error" into the Iqrf/DpaResponse topic. We can visually double check the result of this command. The red LED turned on. 5 Summary The bidirectional communication between IQRF network and the Amazon Web Services is up and running. Now it s just up to you to use it for your own IoT solution. 2018 IQRF Tech s.r.o. www.iqrf.com Page 14