3 — Snowflake (Trainer)

Pre-class Checklist — 2 weeks before

TRAINER ONLY

2 weeks before Step 3 of 9

Snowflake (Trainer’s own account)

Uses the ADLS2 SAS token from ADLS2 storage. Attendees create their own trial accounts during Module 3.

    • Where: signup.snowflake.comThe AI Data Cloud (not Cortex Code CLI)
    • Configure: Azure · region West Europe · edition Enterprise (fixed at signup — cannot change later)
    • Verify: Snowsight home loads; browser URL contains west-europe.azure (e.g. https://app.snowflake.com/west-europe.azure/el30551/#/homepage)
    • Doc: Getting started with Snowflake
    • Where: Snowsight → Projects → Workspaces+ Add New → SQL File → paste/run snowflake/sql/setup/02_account_setup.sql from repo (or open from Git workspace)
    • Configure: Replace trainer attendee_id in the script (e.g. tr_01_juewei)
    • Verify: Creates database DE_MASTERCLASS, warehouse DE_WORKSHOP_WH, role DE_WORKSHOP_ROLE, personal schemas (TR_01_JUEWEI_SQL_BRONZE, _SQL_SILVER, _SQL_GOLD, plus _SP_*, _NB_*, _DBT, _DBT_GOLD, _DBT_STREAMING; use your trainer ID)
    • Doc: Workspaces
    • Where: Read snowflake/sql/setup/reference/storage_integration.sql in repo — do not run on trial accounts
    • Note: Workshop labs use ADLS2 SAS token in 04_external_stage.sql, not a storage integration object
    • Doc: External stages for Azure
    • Where: Workspaces SQL file → run snowflake/sql/setup/04_external_stage.sql
    • Configure: Paste fresh ADLS2 SAS token from page 1 where script expects it
    • Verify: File formats and external stages created in trainer bronze schema
    • Doc: CREATE STAGE (Azure)
    • Where: Workspaces SQL file → USE ROLE DE_WORKSHOP_ROLE;LIST @TR_01_JUEWEI_SQL_BRONZE.nyc_taxi_trips_stage; (replace TR_01_JUEWEI with your trainer ID)
    • Verify: yellow_tripdata_*.parquet from ADLS2 raw/trips/ appears
    • Doc: LIST command
    • Where: Workspaces SQL file → run snowflake/sql/setup/05_cortex_access.sql
    • Verify: SHOW GRANTS TO ROLE DE_WORKSHOP_ROLE includes Cortex / ML privileges (Modules 6 and 9)
    • Doc: Snowflake Cortex overview
    • Where: Module 6 facilitator script — attendees run on their own Snowsight (trainer has no access)
    • Doc: Snowflake setup guide

Next 4 — Aiven Kafka Module 8 — or skip to 6 — Materials if not running streaming