Setting up Amazon EKS with S3
Before deploying Dynamic Engine and its
environments, set up an Amazon EKS cluster with Amazon S3 as the shared storage
backend.
Before you begin
- An AWS account with the required IAM permissions. For the full prerequisite list, see Configuring Amazon EKS for Dynamic Engine deployment.
About this task
This procedure creates a new EKS cluster in dedicated virtual private cloud (Amazon VPC),
installs the S3 CSI (Container Storage Interface) driver as an AWS-managed EKS add-on,
creates an S3 bucket to back persistent volumes, and provisions static
PersistentVolumes and PersistentVolumeClaims for
Dynamic Engine
and its environments.
- Unlike the Amazon EFS setup, S3 uses static provisioning: there is no StorageClass resource. You must create PersistentVolumes manually and bind them to named PersistentVolumeClaims before deploying Dynamic Engine.
Procedure
Results
Your EKS cluster is running with the S3 CSI driver installed, and the three
PersistentVolumes (archive, job-data,
custom-resources) are created and bound to their
PersistentVolumeClaims in the
qlik-processing-env-<env-id> namespace. The cluster is ready for
Dynamic Engine
deployment.
Information noteTip: The embedded docker-registry service of Dynamic Engine performs
random writes, which the S3 CSI driver (Mountpoint for Amazon S3) does not support. As a
result, the docker-registry volume cannot use an S3-backed
PersistentVolumeClaim. Use EFS or other external systems that support
POSIX (Portable Operating System Interface) to provision persistent volumes, which can be
dynamic or static, for docker-registry.
- For details on how to configure docker-registry, see Configuring a custom Docker registry for Data Services and Routes.
- For instructions on how to use existing static persistent volumes, see Deploying Dynamic Engine with existing PersistentVolumeClaims.
- For instructions on how to use dynamic persistent volumes (StorageClass), see Provisioning a storage class dedicated to Dynamic Engine environment services.
What to do next
Configure and deploy the Dynamic Engine Helm charts to reference the PersistentVolumeClaims you created in this procedure. For detailed instructions on using existing PVCs, see Deploying Dynamic Engine with existing PersistentVolumeClaims.