Help improve this page
Want to contribute to this user guide? Scroll to the bottom of this page and select Edit this page on GitHub. Your contributions will help make our user guide better for everyone.
Amazon EBS CSI driver
The Amazon EBS CSI driver Amazon EKS add-on is a Kubernetes Container Storage Interface (CSI) plugin that provides Amazon EBS storage for your cluster.
The Amazon EKS add-on name is aws-ebs-csi-driver
.
Required IAM permissions
This add-on utilizes the IAM roles for
service accounts capability of Amazon EKS. The permissions in the
AmazonEBSCSIDriverPolicy
Amazon managed policy are required. You can create an IAM role and
attach the managed policy to it with the following command. Replace
with the name
of your cluster and
my-cluster
with the name for your role. This command requires that you have AmazonEKS_EBS_CSI_DriverRole
eksctl
eksctl create iamserviceaccount \ --name ebs-csi-controller-sa \ --namespace kube-system \ --cluster
my-cluster
\ --role-nameAmazonEKS_EBS_CSI_DriverRole
\ --role-only \ --attach-policy-arn arn:aws-cn:iam::aws:policy/service-role/AmazonEBSCSIDriverPolicy \ --approve
Additional information
To learn more about the add-on, see Store Kubernetes volumes with Amazon EBS.