Configuring Amazon EFS

Amazon Elastic File System (EFS) provides the shared NFS storage that Kubernetes worker nodes mount as persistent volumes for Cloudera Cloud Factory projects.

NFS port 2049 is required to allow Kubernetes worker nodes to mount persistent volumes from the NFS server that Cloudera Cloud Factory uses for shared storage. The source CIDR 10.0.0.0/8 covers all internal RFC 1918 private address space to accommodate node-to-NFS communication across VPC subnets, Pod CIDR ranges, and any peered networks. This is an internal-only rule with no exposure to the public internet.

Ensure that you have an AWS account with administrator privileges.

Configure Amazon EFS in the AWS Management Console.
  1. Go to the EFS service.
  2. Create file system: During creation, select the VPC that you intend to import into Cloudera Cloud Factory.
  3. In the Network tab, go to Manage to add mount targets.
  4. Select the VPC used during EFS creation and add one mount target per subnet.
  5. Go to EC2 > Security Groups and create a dedicated security group for the EFS mount targets with the following rules:
    Table 1. Security group rules for EFS mount targets
    Rule typePort rangeSource or destination
    Inbound: NFS204910.0.0.0/8
    Outbound: All trafficAll0.0.0.0/0
  6. Attach this security group to your EFS mount targets in the Network tab.

The EFS instance is available for selection in Cloudera Cloud Factory. Storage is shared at the credential level, so no additional configuration is required for each project.