Ends in
00
hrs
00
mins
00
secs
SHOP NOW

⏲️ 24-Hour Bonus Sale: Get eBooks for as LOW as $2.99 each and enjoy 25% OFF on any product. Use Coupon code: TD-NY2025

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

Home Forums AWS AWS Certified DevOps Engineer Professional IM Role to on-premise servers Reply To: IM Role to on-premise servers

  • Tutorials-Dojo

    Administrator
    August 5, 2021 at 2:16 pm

    Hi Haridev,

    Take note you cannot directly attach an IAM Role to your on-premises servers. You have to set up your on-premises servers as “on-premises instances” in CodeDeploy with a static IAM Role that your servers can assume.

    In this scenario, we are using AWS CodeDeploy to automate the deployment process in your VPC and on your on-premises data center. You can install and configure CodeDeploy agents in your on-premises servers with an associated IAM Role that can be used to communicate with your AWS resources.

    This process can be seen here:

    https://docs.aws.amazon.com/codedeploy/latest/userguide/register-on-premises-instance-iam-session-arn.html

    The correct answer didn’t say “attach” but rather, “associate” which means two things.

    You can also associate an IAM Service Role in AWS Systems Manager if you’re setting up a hybrid environment: https://docs.aws.amazon.com/systems-manager/latest/userguide/sysman-service-role.html

    Regards,

    Jon Bonso

Skip to content