{"id":438,"date":"2024-07-13T10:32:46","date_gmt":"2024-07-13T10:32:46","guid":{"rendered":"https:\/\/datadandies.nl\/?p=438"},"modified":"2024-07-13T10:32:46","modified_gmt":"2024-07-13T10:32:46","slug":"snowflake-integration-with-s3-bucket-in-aws-create-storage-integration-and-stage","status":"publish","type":"post","link":"https:\/\/datadandies.nl\/index.php\/2024\/07\/13\/snowflake-integration-with-s3-bucket-in-aws-create-storage-integration-and-stage\/","title":{"rendered":"Snowflake integration with S3 bucket in AWS: create storage integration and stage"},"content":{"rendered":"\n<p>Do you want to load data from AWS S3 bucket to Snowflake? Setting up access to an S3 bucket from Snowflake can be done in 5 simple steps.<\/p>\n\n\n\n<p>Want more details? Check out the link at the bottom for a detailed description of each step.<\/p>\n\n\n\n<p>Step 1: Create IAM policy in AWS that allows a role to access the S3 bucket.<\/p>\n\n\n\n<p>Step 2: Create role in AWS and attach the recently created policy to the role.<\/p>\n\n\n\n<p>Step 3: Create Storage Integration in Snowflake.<\/p>\n\n\n\n<p>Step 4: Retrieve ARN for the IAM user that was created automatically for your Snowflake account and attach STORAGE_AWS_IAM_USER_ARN and STORAGE_AWS_EXTERNAL_ID to the trust policy of the AWS role in tab Trust Relationships.<\/p>\n\n\n\n<p>Step 5: Create a stage using the recently created storage integration as authentication. Excellent resource from Snowflake documentation: <a href=\"https:\/\/docs.snowflake.com\/en\/user-guide\/data-load-s3-config-storage-integration\">https:\/\/docs.snowflake.com\/en\/user-guide\/data-load-s3-config-storage-integration<\/a><\/p>\n","protected":false},"excerpt":{"rendered":"<p>Do you want to load data from AWS S3 bucket to Snowflake? Setting up access to an S3 bucket from Snowflake can be done in 5 simple steps. Want more details? Check out the link at the bottom for a detailed description of each step. Step 1: Create IAM policy in AWS that allows a&hellip;<\/p>\n<p class=\"more-link\"><a href=\"https:\/\/datadandies.nl\/index.php\/2024\/07\/13\/snowflake-integration-with-s3-bucket-in-aws-create-storage-integration-and-stage\/\" class=\"themebutton\">Read More<\/a><\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[1],"tags":[43,40],"class_list":["post-438","post","type-post","status-publish","format-standard","hentry","category-blog","tag-aws","tag-snowflake"],"_links":{"self":[{"href":"https:\/\/datadandies.nl\/index.php\/wp-json\/wp\/v2\/posts\/438","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/datadandies.nl\/index.php\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/datadandies.nl\/index.php\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/datadandies.nl\/index.php\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/datadandies.nl\/index.php\/wp-json\/wp\/v2\/comments?post=438"}],"version-history":[{"count":1,"href":"https:\/\/datadandies.nl\/index.php\/wp-json\/wp\/v2\/posts\/438\/revisions"}],"predecessor-version":[{"id":439,"href":"https:\/\/datadandies.nl\/index.php\/wp-json\/wp\/v2\/posts\/438\/revisions\/439"}],"wp:attachment":[{"href":"https:\/\/datadandies.nl\/index.php\/wp-json\/wp\/v2\/media?parent=438"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/datadandies.nl\/index.php\/wp-json\/wp\/v2\/categories?post=438"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/datadandies.nl\/index.php\/wp-json\/wp\/v2\/tags?post=438"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}