:_mod-docs-content-type: ASSEMBLY
[id="persistent-storage-csi-aws-efs"]
= AWS Elastic File Service CSI Driver Operator
include::_attributes/common-attributes.adoc[]
include::_attributes/attributes-openshift-dedicated.adoc[]
:context: persistent-storage-csi-aws-efs

toc::[]

[role="_abstract"]
You can provision and manage AWS Elastic File System (EFS) storage in {product-title} by using the AWS EFS Container Storage Interface (CSI) Driver Operator and driver, which provide dynamic volume provisioning and eliminate the need to pre-provision storage.

include::modules/persistent-storage-csi-efs-overview.adoc[leveloffset=+1]

[role="_additional-resources"]
.Additional resources
* xref:../../storage/understanding-persistent-storage.adoc#understanding-persistent-storage[Understanding persistent storage]
* xref:../../storage/container_storage_interface/persistent-storage-csi.adoc#persistent-storage-csi[Configuring CSI volumes]

include::modules/persistent-storage-csi-about.adoc[leveloffset=+1]

:FeatureName: AWS EFS
include::modules/persistent-storage-efs-csi-driver-operator-setup.adoc[leveloffset=+1]

// Obtaining a role ARN (OCP)
ifndef::openshift-dedicated,openshift-rosa,openshift-rosa-hcp[]
include::modules/persistent-storage-csi-efs-sts.adoc[leveloffset=+2]

endif::openshift-dedicated,openshift-rosa,openshift-rosa-hcp[]

// Obtaining a role ARN (OSD and ROSA)
ifdef::openshift-dedicated,openshift-rosa,openshift-rosa-hcp[]
include::modules/sd-persistent-storage-csi-efs-sts.adoc[leveloffset=+2]

endif::openshift-dedicated,openshift-rosa,openshift-rosa-hcp[]

[role="_additional-resources"]
.Additional resources
* xref:../../storage/container_storage_interface/persistent-storage-csi-aws-efs.adoc#persistent-storage-csi-olm-operator-install_persistent-storage-csi-aws-efs[Installing the AWS EFS CSI Driver Operator]
ifndef::openshift-dedicated,openshift-rosa,openshift-rosa-hcp[]
* xref:../../installing/installing_aws/ipi/installing-aws-customizations.adoc#cco-ccoctl-configuring_installing-aws-customizations[Configuring the Cloud Credential Operator utility]
endif::openshift-dedicated,openshift-rosa,openshift-rosa-hcp[]
* xref:../../storage/container_storage_interface/persistent-storage-csi-aws-efs.adoc#persistent-storage-csi-efs-driver-install_persistent-storage-csi-aws-efs[Installing the {FeatureName} CSI Driver]

include::modules/persistent-storage-csi-olm-operator-install.adoc[leveloffset=+2]

include::modules/persistent-storage-csi-efs-driver-install.adoc[leveloffset=+2]

:StorageClass: AWS EFS
:Provisioner: efs.csi.aws.com
include::modules/storage-create-storage-class.adoc[leveloffset=+1]

include::modules/storage-create-storage-class-console.adoc[leveloffset=+2]

include::modules/storage-create-storage-class-cli.adoc[leveloffset=+2]

[role="_additional-resources"]
.Additional resources
* link:https://github.com/openshift/aws-efs-csi-driver-operator[AWS EFS CSI Driver Operator]

include::modules/persistent-storage-csi-efs-cross-account.adoc[leveloffset=+1]

[role="_additional-resources"]
.Additional resources
* link:https://docs.aws.amazon.com/cli/latest/userguide/cli-usage-output-format.html[Setting the output format in the AWS CLI]

include::modules/persistent-storage-csi-efs-one-zone-intro.adoc[leveloffset=+1]

include::modules/persistent-storage-csi-efs-one-zone-overview.adoc[leveloffset=+2]

include::modules/persistent-storage-csi-efs-one-zone-procedure.adoc[leveloffset=+2]

include::modules/persistent-storage-csi-dynamic-provisioning-aws-efs.adoc[leveloffset=+1]

[role="_additional-resources"]
.Additional resources
* link:https://github.com/openshift/aws-efs-csi-driver[AWS EFS CSI driver]
* xref:../../storage/container_storage_interface/persistent-storage-csi-aws-efs.adoc#storage-create-storage-class_persistent-storage-csi-aws-efs[Creating the AWS EFS storage class]

// Undefine {StorageClass} attribute, so that any mistakes are easily spotted
:!StorageClass:

include::modules/persistent-storage-csi-efs-static-pv.adoc[leveloffset=+1]

include::modules/persistent-storage-csi-efs-security.adoc[leveloffset=+1]

[role="_additional-resources"]
.Additional resources
* link:https://docs.aws.amazon.com/efs/latest/ug/efs-access-points.html[Working with access points]

* link:https://docs.aws.amazon.com/efs/latest/ug/encryption-in-transit.html[Encrypting data in transit]

include::modules/persistent-storage-csi-efs-metrics-overview.adoc[leveloffset=+1]

//:FeatureName: AWS EFS usage metrics
// Commenting this out for now because we anticipate GA status.
// include::snippets/technology-preview.adoc[leveloffset=+2]

include::modules/persistent-storage-csi-efs-metrics-procedure-gui.adoc[leveloffset=+2]

include::modules/persistent-storage-csi-efs-metrics-procedure-cli.adoc[leveloffset=+2]

include::modules/persistent-storage-csi-efs-troubleshooting.adoc[leveloffset=+1]

:FeatureName: AWS EFS
include::modules/persistent-storage-csi-olm-operator-uninstall.adoc[leveloffset=+1]

[role="_additional-resources"]
[id="additional-resources_{context}"]
== Additional resources
* xref:../../storage/container_storage_interface/persistent-storage-csi.adoc#persistent-storage-csi[Configuring CSI volumes]
