Understanding Device to AWS IoT Core Communication

   Go back to the Task List

  []    [Register the Device »]

Create IoT Role and Amazon S3 Bucket

You first create an IAM Role which is used by AWS IoT Core to call action to store the device messages in the Amazon S3 bucket.

  1. Login to your AWS Account and choose an AWS region of your preference. The workshop uses Paris as the region.

    Create Role

  2. Goto the IAM Management Console. Click on the Roles menu item in the left and then click on the Create role button.

    Create Role

  3. Select IoT as the AWS Service and use case. Click the Next: Permissions button.

    IoT Role

  4. On the next screen, click on the Next: Tags button.

  5. On the next screen, click on the Next: Review button.

  6. On the next screen, enter the Role name as dojoiotrole and click on the Create role button.

    Role Finish

  7. The role is created in no time. You will now create an Amazon S3 bucket which is used to store device messages sent to the AWS IoT core.

  8. Goto the S3 Management Console and create a S3 bucket with name dojo-iot-bucket-01. If this bucket name is not available, kindly use another bucket name and make note of the name as you will need it for the configuration later. Your bucket region should be the same as the region you choose to work on the workshop.

  9. You can now move to the next task which will register the device as the thing in AWS IoT Core.