How we can load the data from AWS S3 into snowflake and unload data from snowflake to s3
Load the data from AWS S3 into Snowflake and unload data from snowflake to s3 bucket
purpose of the article: how we can load the data from aws s3 into snowflake.
Intend Audience: useful for the people who working with snowflake and aws .
CSV
File:
A comma-separated values (CSV) file is a delimited text file that uses a comma to separate values. Each line of the file is a data record. Each record consists of one or more fields, separated by commas. Alternative delimiter-separated files are often given a .csv extension despite the use of a non-comma field separator.
AWS S3 bucket:
Amazon simple storage service (Amazon s3) is an object storage service. Amazon S3 has a simple web services interface that you can use to store and retrieve any amount of data, at any time, from anywhere on the web.
IAM
User:
An AWS Identity and Access Management (IAM)
user is an entity that you create in AWS to represent the person or
application that uses it to interact with AWS. A user in AWS consists of a name
and credentials. An IAM user with administrator permissions is not the same
thing as the AWS account root user.
Snowflake’s Data Cloud is powered by an advanced
data platform provided as Software-as-a-Service (SaaS). Snowflake enables data
storage, processing, and analytic solutions that are faster, easier to use, and
far more flexible than traditional offerings.
data loading from AWS S3 bucket source file to snowflake
· Login
to the AWS Management console
· Select
the AWS S3 service
· Create
the S3 bucket and folders in it as shown below
Step
-1 : Name the user with credentials type - Access key - Programmatic access
Step 5: download the Access key ID and Secret access key
Create the stage :
i have create a table in the snowflake and then i have create bucket in aws for load the data into snowflake to s3 bucket.
Comments
Post a Comment