AmazonEBSCSIDriverPolicyV2
Summary
IAM Policy that allows the EBS CSI driver service account to make calls to related services such as EC2 on your behalf. It limits the Amazon EBS CSI driver to only managing EBS volumes and snapshots that are tagged with the key ebs.csi.aws.com/cluster set to true. Volumes provisioned by the in-tree Kubernetes volume plugin (CSI-migrated volumes) are also supported through the kubernetes.io/created-for/pvc/name resource tag.
Permissions imported from the AWS Managed Policy Reference Guide; other sections pending editorial review.
Identity
- ARN
arn:aws:iam::aws:policy/AmazonEBSCSIDriverPolicyV2- Default version
- v1
- Created
- Last edited
- Services
- ec2
Control-plane actions (19)
By access level: 7 List, 2 Tagging, 10 Write.
| Service | Granted | Access levels and limits | Granted by |
|---|---|---|---|
| EC2 | 19 of 834 | 7 List, 2 Tagging, 10 Write; 12 restricted, 10 conditional | ec2:AttachVolume, ec2:CopyVolumes, ec2:CreateSnapshot, ec2:CreateTags, ec2:CreateVolume, ec2:DeleteSnapshot, ec2:DeleteTags, ec2:DeleteVolume, ec2:DescribeAvailabilityZones, ec2:DescribeInstanceTypes, ec2:DescribeInstances, ec2:DescribeSnapshots and 7 more |
EC2: 19 actions
- ec2:AttachVolume (Write)
- ec2:CopyVolumes (Write)
- ec2:CreateSnapshot (Write)
- ec2:CreateTags (Tagging)
- ec2:CreateVolume (Write)
- ec2:DeleteSnapshot (Write)
- ec2:DeleteTags (Tagging)
- ec2:DeleteVolume (Write)
- ec2:DescribeAvailabilityZones (List)
- ec2:DescribeInstanceTypes (List)
- ec2:DescribeInstances (List)
- ec2:DescribeSnapshots (List)
- ec2:DescribeVolumeStatus (List)
- ec2:DescribeVolumes (List)
- ec2:DescribeVolumesModifications (List)
- ec2:DetachVolume (Write)
- ec2:EnableFastSnapshotRestores (Write)
- ec2:LockSnapshot (Write)
- ec2:ModifyVolume (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: Yes, to users, groups and roles.
Why this tier
- Grants 12 write, tagging or permissions-management actions, short of full control of any service.
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.
Related policies
Same service
- AdministratorAccess-AWSElasticBeanstalk
- AIDevOpsReleaseManagementVPCPolicy
- AmazonAppStreamServiceAccess
- AmazonBioDiscoveryServiceLinkedRolePolicy
- AmazonDataZoneEnvironmentRolePermissionsBoundary
- AmazonDataZoneProjectDeploymentPermissionsBoundary
- AmazonDataZoneProjectRolePermissionsBoundary
- AmazonDataZoneSageMakerProvisioningRolePolicy
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
{
"Version": "2012-10-17",
"Statement": [
{
"Sid": "ReadOnlyDescribeOperations",
"Effect": "Allow",
"Action": [
"ec2:DescribeAvailabilityZones",
"ec2:DescribeInstances",
"ec2:DescribeInstanceTypes",
"ec2:DescribeSnapshots",
"ec2:DescribeVolumes",
"ec2:DescribeVolumesModifications",
"ec2:DescribeVolumeStatus"
],
"Resource": "*"
},
{
"Sid": "CreateAndCopyVolumesWithManagedTag",
"Effect": "Allow",
"Action": [
"ec2:CreateVolume",
"ec2:CopyVolumes"
],
"Resource": "arn:aws:ec2:*:*:volume/*",
"Condition": {
"StringEquals": {
"aws:RequestTag/ebs.csi.aws.com/cluster": "true"
}
}
},
{
"Sid": "CopyManagedVolumes",
"Effect": "Allow",
"Action": [
"ec2:CopyVolumes"
],
"Resource": "arn:aws:ec2:*:*:volume/vol-*",
"Condition": {
"StringEquals": {
"ec2:ResourceTag/ebs.csi.aws.com/cluster": "true"
}
}
},
{
"Sid": "CopyCSIMigratedVolumes",
"Effect": "Allow",
"Action": [
"ec2:CopyVolumes"
],
"Resource": "arn:aws:ec2:*:*:volume/vol-*",
"Condition": {
"StringLike": {
"ec2:ResourceTag/kubernetes.io/created-for/pvc/name": "*"
}
}
},
{
"Sid": "CreateSnapshotsWithManagedTag",
"Effect": "Allow",
"Action": [
"ec2:CreateSnapshot"
],
"Resource": "arn:aws:ec2:*:*:snapshot/*",
"Condition": {
"StringEquals": {
"aws:RequestTag/ebs.csi.aws.com/cluster": "true"
}
}
},
{
"Sid": "CreateSnapshotsFromManagedVolumes",
"Effect": "Allow",
"Action": [
"ec2:CreateSnapshot"
],
"Resource": "arn:aws:ec2:*:*:volume/*",
"Condition": {
"StringEquals": {
"ec2:ResourceTag/ebs.csi.aws.com/cluster": "true"
}
}
},
{
"Sid": "ManageManagedVolumes",
"Effect": "Allow",
"Action": [
"ec2:ModifyVolume",
"ec2:AttachVolume",
"ec2:DetachVolume",
"ec2:DeleteVolume"
],
"Resource": "arn:aws:ec2:*:*:volume/*",
"Condition": {
"StringEquals": {
"ec2:ResourceTag/ebs.csi.aws.com/cluster": "true"
}
}
},
{
"Sid": "ManageCSIMigratedVolumes",
"Effect": "Allow",
"Action": [
"ec2:ModifyVolume",
"ec2:AttachVolume",
"ec2:DetachVolume",
"ec2:DeleteVolume"
],
"Resource": "arn:aws:ec2:*:*:volume/*",
"Condition": {
"StringLike": {
"ec2:ResourceTag/kubernetes.io/created-for/pvc/name": "*"
}
}
},
{
"Sid": "CreateVolumesFromAndEnableFSROnManagedSnapshots",
"Effect": "Allow",
"Action": [
"ec2:CreateVolume",
"ec2:EnableFastSnapshotRestores"
],
"Resource": "arn:aws:ec2:*:*:snapshot/*",
"Condition": {
"StringEquals": {
"ec2:ResourceTag/ebs.csi.aws.com/cluster": "true"
}
}
},
{
"Sid": "AttachDetachVolumesToAnyInstance",
"Effect": "Allow",
"Action": [
"ec2:AttachVolume",
"ec2:DetachVolume"
],
"Resource": "arn:aws:ec2:*:*:instance/*"
},
{
"Sid": "DeleteAndLockManagedSnapshots",
"Effect": "Allow",
"Action": [
"ec2:DeleteSnapshot",
"ec2:LockSnapshot"
],
"Resource": "arn:aws:ec2:*:*:snapshot/*",
"Condition": {
"StringEquals": {
"ec2:ResourceTag/ebs.csi.aws.com/cluster": "true"
}
}
},
{
"Sid": "TagResourcesOnCreation",
"Effect": "Allow",
"Action": [
"ec2:CreateTags"
],
"Resource": [
"arn:aws:ec2:*:*:volume/*",
"arn:aws:ec2:*:*:snapshot/*"
],
"Condition": {
"StringEquals": {
"ec2:CreateAction": [
"CreateVolume",
"CreateSnapshot",
"CopyVolumes"
]
}
}
},
{
"Sid": "ModifyTagsOnManagedVolumes",
"Effect": "Allow",
"Action": [
"ec2:CreateTags",
"ec2:DeleteTags"
],
"Resource": "arn:aws:ec2:*:*:volume/*",
"Condition": {
"StringEquals": {
"ec2:ResourceTag/ebs.csi.aws.com/cluster": "true"
},
"Null": {
"aws:TagKeys": "false"
},
"ForAllValues:StringNotEquals": {
"aws:TagKeys": [
"ebs.csi.aws.com/cluster",
"ebs.csi.aws.com/cluster-name",
"kubernetes.io/created-for/pvc/name"
]
}
}
}
]
}
Version history
Current version v1, edited by AWS on 2026-04-16. Version history is recorded from 2026-11-11. Earlier versions are in the IAM console under Policy versions.
Attach snippets
AWS CLI
aws iam attach-role-policy --role-name ROLE_NAME --policy-arn arn:aws:iam::aws:policy/AmazonEBSCSIDriverPolicyV2
aws iam attach-user-policy --user-name USER_NAME --policy-arn arn:aws:iam::aws:policy/AmazonEBSCSIDriverPolicyV2
aws iam attach-group-policy --group-name GROUP_NAME --policy-arn arn:aws:iam::aws:policy/AmazonEBSCSIDriverPolicyV2CloudFormation
Resources:
ExampleRole:
Type: AWS::IAM::Role
Properties:
AssumeRolePolicyDocument: {} # replace with your trust policy
ManagedPolicyArns:
- arn:aws:iam::aws:policy/AmazonEBSCSIDriverPolicyV2Terraform
resource "aws_iam_role_policy_attachment" "amazonebscsidriverpolicyv2" {
role = aws_iam_role.example.name
policy_arn = "arn:aws:iam::aws:policy/AmazonEBSCSIDriverPolicyV2"
}CDK (TypeScript)
role.addManagedPolicy(
iam.ManagedPolicy.fromAwsManagedPolicyName("AmazonEBSCSIDriverPolicyV2"),
);Sources
Pending editorial review. No editorial sources are listed yet.