snowflake profile

STEP 1: Save CSV Files to S3

  • An AWS S3 bucket (create one if you don’t have it with the name as ‘my-snowflake-demo-bucket‘).
  • A CSV file with sample data you can download from GitHub (e.g., employees.csv).
  • AWS Console → S3 → Your Bucket → Create Folder as “sourcefolder” → “Upload” → Upload employees.csv
  • Note down the bucket name and path.
bucket

STEP 2: Create a Stage in Snowflake

  • Snowflake account
  • An active Snowflake worksheet session
  • An AWS IAM role with programmatic access + AmazonS3FullAccess
ext id
arn
iam role trust
ext id aws
aws principle arn

STEP 3: Define a File Format

STEP 4: Create a Table in Snowflake

STEP 5: Load Data using COPY INTO

Automate Data Loading (Optional)

By Akshay Tekam

software developer, Data science enthusiast, content creator.

Leave a Reply

Your email address will not be published. Required fields are marked *