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

Home Forums AWS AWS Certified DevOps Engineer Professional Use IAM role for On Prem server Reply To: Use IAM role for On Prem server

  • kung

    Member
    May 3, 2020 at 4:27 am

    Another option is the register command, which will

    – Create an IAM user in AWS Identity and Access Management for the on-premises instance, if you do not specify one with the command.
    – Save the IAM user’s credentials to an on-premises instance configuration file.
    – Register the on-premises instance with CodeDeploy.
    – Add tags to the on-premises instance, if you specify them as part of the command.

    And then attach an IAM policy with the required permissions (e.g. assumerole).

    But not that secure of course to have the credentials in a configuration file on the on-premise instance.

    Cheers,
    Robert