Configure cloud-specific buckets for your event backups.
Depending on your data retention policy, RudderStack stores the following two types of events:
All the raw events ingested by RudderStack.
The final event payload along with the error, in case of delivery failures.
The events are deleted from the bucket upon successful delivery of the events. RudderStack does not persist any of the customer data.
Follow the steps in this guide if you want RudderStack to back up the events in your own cloud-specific bucket.
Bucket configuration settings
If you are using RudderStack open source and want to use your own bucket to store the events, you will need to enable and set certain variables in your RudderStack backend.
The <prefix> value for the JOBS_BACKUP_PREFIX variable refers to the path under the bucket in which RudderStack stores the data.
For example, if JOBS_BACKUP_PREFIX is set to prefix then RudderStack stores the data in the location <your_s3_bucket>/prefix.
Storing events into your GCS bucket
To capture the event dumps in your GCS bucket, uncomment the following lines in your docker.env file:
Specify your GCS bucket name for the variable JOBS_BACKUP_BUCKET.
Specify the location of the downloaded JSON file containing the required permissions for the variable GOOGLE_APPLICATION_CREDENTIALS. You can obtain this JSON file by referring to the Permissions for GCS section below.
If you’re a RudderStack Pro/Enterprise user, you can share the downloaded JSON containing the required permissions with the RudderStack team by contacting us.
The RudderStack team will then use this service account JSON file to authenticate RudderStack and dump the events into your GCS bucket.
Kubernetes Setup
Similar to the Docker setup, you can configure your bucket settings by changing the values in the values.yaml file.
Permissions for Amazon S3
Follow these steps to use your own S3 bucket for RudderStack to store the events:
This site uses cookies to improve your experience while you navigate through the website. Out of
these
cookies, the cookies that are categorized as necessary are stored on your browser as they are as
essential
for the working of basic functionalities of the website. We also use third-party cookies that
help
us
analyze and understand how you use this website. These cookies will be stored in your browser
only
with
your
consent. You also have the option to opt-out of these cookies. But opting out of some of these
cookies
may
have an effect on your browsing experience.
Necessary
Always Enabled
Necessary cookies are absolutely essential for the website to function properly. This
category only includes cookies that ensures basic functionalities and security
features of the website. These cookies do not store any personal information.
This site uses cookies to improve your experience. If you want to
learn more about cookies and why we use them, visit our cookie
policy. We'll assume you're ok with this, but you can opt-out if you wish Cookie Settings.