CREATE OPENFLOW DEPLOYMENT¶
- See also:
ALTER OPENFLOW DEPLOYMENT, DROP OPENFLOW DEPLOYMENT, SHOW OPENFLOW DEPLOYMENTS, DESCRIBE OPENFLOW DEPLOYMENT
Creates a gen 2 Openflow deployment in the account.
Syntax¶
Required parameters¶
nameSpecifies the identifier for the deployment. Any valid object identifier is supported. For more information, see Identifier requirements.
Optional parameters¶
IF NOT EXISTSCreates 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 }SNOWFLAKEcreates an Openflow - Snowflake Deployment deployment.BYOCcreates a deployment in your cloud account.Default:
SNOWFLAKEVPC_TYPE = { 'MANAGED' | 'PROVIDED' }BYOC only.
MANAGEDuses a Snowflake-managed VPC.PROVIDEDuses your existing VPC.Default: No value
USE_PRIVATE_LINK = { TRUE | FALSE }Default:
FALSEUSE_USER_AUTH_OVER_PRIVATE_LINK = { TRUE | FALSE }BYOC only. Requires
USE_PRIVATE_LINK = TRUE.Default:
FALSECUSTOM_INGRESS_HOSTNAME = stringBYOC only. Custom hostname for ingress traffic.
Default: No value
DISPLAY_NAME = stringUI display name. If unset, the SQL
nameis shown in the Openflow UI.Default: No value
COMMENT = stringDefault: No value
EVENT_TABLE = { 'database.schema.tablename' | NONE }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_TABLEis not shown inSHOW OPENFLOW DEPLOYMENTSorDESCRIBE OPENFLOW DEPLOYMENToutput.
Access control¶
Requires CREATE OPENFLOW DEPLOYMENT on the account. For DEPLOYMENT_TYPE = SNOWFLAKE (the
default), also requires CREATE COMPUTE POOL on the account.
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 = SNOWFLAKEfails 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.