Ends in
00
days
00
hrs
00
mins
00
secs
SHOP NOW

PRE-BLACK FRIDAY SALE - GET 20% OFF ALL REVIEWERS

Find answers, ask questions, and connect with our
community around the world.

Home Forums AWS AWS Certified Solutions Architect Professional Clarification on reference versus associate instance profile (property) role

  • Clarification on reference versus associate instance profile (property) role

  • kung

    Member
    May 28, 2020 at 10:02 pm

    Scenario: CloudFormation/DynamoDB/without exposing API credentials

    “Launch an IAM Role that has the required permissions to read and write from the DynamoDB table. Reference the IAM Role in the instance profile property of the application instance.”

    OR

    “Launch an IAM Role that has the required permissions to read and write from the required DynamoDB table. Associate the Role to the application instances by referencing an instance profile.”

    Please explain the difference between these 2 answers, as it is not done in the explanation.

    Thanks,
    Robert

  • TutorialsDojo-Support

    Member
    May 31, 2020 at 5:37 pm

    Hi Robert,

    Thank you for pointing this up.

    As the two options are very similar, we will update the choices for this question to better separate the two.

    Cheers,

    Kenneth Samonte @ Tutorials Dojo

    • MaheshGupta

      Member
      June 3, 2020 at 2:54 am

      Hi Kung,

      This is cloudformation related question so you need to reference the Instance Role. please see below

      AWSTemplateFormatVersion: “2010-09-09”

      Resources:

      MyInstanceProfile:

      Type: “AWS::IAM::InstanceProfile”

      Properties:

      Path: “/”

      Roles:

      Ref: “MyRole”

Viewing 1 - 2 of 2 replies

Log in to reply.

Original Post
0 of 0 posts June 2018
Now