How to Configure Snowflake Streaming to Iceberg Tables
Configure RudderStack Snowflake Streaming to deliver events into Snowflake-managed Iceberg tables on your cloud storage.
Available Plans
starter
growth
enterprise
7 minute read
This guide lists the steps to configure your Snowflake Streaming destination so that RudderStack delivers events into Snowflake-managed Iceberg tables backed by Parquet files in your cloud storage.
Setup overview
To configure Snowflake Streaming to Iceberg tables, you will:
Prepare Snowflake and your cloud storage
Configure RSA key-pair authentication
Create a Snowflake external volume for Iceberg data
Add and configure the Snowflake Streaming destination in RudderStack
Snowflake Streaming to Iceberg tables only supports RSA key-pair authentication — password-based authentication is not supported.
1. Create an external volume for Iceberg data
You must create a Snowflake external volume that points to your cloud storage location. Snowflake stores both the Parquet data files and Iceberg metadata files in this volume.
The following sections explain how to create an external volume (represented by the placeholder my_external_volume) for various cloud providers.
Tip:
Make sure to replace the placeholders with the actual values.
After you create the external volume, retrieve the IAM user and external ID that Snowflake uses:
DESCRIBEEXTERNALVOLUMEmy_iceberg_volume;
Update the AWS IAM role’s trust policy so that Snowflake can assume the role. Use the values from the DESCRIBE output:
{"Version":"2012-10-17","Statement":[{"Effect":"Allow","Principal":{"AWS":"<STORAGE_AWS_IAM_USER_ARN from DESCRIBE output>"},"Action":"sts:AssumeRole","Condition":{"StringEquals":{"sts:ExternalId":"<STORAGE_AWS_EXTERNAL_ID from DESCRIBE output>"}}}]}
In Snowflake, associate the public key with the user that RudderStack uses:
ALTERUSERmy_rudderstack_userSETRSA_PUBLIC_KEY='<contents of rsa_key.pub without header and footer>';
Store the rsa_key.p8 file securely. You will paste its contents into the Private Key field when you configure the destination in RudderStack.
If your private key is encrypted, you must also provide the Private Key Passphrase in the Snowflake Streaming destination settings. Authentication will fail if you omit the passphrase for an encrypted key.
3. Add Snowflake Streaming destination in RudderStack
Finally, check your cloud storage bucket (S3, GCS, or Azure Blob) under the path configured in your external volume to confirm that Parquet data files are being written.
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.