{"_id":"5b468ae13d4a9e0003789120","project":"568bdc1483d2061900d86cdc","version":{"_id":"59a72290d61777001b6c42c3","project":"568bdc1483d2061900d86cdc","__v":33,"createdAt":"2017-08-30T20:39:44.453Z","releaseDate":"2017-08-30T20:39:44.453Z","categories":["59a7236e3fe4d90025117c10","59a72eb6cb0db3001b84cfe2","59a734eb757d030019b85af8","59c0243b1b2d07001a9d2b76","59c035e42126e10028effb12","59c06c40df5b3c0010584a13","59c1a5852cabe5002641a3e7","59c2fb00b2b45c0010b7a3d7","59c32ceb9aea850010ac4130","59c32e6e190c90003cb0d12f","59c33affb2b45c0010b7aa23","59c7dfa457bd8200105444dc","59c7e975c50cf30010d712a0","59cffdef0cd4dd0010294d54","59d0622ca91a810032c8f60c","59d06733c1aec60026253065","59d174d44ac471001a07b123","59d5a5e323e6e800103defb2","59ecf1d8ed507c001c52b255","59f76fef8581dc0010593e6f","5a0c003680a35b0012c35db0","5a8358722e78660075e45f42","5a846645b5ec3a001203517e","5b258091bc7a6700033b9cb5","5b26e48e024807000315a740","5b44edff3306680003663f5c","5b468abd3d4a9e0003789111","5b468d8f3dcb6a0003c6e374","5b47b0b93d4a9e000378a33a","5b538d114ea24f00033c726f","5b6a0efe402b32000336c33f","5bba5e5d7ba7710003bd902a","5bc2703349ac3a0013eec3e5"],"is_deprecated":false,"is_hidden":false,"is_beta":true,"is_stable":true,"codename":"","version_clean":"0.0.0","version":"0"},"category":{"_id":"5b468abd3d4a9e0003789111","project":"568bdc1483d2061900d86cdc","version":"59a72290d61777001b6c42c3","__v":0,"sync":{"url":"","isSync":false},"reference":false,"createdAt":"2018-07-11T22:54:53.996Z","from_sync":false,"order":9,"slug":"connections","title":"Connections"},"user":"5a6a26281895510045b2cd40","githubsync":"","__v":0,"parentDoc":null,"updates":[],"next":{"pages":[],"description":""},"createdAt":"2018-07-11T22:55:29.055Z","link_external":false,"link_url":"","sync_unique":"","hidden":false,"api":{"results":{"codes":[]},"settings":"","auth":"required","params":[],"url":""},"isReference":false,"order":0,"body":"# Install the AWS IoT Conduit on the Droplit Portal\n\n1. On the [Droplit portal](https://portal.droplit.io/), navigate to the _Connectivity_ page via the sidebar, and select _AWS IoT_.\n2. Select _Install_.\n4. Open a new tab before moving on to the next section; you will be filling in the blank fields with information obtained later on.\n[block:image]\n{\n  \"images\": [\n    {\n      \"image\": [\n        \"https://files.readme.io/f19cb00-portalNoFill.png\",\n        \"portalNoFill.png\",\n        2560,\n        1440,\n        \"#1b1c1d\"\n      ],\n      \"caption\": \"The connectivity page for the AWS IoT conduit on the Droplit portal immediately after it is first installed.\"\n    }\n  ]\n}\n[/block]\n# Integrate AWS IoT with the Droplit System\n\n1. Login to [Amazon's AWS console](https://console.aws.amazon.com/)\n\n## Choose a Lambda Function and Region\n1. On the AWS console, under _Compute_, select _Lambda_.\n2. Under the sidebar, select _Functions_.\n3. Chose a lambda function, and paste its name into the _Lambda Function Name_ field on the AWS IoT integration page on the Droplit portal. \n4. On the Droplit portal, fill in the _Lambda Function Region_ as it best pertains to the chosen Lambda function.\n\n## AWS IAM Credentials\n1. On the AWS console, under _Security, Identity & Compliance_, select _IAM_.\n2. Under the sidebar, select, _Users_.\n3. Either select the user whose credentials are to be used, or create a new user.\n4. From the user's _Summary_ page, select the _Security credentials_ tab.\n5. If the secret of an existing access key is known, that key may be used. Otherwise, select _Create access key_.\n6. Copy the desired Access key ID and corresponding Secret access key, and paste them into their respective fields in the Droplit portal.\n[block:image]\n{\n  \"images\": [\n    {\n      \"image\": [\n        \"https://files.readme.io/6f056df-IAMaccessKeys.png\",\n        \"IAMaccessKeys.png\",\n        2560,\n        1440,\n        \"#2b383f\"\n      ],\n      \"caption\": \"The \\\"Security credentials\\\" tab on the chosen user's Summary page within the AWS IAM management console.\"\n    }\n  ]\n}\n[/block]\n7. On the Droplit portal, select _Save & apply_ to finish configuring the conduit.\n[block:image]\n{\n  \"images\": [\n    {\n      \"image\": [\n        \"https://files.readme.io/a26d1dc-portalFill.png\",\n        \"portalFill.png\",\n        2560,\n        1440,\n        \"#1b1c1c\"\n      ],\n      \"caption\": \"The AWS IoT connectivity page on the Droplit portal with all its fields correctly populated.\"\n    }\n  ]\n}\n[/block]\n# Using the Outbound Lambda Function with Droplit Access Tokens\n\nOn the Droplit portal AWS IoT page, there is the option to generate access tokens. These tokens are to be distributed to users so that they may use the Outbound Lambda Function via the Droplit system.\n[block:image]\n{\n  \"images\": [\n    {\n      \"image\": [\n        \"https://files.readme.io/ee9cdd9-portalTokens.png\",\n        \"portalTokens.png\",\n        2560,\n        1440,\n        \"#1b1d1d\"\n      ],\n      \"caption\": \"The AWS IoT connectivity page on the Droplit portal with two access tokens created.\"\n    }\n  ]\n}\n[/block]","excerpt":"Connect the Droplit system with Amazon's managed cloud platform.","slug":"aws-iot","type":"basic","title":"AWS IoT"}

AWS IoT

Connect the Droplit system with Amazon's managed cloud platform.

# Install the AWS IoT Conduit on the Droplit Portal 1. On the [Droplit portal](https://portal.droplit.io/), navigate to the _Connectivity_ page via the sidebar, and select _AWS IoT_. 2. Select _Install_. 4. Open a new tab before moving on to the next section; you will be filling in the blank fields with information obtained later on. [block:image] { "images": [ { "image": [ "https://files.readme.io/f19cb00-portalNoFill.png", "portalNoFill.png", 2560, 1440, "#1b1c1d" ], "caption": "The connectivity page for the AWS IoT conduit on the Droplit portal immediately after it is first installed." } ] } [/block] # Integrate AWS IoT with the Droplit System 1. Login to [Amazon's AWS console](https://console.aws.amazon.com/) ## Choose a Lambda Function and Region 1. On the AWS console, under _Compute_, select _Lambda_. 2. Under the sidebar, select _Functions_. 3. Chose a lambda function, and paste its name into the _Lambda Function Name_ field on the AWS IoT integration page on the Droplit portal. 4. On the Droplit portal, fill in the _Lambda Function Region_ as it best pertains to the chosen Lambda function. ## AWS IAM Credentials 1. On the AWS console, under _Security, Identity & Compliance_, select _IAM_. 2. Under the sidebar, select, _Users_. 3. Either select the user whose credentials are to be used, or create a new user. 4. From the user's _Summary_ page, select the _Security credentials_ tab. 5. If the secret of an existing access key is known, that key may be used. Otherwise, select _Create access key_. 6. Copy the desired Access key ID and corresponding Secret access key, and paste them into their respective fields in the Droplit portal. [block:image] { "images": [ { "image": [ "https://files.readme.io/6f056df-IAMaccessKeys.png", "IAMaccessKeys.png", 2560, 1440, "#2b383f" ], "caption": "The \"Security credentials\" tab on the chosen user's Summary page within the AWS IAM management console." } ] } [/block] 7. On the Droplit portal, select _Save & apply_ to finish configuring the conduit. [block:image] { "images": [ { "image": [ "https://files.readme.io/a26d1dc-portalFill.png", "portalFill.png", 2560, 1440, "#1b1c1c" ], "caption": "The AWS IoT connectivity page on the Droplit portal with all its fields correctly populated." } ] } [/block] # Using the Outbound Lambda Function with Droplit Access Tokens On the Droplit portal AWS IoT page, there is the option to generate access tokens. These tokens are to be distributed to users so that they may use the Outbound Lambda Function via the Droplit system. [block:image] { "images": [ { "image": [ "https://files.readme.io/ee9cdd9-portalTokens.png", "portalTokens.png", 2560, 1440, "#1b1d1d" ], "caption": "The AWS IoT connectivity page on the Droplit portal with two access tokens created." } ] } [/block]