Working with AWS IoT Device Defender

   Go back to the Task List

  « 1: Pre-requisite    3. Create SNS Topic »

2. Create IoT Role

You first create an IAM Role which is used by AWS IoT Core to call other AWS Services such as Amazon SNS.

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

  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. Since the role is used to call Amazon SNS service by the IoT Device Defender, update the dojoiotrole and attach an additional policy AmazonSNSFullAccess along with the existing three policies.

    Role Finish

  8. You will now create an Amazon SNS Topic which is used to send notification when alerts are generated by the AWS IoT Device Defender.