Skip to main content
IAM Policy Map

AWSServiceRoleForAmazonEKSNodegroup

OperatorService-linked roleActivePermissions reviewedShow on mapCompare

Summary

Permissions required for managing nodegroups in the customer's account. These policies related to management of the following resources: AutoscalingGroups, SecurityGroups, LaunchTemplates and InstanceProfiles.

Permissions imported from the AWS Managed Policy Reference Guide; other sections pending editorial review.

Identity

ARN
arn:aws:iam::aws:policy/aws-service-role/AWSServiceRoleForAmazonEKSNodegroup
Default version
v11
Created
Last edited
Services
autoscaling, ec2, iam

Control-plane actions (45)

By access level: 9 List, 3 Read, 3 Tagging, 30 Write.

Control-plane actions by service
ServiceGrantedAccess levels and limitsGranted by
EC2 Auto Scaling16 of 682 List, 1 Tagging, 13 Write; 14 restricted, 2 conditionalautoscaling:CompleteLifecycleAction, autoscaling:CreateAutoScalingGroup, autoscaling:CreateOrUpdateTags, autoscaling:DeleteAutoScalingGroup, autoscaling:DeleteWarmPool, autoscaling:DescribeAutoScalingGroups, autoscaling:DescribeWarmPool, autoscaling:EnableMetricsCollection, autoscaling:PutLifecycleHook, autoscaling:PutNotificationConfiguration, autoscaling:PutScheduledUpdateGroupAction, autoscaling:PutWarmPool and 4 more
EC221 of 8347 List, 1 Read, 2 Tagging, 11 Write; 10 restricted, 10 conditionalec2:AuthorizeSecurityGroupEgress, ec2:AuthorizeSecurityGroupIngress, ec2:CreateLaunchTemplate, ec2:CreateLaunchTemplateVersion, ec2:CreateSecurityGroup, ec2:CreateTags, ec2:DeleteLaunchTemplate, ec2:DeleteSecurityGroup, ec2:DeleteTags, ec2:DescribeCapacityReservations, ec2:DescribeInstances, ec2:DescribeLaunchTemplateVersions and 9 more
IAM8 of 1902 Read, 6 Write; 6 restricted, 2 conditionaliam:AddRoleToInstanceProfile, iam:CreateInstanceProfile, iam:CreateServiceLinkedRole, iam:DeleteInstanceProfile, iam:GetInstanceProfile, iam:GetRole, iam:PassRole, iam:RemoveRoleFromInstanceProfile
EC2 Auto Scaling: 16 actions
  • autoscaling:CompleteLifecycleAction (Write)
  • autoscaling:CreateAutoScalingGroup (Write)
  • autoscaling:CreateOrUpdateTags (Tagging)
  • autoscaling:DeleteAutoScalingGroup (Write)
  • autoscaling:DeleteWarmPool (Write)
  • autoscaling:DescribeAutoScalingGroups (List)
  • autoscaling:DescribeWarmPool (List)
  • autoscaling:EnableMetricsCollection (Write)
  • autoscaling:PutLifecycleHook (Write)
  • autoscaling:PutNotificationConfiguration (Write)
  • autoscaling:PutScheduledUpdateGroupAction (Write)
  • autoscaling:PutWarmPool (Write)
  • autoscaling:ResumeProcesses (Write)
  • autoscaling:SuspendProcesses (Write)
  • autoscaling:TerminateInstanceInAutoScalingGroup (Write)
  • autoscaling:UpdateAutoScalingGroup (Write)
EC2: 21 actions
  • ec2:AuthorizeSecurityGroupEgress (Write)
  • ec2:AuthorizeSecurityGroupIngress (Write)
  • ec2:CreateLaunchTemplate (Write)
  • ec2:CreateLaunchTemplateVersion (Write)
  • ec2:CreateSecurityGroup (Write)
  • ec2:CreateTags (Tagging)
  • ec2:DeleteLaunchTemplate (Write)
  • ec2:DeleteSecurityGroup (Write)
  • ec2:DeleteTags (Tagging)
  • ec2:DescribeCapacityReservations (List)
  • ec2:DescribeInstances (List)
  • ec2:DescribeLaunchTemplateVersions (List)
  • ec2:DescribeLaunchTemplates (List)
  • ec2:DescribeRouteTables (List)
  • ec2:DescribeSecurityGroups (List)
  • ec2:DescribeSubnets (List)
  • ec2:GetConsoleOutput (Read)
  • ec2:RebootInstances (Write)
  • ec2:RevokeSecurityGroupEgress (Write)
  • ec2:RevokeSecurityGroupIngress (Write)
  • ec2:RunInstances (Write)
IAM: 8 actions
  • iam:AddRoleToInstanceProfile (Write)
  • iam:CreateInstanceProfile (Write)
  • iam:CreateServiceLinkedRole (Write)
  • iam:DeleteInstanceProfile (Write)
  • iam:GetInstanceProfile (Read)
  • iam:GetRole (Read)
  • iam:PassRole (Write)
  • iam:RemoveRoleFromInstanceProfile (Write)

Data-plane actions (0)

By access level: none.

This policy grants no actions in this plane.

Excluded and conditional actions

No patterns are excluded by NotAction or Deny statements.

Resource scope and attachment

Resource scope across granted actions: mixed.

Can be attached: No (service-linked role policy).

Why this tier

  • Grants 33 write, tagging or permissions-management actions, short of full control of any service.
  • Grants iam:PassRole, but only for scoped roles or under conditions (for example iam:PassedToService).

Guidance

Pending editorial review. The permission data on this page comes straight from AWS; this section will be filled in once a reviewed guide exists.

Same service

Same domain

Frequently asked questions

Pending editorial review. The permission data on this page comes straight from AWS; this section will be filled in once a reviewed guide exists.

Policy JSON

Download policy.json

{
  "Version": "2012-10-17",
  "Statement": [
    {
      "Sid": "SharedSecurityGroupRelatedPermissions",
      "Effect": "Allow",
      "Action": [
        "ec2:RevokeSecurityGroupIngress",
        "ec2:AuthorizeSecurityGroupEgress",
        "ec2:AuthorizeSecurityGroupIngress",
        "ec2:DescribeInstances",
        "ec2:RevokeSecurityGroupEgress",
        "ec2:DeleteSecurityGroup"
      ],
      "Resource": "*",
      "Condition": {
        "StringLike": {
          "ec2:ResourceTag/eks": "*"
        }
      }
    },
    {
      "Sid": "EKSCreatedSecurityGroupRelatedPermissions",
      "Effect": "Allow",
      "Action": [
        "ec2:RevokeSecurityGroupIngress",
        "ec2:AuthorizeSecurityGroupEgress",
        "ec2:AuthorizeSecurityGroupIngress",
        "ec2:DescribeInstances",
        "ec2:RevokeSecurityGroupEgress",
        "ec2:DeleteSecurityGroup"
      ],
      "Resource": "*",
      "Condition": {
        "StringLike": {
          "ec2:ResourceTag/eks:nodegroup-name": "*"
        }
      }
    },
    {
      "Sid": "LaunchTemplateRelatedPermissions",
      "Effect": "Allow",
      "Action": [
        "ec2:DeleteLaunchTemplate",
        "ec2:CreateLaunchTemplateVersion"
      ],
      "Resource": "*",
      "Condition": {
        "StringLike": {
          "ec2:ResourceTag/eks:nodegroup-name": "*"
        }
      }
    },
    {
      "Sid": "AutoscalingRelatedPermissions",
      "Effect": "Allow",
      "Action": [
        "autoscaling:UpdateAutoScalingGroup",
        "autoscaling:DeleteAutoScalingGroup",
        "autoscaling:TerminateInstanceInAutoScalingGroup",
        "autoscaling:CompleteLifecycleAction",
        "autoscaling:PutLifecycleHook",
        "autoscaling:PutNotificationConfiguration",
        "autoscaling:EnableMetricsCollection",
        "autoscaling:PutScheduledUpdateGroupAction",
        "autoscaling:ResumeProcesses",
        "autoscaling:SuspendProcesses",
        "autoscaling:PutWarmPool",
        "autoscaling:DeleteWarmPool"
      ],
      "Resource": "arn:aws:autoscaling:*:*:*:autoScalingGroupName/eks-*"
    },
    {
      "Sid": "AllowAutoscalingToCreateSLR",
      "Effect": "Allow",
      "Condition": {
        "StringEquals": {
          "iam:AWSServiceName": "autoscaling.amazonaws.com"
        }
      },
      "Action": "iam:CreateServiceLinkedRole",
      "Resource": "*"
    },
    {
      "Sid": "AllowASGCreationByEKS",
      "Effect": "Allow",
      "Action": [
        "autoscaling:CreateOrUpdateTags",
        "autoscaling:CreateAutoScalingGroup"
      ],
      "Resource": "*",
      "Condition": {
        "ForAnyValue:StringEquals": {
          "aws:TagKeys": [
            "eks",
            "eks:cluster-name",
            "eks:nodegroup-name"
          ]
        }
      }
    },
    {
      "Sid": "AllowPassRoleToAutoscaling",
      "Effect": "Allow",
      "Action": "iam:PassRole",
      "Resource": "*",
      "Condition": {
        "StringEquals": {
          "iam:PassedToService": "autoscaling.amazonaws.com"
        }
      }
    },
    {
      "Sid": "AllowPassRoleToEC2",
      "Effect": "Allow",
      "Action": "iam:PassRole",
      "Resource": "*",
      "Condition": {
        "StringEqualsIfExists": {
          "iam:PassedToService": [
            "ec2.amazonaws.com"
          ]
        }
      }
    },
    {
      "Sid": "PermissionsToManageResourcesForNodegroups",
      "Effect": "Allow",
      "Action": [
        "iam:GetRole",
        "ec2:CreateLaunchTemplate",
        "ec2:DescribeInstances",
        "iam:GetInstanceProfile",
        "ec2:DescribeLaunchTemplates",
        "autoscaling:DescribeAutoScalingGroups",
        "ec2:CreateSecurityGroup",
        "ec2:DescribeLaunchTemplateVersions",
        "ec2:RunInstances",
        "ec2:DescribeSecurityGroups",
        "ec2:GetConsoleOutput",
        "ec2:DescribeRouteTables",
        "ec2:DescribeSubnets",
        "ec2:DescribeCapacityReservations",
        "autoscaling:DescribeWarmPool"
      ],
      "Resource": "*"
    },
    {
      "Sid": "PermissionsToCreateAndManageInstanceProfiles",
      "Effect": "Allow",
      "Action": [
        "iam:CreateInstanceProfile",
        "iam:DeleteInstanceProfile",
        "iam:RemoveRoleFromInstanceProfile",
        "iam:AddRoleToInstanceProfile"
      ],
      "Resource": "arn:aws:iam::*:instance-profile/eks-*"
    },
    {
      "Sid": "PermissionsToDeleteEKSAndKubernetesTags",
      "Effect": "Allow",
      "Action": [
        "ec2:DeleteTags"
      ],
      "Resource": "*",
      "Condition": {
        "ForAnyValue:StringLike": {
          "aws:TagKeys": [
            "eks",
            "eks:cluster-name",
            "eks:nodegroup-name",
            "kubernetes.io/cluster/*"
          ]
        }
      }
    },
    {
      "Sid": "PermissionsForManagedNodegroupsAutoRepair",
      "Effect": "Allow",
      "Action": [
        "ec2:RebootInstances"
      ],
      "Resource": "*",
      "Condition": {
        "StringLike": {
          "ec2:ResourceTag/eks:nodegroup-name": "*"
        }
      }
    },
    {
      "Sid": "PermissionsToCreateEKSAndKubernetesTags",
      "Effect": "Allow",
      "Action": [
        "ec2:CreateTags"
      ],
      "Resource": [
        "arn:*:ec2:*:*:security-group/*",
        "arn:*:ec2:*:*:launch-template/*"
      ],
      "Condition": {
        "ForAnyValue:StringLike": {
          "aws:TagKeys": [
            "eks",
            "eks:cluster-name",
            "eks:nodegroup-name",
            "kubernetes.io/cluster/*"
          ]
        }
      }
    },
    {
      "Sid": "AllowTaggingEC2ResourcesOnlyDuringInstanceCreation",
      "Effect": "Allow",
      "Action": [
        "ec2:CreateTags"
      ],
      "Resource": [
        "arn:*:ec2:*:*:instance/*",
        "arn:*:ec2:*:*:volume/*",
        "arn:*:ec2:*:*:network-interface/*"
      ],
      "Condition": {
        "StringEquals": {
          "ec2:CreateAction": [
            "RunInstances"
          ]
        },
        "ForAnyValue:StringLike": {
          "aws:TagKeys": [
            "eks",
            "eks:cluster-name",
            "eks:nodegroup-name",
            "kubernetes.io/cluster/*"
          ]
        }
      }
    }
  ]
}

Version history

Current version v11, edited by AWS on 2026-02-17. Version history is recorded from 2026-11-11. Earlier versions are in the IAM console under Policy versions.

Attach snippets

This policy cannot be attached to users, groups or roles, so there are no attach snippets.

Sources

Pending editorial review. No editorial sources are listed yet.