Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

Before configuring IoT Bridge (IBSNOW), you must register a 'thing' connection in AWS IoT Core. Begin by browsing to AWS IoT Core in your AWS account. Make sure you are in the same AWS region that you have already deployed IBSNOW to. Begin by expanding 'Secure' and click 'Policies' as shown below.

Image RemovedImage Added

Now click the 'Create a policy' button. This will bring up the following page.

<TODO>Add Image</TODO>Image Added

Set the following parameters for the policy.

  • Name
    • Some friendly name you will remember
  • Actions
    • Set to: iot:Connect,iot:Publish,iot:Subscribe,iot:Receive,iot:RetainPublish
    • Note this will be used for both a publisher connection (Ignition) and a subscriber (IBSNOW)
  • Policy Document
    • Set to the following JSON document but replace the following

      • In the JSON document below
    Resource ARN
    • Set to: arn:aws:iot:AWS_REGION:ACCOUNT_ID:*
    • In the above
      • , replace the following.
        • AWS_REGION: one of the following (where you set up IBSNOW): us-east-1, us-east-2, us-west-2, ca-central-1, eu-west-1, eu-west-2, eu-west-3, eu-central-1, or eu-north-1
        • ACCOUNT_ID: Your AWS Account ID

          Code Block
          {
            "Version": "2012-10-17",
            "Statement": [
              {
                "Effect
        • ": "Allow",
                "Action": [
                  "iot:Connect",
                  "iot:Publish",
                  "iot:Subscribe",
                  "iot:Receive",
                  "iot:RetainPublish"
                ],
                "Resource": "arn:aws:iot:AWS_REGION:ACCOUNT_ID:*"
              }
            ]
          }


      • Example JSON document with region and account identifier set in the ARN:

        Code Block
        {
          "Version": "2012-10-17",
          "Statement": [
            {
              "Effect": "Allow",
              "Action": [
                "iot:Connect",
                "iot:Publish",
                "iot:Subscribe",
                "iot:Receive",
                "iot:RetainPublish"
              ],
              "Resource": "arn:aws:iot:us-west-2:123456789012:*"
            }
          ]
        }
      Set to 'Allow'



Finally click 'Create' in the lower right. This will show the newly created policy.

...