iot:tutorial:aws-integration
Differences
This shows you the differences between two versions of the page.
Both sides previous revisionPrevious revisionNext revision | Previous revisionNext revisionBoth sides next revision | ||
iot:tutorial:aws-integration [2020/06/16 07:35] – [Create ES] atolstov | iot:tutorial:aws-integration [2020/07/06 11:48] – atolstov | ||
---|---|---|---|
Line 232: | Line 232: | ||
{{ iot: | {{ iot: | ||
- | For know, it is WebHMI can post the data from real devices to various | + | For know, it is WebHMI can post the data from real devices to AWS MQTT Client, which allow update to various AWS Thing' |
Line 309: | Line 309: | ||
**// | **// | ||
\\ | \\ | ||
- | 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 359: | Line 359: | ||
==== Next steps ==== | ==== Next steps ==== | ||
- | ==== Create | + | ==== Create |
- | To use Kibana visualisation firstly you need to have an ElasticSearch engine deployed on virtual machine. Fortunately, | + | 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, | ||
{{ : | {{ : | ||
So, crete a new one instance with following settings. | So, crete a new one instance with following settings. | ||
{{ : | {{ : | ||
- | Specify domain name and instance type(size, e.g. t2.small). | + | Specify domain name and instance type (size, e.g. t2.small). |
{{ : | {{ : | ||
Specify the access policy, the good practice is a public one, but there is should IP resctiction be specified. | Specify the access policy, the good practice is a public one, but there is should IP resctiction be specified. | ||
Line 383: | Line 384: | ||
At this moment, you will have access to Kibana plugin, the following link is provided above. | At this moment, you will have access to Kibana plugin, the following link is provided above. | ||
{{ : | {{ : | ||
+ | ==== Create a DynamoDB to Elasticsearch bridge using Lambda function ==== | ||
+ | |||
+ | |||
+ | |||
<del> | <del> | ||
- | 1) Create Lambda function, set up destinations, | + | 0) formulate the payload in JSON and clarify the DDBv2 rule |
+ | 1) Create Lambda function, set up destinations, | ||
+ | |||
+ | 2) test function successfully. | ||
3)check Kibana metric created. | 3)check Kibana metric created. |
iot/tutorial/aws-integration.txt · Last modified: 2021/07/22 07:32 by atolstov