CREATE OPENFLOW DEPLOYMENT
statementnot supportedContainer services & dev toolingCreates a gen 2 Openflow deployment in the account.
Syntax
supportedpartialnot supportednot scored
CREATE OPENFLOW DEPLOYMENT [ IF NOT EXISTS ] <name>
[ DEPLOYMENT_TYPE = { SNOWFLAKE | BYOC } ]
[ VPC_TYPE = { 'MANAGED' | 'PROVIDED' } ]
[ USE_PRIVATE_LINK = { TRUE | FALSE } ]
[ USE_USER_AUTH_OVER_PRIVATE_LINK = { TRUE | FALSE } ]
[ CUSTOM_INGRESS_HOSTNAME = <string> ]
[ DISPLAY_NAME = <string> ]
[ COMMENT = <string> ]
[ EVENT_TABLE = { '<database>.<schema>.<tablename>' | NONE } ]
Parameters
| Name | Required | Description |
|---|---|---|
name | required | Specifies the identifier for the deployment. Any valid object identifier is supported. For more information, see Identifier requirements. |
IF NOT EXISTS | optional | Creates the deployment only if it does not already exist. If the deployment already exists, the statement does nothing and returns a success message. |
DEPLOYMENT_TYPE = { SNOWFLAKE | BYOC } | optional | SNOWFLAKE creates an Openflow - Snowflake Deployment deployment. BYOC creates a deployment in your cloud account. Default: SNOWFLAKE |
VPC_TYPE = { 'MANAGED' | 'PROVIDED' } | optional | BYOC only. MANAGED uses a Snowflake-managed VPC. PROVIDED uses your existing VPC. Default: No value |
USE_PRIVATE_LINK = { TRUE | FALSE } | optional | Default: FALSE |
USE_USER_AUTH_OVER_PRIVATE_LINK = { TRUE | FALSE } | optional | BYOC only. Requires USE_PRIVATE_LINK = TRUE. Default: FALSE |
CUSTOM_INGRESS_HOSTNAME = string | optional | BYOC only. Custom hostname for ingress traffic. Default: No value |
DISPLAY_NAME = string | optional | UI display name. If unset, the SQL name is shown in the Openflow UI. Default: No value |
COMMENT = string | optional | Default: No value |
EVENT_TABLE = { 'database.schema.tablename' | NONE } | optional | Event table that receives Openflow logs and metrics for this deployment. Specify a fully qualified name to use a deployment-specific table. Default: No value (inherits the account-level event table) To view the current value, run SHOW PARAMETERS LIKE 'EVENT_TABLE' IN OPENFLOW DEPLOYMENT <name>. EVENT_TABLE is not shown in SHOW OPENFLOW DEPLOYMENTS or DESCRIBE OPENFLOW DEPLOYMENT output. |
Usage notes
- This command returns immediately. Deployment provisioning runs asynchronously and typically takes 5–10 minutes for Snowflake deployments. Use SYSTEM$WAIT_FOR_OPENFLOW_DEPLOYMENT_STATUS or SYSTEM$WAIT_FOR_STABLE_OPENFLOW_DEPLOYMENTS to wait for the deployment to become ACTIVE.
- Each account supports up to three Snowflake Openflow deployments. Gen 1 and gen 2 deployments share this limit; CREATE OPENFLOW DEPLOYMENT WITH DEPLOYMENT_TYPE = SNOWFLAKE fails when the account already has three Snowflake deployments, regardless of generation.
- After creating a BYOC deployment, complete cloud installation using the CloudFormation template from the Openflow UI. See Set up Openflow - BYOC.
Access control
Requires CREATE OPENFLOW DEPLOYMENT on the account. For DEPLOYMENT_TYPE = SNOWFLAKE (the default), also requires CREATE COMPUTE POOL on the account.
See also
- ALTER OPENFLOW DEPLOYMENT
- DROP OPENFLOW DEPLOYMENT
- SHOW OPENFLOW DEPLOYMENTS
- DESCRIBE OPENFLOW DEPLOYMENT