RUM Session Replay Storage: AWS S3
Session replay storage is optional. RUM captures views, actions, errors, and resources without it — add it only if you want to record and replay user sessions. This page covers only the S3-specific steps; the rest of RUM enablement is in RUM Instructions.
Create an S3 bucket
You can store RUM session recordings in an AWS S3 bucket. Follow these steps to create one:
-
Follow instructions in AWS documentation on Creating a bucket.
-
Note the following for the next steps:
-
S3
accessKeyandsecretKey; you use them to create a Kubernetes secret in the next step. -
S3
bucketNameandawsRegionwhere the bucket exists
-
Create Secret for Kloudfuse Namespace
Run the following command in the cluster that runs Kloudfuse. The command uses kfuse, the namespace the standard Helm install uses. If you installed Kloudfuse in a different namespace, use that namespace instead; the secret must be in the same namespace as the Helm release.
kubectl create secret generic -n kfuse kfuse-rum-s3 --from-literal=accessKey=<accessKey> --from-literal=secretKey='<secretKey>'
Add sessionReplayStorage to custom-values.yaml
Merge a sessionReplayStorage block into the global.rum section described in RUM Instructions:
global:
rum:
enabled: true
sessionReplayStorage:
type: s3
useSecret: true
secretName: "kfuse-rum-s3" (1)
s3:
region: us-west-2 (2)
bucket: rum-session-replay (3)
| 1 | secretName: Secret created in Create Secret for Kloudfuse Namespace. |
| 2 | region: Region specified for session replay storage, in Create an S3 bucket. |
| 3 | bucket: AWS bucket created for session replay storage, in Create an S3 bucket. |
Then complete the remaining steps — Kafka topics, TLS, ingress, log-parser rules, and the UI toggle — in RUM Instructions.