User Tools

Site Tools


iot:tutorial:aws-integration

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revisionPrevious revision
Next revision
Previous revision
Next revisionBoth sides next revision
iot:tutorial:aws-integration [2020/06/15 14:02] atolstoviot:tutorial:aws-integration [2020/07/06 11:48] atolstov
Line 232: Line 232:
 {{ iot:aws:wh:wh_test_via_mqttfx_connections.png?direct |}} {{ iot:aws:wh:wh_test_via_mqttfx_connections.png?direct |}}
  
-For know, it is WebHMI can post the data from real devices to various AWS Thingsvisualise with QuickSight tool and store this data in DynamoDB with possibility to import as .csv file to S3 bucket for example.+For know, it is WebHMI can post the data from real devices to AWS MQTT Clientwhich allow update to various AWS Thing's Shadow. The data could be visualised data with QuickSight tool and stored this data in DynamoDB with possibility to import as .csv file to S3 bucket for example.
  
  
Line 309: Line 309:
 **//Decimation code://** **//Decimation code://**
 \\  \\ 
-If there is several target register, such us (//counter, counter2, etc.//), but if it changes too often, this code will help to decimate the output trigger signal.+If there is several target register, such as //counter, counter2, etc.//, but if it changes too often, this code will help to decimate the output trigger signal.
 <code lua> <code lua>
 a1,a2,a3,a4 = 0,0,0,0 a1,a2,a3,a4 = 0,0,0,0
Line 358: Line 358:
 </code> </code>
  
-Create ES +==== Next steps ==== 
-check Kibana metric created. +==== Create visualisation environment ==== 
-Work with Kibana+To use Kibana visualisation firstly you need to run an ElasticSearch engine deployed on virtual machine.  
 +So the idea is to create ElasticSearch Instance with Kibana plugin on-board. 
 +Fortunately, there is a detached Menu item in Analytics AWS Services group.  
 +{{ :iot:tutorial:aws_es_service.png?direct |}} 
 +So, crete a new one instance with following settings. 
 +{{ :iot:tutorial:es_type.png?direct |}} 
 +Specify domain name and instance type (size, e.g. t2.small). 
 +{{ :iot:tutorial:es_domain.png?direct |}} 
 +Specify the access policy, the good practice is a public one, but there is should IP resctiction be specified.  
 +{{ :iot:tutorial:es_security.png?direct |}} 
 +[[https://www.myip.com/|To check IP use myip.com]]. 
 +{{ :iot:tutorial:es_myip_blur.com.png?direct |}} 
 +The first line has your current IP.  
 +As a CIDR block you can rewrite you IP as XXX.XXX.XXX.XXX/16, where 16 is a number or bit, that can be changed to still satisfy the condition, so that will form a IP adresses range, which will protect your from ISP pool IP mascarading.  
 +Otherwise, copy your IP to field as is. 
 +\\  
 +In the end, this will lead your to this settings. Review it and confirm creation if it fine. 
 +{{ :iot:tutorial:es_review.png?direct |}} 
 +After the creation, in several minutes it will be endpoint adress created  
 +{{ :iot:tutorial:es_success_loading.png?direct |}} 
 +Wait until it would be done. 
 +{{ :iot:tutorial:es_active.png?direct |}} 
 +At this moment, you will have access to Kibana plugin, the following link is provided above. 
 +{{ :iot:tutorial:es_kibana_loaded.png?direct |}} 
 +==== Create a DynamoDB to Elasticsearch bridge using Lambda function ==== 
 + 
 + 
 + 
 +<del> 
 +0) formulate the payload in JSON and clarify the DDBv2 rule 
 +1) Create Lambda function, set up destinations, triggers 
 + 
 +2) test function successfully. 
 + 
 +3)check Kibana metric created. 
 + 
 +4) Work with Kibana (demo visualisation)</del>
  
  
  
  
iot/tutorial/aws-integration.txt · Last modified: 2021/07/22 07:32 by atolstov

Donate Powered by PHP Valid HTML5 Valid CSS Driven by DokuWiki