IAM roles for EC2 instances
Jump to navigation
Jump to search
↑ https://docs.aws.amazon.com/IAM/latest/UserGuide/id_roles_use_switch-role-ec2.html
IAM roles for EC2 instances (Jun 2012, announcement)
Instance identity roles supported:
- EC2 Instance Connect uses the instance identity role to update the host keys for a Linux instance.
- Amazon GuardDuty
- AWS Security Token Service (AWS STS) – Instance identity role credentials can be used with the AWS STS GetCallerIdentity action.
- AWS Systems Manager – When using Default Host Management Configuration, AWS Systems Manager uses the identity provided by the instance identity role to register EC2 instances. After identifying your instance, Systems Manager can pass your AWSSystemsManagerDefaultEC2InstanceManagementRole IAM role to your instance.
- Only one role can be assigned to an Amazon EC2 instance at a time [1]
Commands[edit]
Related[edit]
ecsInstanceRole- AWS EC2 Instance Connect
- Terraform resource aws ecs service: iam role
- AWS Authentication
See also[edit]
- AWS IAM role, AWS service roles, service-linked role, AWS IAM Roles Anywhere: [
list-roles | get-role | create-role | put-role-policy | create-service-linked-role | attach-role-policy | update-role | add-role-to-instance-profile ], aws ec2 describe-iam-instance-profile-associations ], IAM roles for EC2 instances,AWSServiceRoleForAutoScaling,service = - AWS EC2, Amazon EC2 API,
aws ec2, AWS::EC2, Amazon EC2 Spot Instances, CPU credits, Instance type, EC2 limitations, 169.254.169.254, Instance metadata and user data (IMDS),InstanceType, InstanceId, Amazon EC2 Auto Scaling, AWS EC2 Instance Connect, launch template, lifecycle, AWS Security group (SG), Amazon EC2 Recycle Bin, Amazon EC2 Mac Instances, Global View, Instance status check failed, EC2 Serial Console, Default Host Management Configuration (DHMC), Bare Metal, managed instances
Advertising: