Module 09 · Lesson 3 of 9Detailed study · about 18 min

Deployment, runtime and permission boundaries

A deployment contains runtimes; runtimes execute connectors. Choosing where they run also determines networking, operational ownership and access boundaries.

Understand the idea

Separate the building, the workshop and the assembly line: deployment, runtime and connector. Isolate environments and workloads deliberately rather than placing every source into one unrestricted runtime.

Key ideas in simple English
ConceptWhat it means
Snowflake deploymentRuns using Snowpark Container Services.
BYOCRuns in an approved customer cloud environment.
Source permissionAllows the connector identity to read selected source content.
Destination permissionAllows the runtime identity to write approved Snowflake objects.

A concrete example

Separate the building, the workshop and the assembly line: deployment, runtime and connector. Isolate environments and workloads deliberately rather than placing every source into one unrestricted runtime.

Remember: Source access, network reachability and Snowflake grants must each be configured and checked.

Explain it step by step · full theory

Understand the idea

Separate the building, the workshop and the assembly line: deployment, runtime and connector. Isolate environments and workloads deliberately rather than placing every source into one unrestricted runtime.

For a Snowflake deployment, follow the current official setup sequence: configure authorized roles and required infrastructure, create the deployment, create a runtime, allow the connector endpoints, then configure the connector. For BYOC, the cloud account and network prerequisites are different.

Apply it carefully

Account eligibility, deployment generations and connector setup options change. Use the linked setup guide for your account and connector version. Do not copy cloud-wide permissions or assume a trial account can run Openflow. This lesson does not provision a paid runtime.

Check the current role and namespace before setup. Network access, source authorization and destination grants are separate checks: a working Snowflake login says nothing about whether Microsoft Graph or Google APIs are reachable. Ask the administrator to approve the specific source scope and runtime resources.

Words used in this lesson
Snowflake deployment
Runs using Snowpark Container Services.
BYOC
Runs in an approved customer cloud environment.
Source permission
Allows the connector identity to read selected source content.
Destination permission
Allows the runtime identity to write approved Snowflake objects.

See how it works

Choose a step to explore the idea at your own pace.

Open the interactive explanation
Interactive explainer1 / 2

Deployment, runtime and permission boundaries

Approved deployment
Runtime + network
Scoped connector identity

Follow the flow

A deployment contains runtimes; runtimes execute connectors. Choosing where they run also determines networking, operational ownership and access boundaries.

Automatic playback is off for reduced motion. Select any step or use Previous and Next. Illustrations explain behavior; they are not live measurements.

Read the complete diagram explanation
  1. Follow the flow

    A deployment contains runtimes; runtimes execute connectors. Choosing where they run also determines networking, operational ownership and access boundaries.

  2. Find the boundary

    Check the current role and namespace before setup. Network access, source authorization and destination grants are separate checks: a working Snowflake login says nothing about whether Microsoft Graph or Google APIs are reachable. Ask the administrator to approve the specific source scope and runtime resources.

Try the SQL or command

Read → predict → run in your learning environment → compare. You can also learn by reading without an account.

New to SQL? Where to run it and how to read it

A query is a question written in SQL. Snowflake runs it and returns a result table. This website shows examples; it does not connect to your account.

  1. No account yet? Read and predict the output first. Follow the account and Snowsight lesson when you are ready.
  2. For SQL practice, use a learning account in Snowsight and select an authorized role and warehouse. A role determines permissions; a warehouse supplies processing power. Follow the example’s database/schema setup when it refers to stored objects.
  3. Read the entire example, including comments beginning with --. Run the selected statement or labeled block in the stated order. Examples labeled Python, shell or HTTP belong in that client, not in a SQL editor.
  4. Compare values and row counts with the explained result. If an example deliberately causes an error, follow its rollback and cleanup steps before continuing.
SELECT / FROM
Choose the values to return / identify their input.
VALUES / COLUMN1
VALUES supplies tiny example rows. COLUMN1 means their first column, COLUMN2 their second.
AS / WITH
AS gives a result a readable name. WITH names a temporary query step within one statement.
NULL / ::
NULL means missing or unknown. The :: notation converts a value to a named data type.
Session
One connection and its settings. Keep related transaction steps in the same session.
Database.schema.table
A full address for stored data. It is separate from the warehouse that processes queries.

Need the L2_OBJECTS_LAB setup? Open the first database-object lesson →

Help with common practice errors
  • No active warehouse: select a warehouse your role can use. Do not assume you need to create a new one.
  • Object missing or not authorized: check the full name, required setup and active role. Ask the account owner for access if needed.
  • Object already exists: setup may already have run. Read the current state or choose a fresh lab name consistently; do not add OR REPLACE blindly.
  • Different result: check whether an earlier INSERT or UPDATE changed the data. VALUES examples provide their own fresh input for each statement.

Before running this lesson

SQL practice is manual. The website does not connect to external services. Connector deployment is a separate administrator-assisted exercise.

Hands-on SQL: Deployment, runtime and permission boundaries

SQL · example
SELECT CURRENT_ACCOUNT() AS ACCOUNT_NAME, CURRENT_ROLE() AS ACTIVE_ROLE,
 CURRENT_WAREHOUSE() AS WAREHOUSE_NAME, CURRENT_DATABASE() AS DATABASE_NAME,
 CURRENT_SCHEMA() AS SCHEMA_NAME;
SHOW GRANTS;

What to expect and why

The first query shows your session context. SHOW GRANTS lists grants for the current user; it is a starting point, not a full review of inherited role privileges. Neither command deploys Openflow or proves source access.

Check your understanding

Choose an answer, then check your reasoning. This is practice, not a scored test.

Does destination INSERT permission also grant access to SharePoint?

Try it yourself

Explain your decision: Does destination INSERT permission also grant access to SharePoint?

Compare your reasoning

Source access, network reachability and Snowflake grants must each be configured and checked.

Official sources and curriculum

Module 09 · See module scope