Wednesday, July 26, 2017

Quick Byte - Assigning IAM role to a running EC2 instance

Using AWS CLI commands, it is now possible to attach an IAM role to a running EC2 instance.

Command/s:

$aws ec2 associate-iam-instance-profile --instance-id YourInstanceId --iam-instance-profile Name=YourNewRole-Instance-Profile

Refer the complete article here.

No comments:

Post a Comment

Drooling Over Docker #4 — Installing Docker CE on Linux

Choosing the right product Docker engine comes in 2 avatars — Docker Community Edition (CE) and Docker Enterprise Edition (EE). While the...