customEngineConfig.storage points at object storage.
With object storage as the backing store, durability does not depend on the per-pod data volumes mounted to each engine. Even a complete loss of those volumes does not cause data loss, because the authoritative copy of managed table data lives in the object store.
You configure object storage on the engine through customEngineConfig.storage, which the chart passes through unchanged into the engine’s config.yaml. The type, api_scheme, and bucket_name keys match the Firebolt Core configuration schema, and the chart does not validate them. The engine reads AWS credentials from the pod’s workload identity, which you configure through AWS IRSA or AWS Pod Identity.
Prerequisites
Before you begin, ensure that you have the following installed and configured:- A Kubernetes cluster running on Amazon EKS.
kubectlconfigured to access your cluster.helmv3 installed on your local machine.- An AWS account with permissions to create S3 buckets, IAM roles, and IAM policies.
- An engine image that supports the
s3storage backend.
Use Amazon S3
The following examples use an S3 bucket namedfirebolt-managed, but you can choose any name you like.
Create the bucket
Create an S3 bucket, block all public access, and turn on default server-side encryption:Create an IAM role
The role needsListBucket on the bucket and GetObject* and PutObject* on its contents:
Point the chart at both
Run the engine pods under the annotated ServiceAccount and set the storage block to the S3 bucket:region to the storage block. The EKS identity webhook usually injects the region automatically.
Confirm that object storage works
Create a table, insert a row, and list the bucket to confirm the engine wrote data through to S3:Use an S3-compatible endpoint
For any S3-compatible endpoint reachable from the engine pods, such as self-hosted MinIO, Ceph RGW, or an in-cluster S3 emulator, usetype: minio. The engine signs requests with the access key and secret key firebolt in this mode, so the endpoint must accept those credentials.
endpoint must be a URL the engine pod can resolve and reach. Create the bucket out of band before the engine starts.
Restrict external access with an intermediary role
The bucket you set undercustomEngineConfig.storage holds the engine’s managed tablet data, and the engine reaches it with the engine pod’s own AWS identity. Queries that read from or write to external locations, such as external tables or COPY statements that point at a different bucket, follow a separate credential path.
By default, external access also uses the engine pod’s own AWS identity. That identity belongs to this chart release, so it is not a convenient identity for the owner of an external bucket to reference when they grant access.
An intermediary role gives external access a stable identity instead. When you set one, the engine assumes the intermediary role first, and then assumes the external role from there, rather than using its own pod identity. Because the intermediary role ARN is stable and known ahead of time, you can share it with third parties and reference it in S3 bucket policies, IAM role trust policies, and AWS accounts outside your own organization. Access to the object storage bucket always uses the engine pod’s own identity, so the intermediary role applies only to external locations.
Create the intermediary IAM role and grant the engine’s identity permission to assume it. The intermediary role’s trust policy must allow the engine ServiceAccount identity to assume it, and the role needs only sts:AssumeRole on the external roles it is allowed to reach.
Set the intermediary role ARN under customEngineConfig.storage.aws.intermediary_access_role:
storage.aws block through unchanged. The block is valid only when type is s3.
Storage scope
customEngineConfig is global to the release. Multiple engines under the same engines: list share the same customEngineConfig.storage block, and therefore the same bucket. To run engines against different buckets, install the chart twice in separate releases, each with its own customEngineConfig.storage.