Service Discovery using Amazon Cloud Map

   Go back to the Task List

  « 1: Pre-requisite    3. Configure Namespace and Services »

2. Create IAM Role

You start with creating an IAM role which is used by the Lambda functions to call other AWS services.

  1. Login to AWS Console and goto the IAM Management Console. Click on the Roles menu in the left and then click on the Create role button.

    Cloud Map

  2. On the next screen, select Lambda as the service and click on the Next: Permissions button.

    Cloud Map

  3. On the next screen, select PowerUserAccess as the policy and click on the Next: Tags button.

    Cloud Map

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

  5. On the next screen, type in dojolambdarole as the role name and click on the Create role button.

    Cloud Map

  6. The role is created in no time. The next task is to configure Cloud Map for the namespace and services.