Snowflake


Snowflake


前提条件

CData IP をホワイトリストに登録

Snowflake への接続を確立するには、CData のIP 経由でSnowflake へのアクセスを許可する必要があります。Snowflake をファイアウォールの内側でホスティングする場合は、これらのIP アドレスをファイアウォールの許可リストに登録する必要があります。

  • 範囲:52.224.0.16052.224.0.175

  • CIDR 表記:52.224.0.160/28

Snowflake が一般にアクセス可能であることを確認

パブリックフェイシングIP / ドメインを指定して、このデータソースに接続します。次のプライベートIP の範囲は機能しません。

  • 10.0.0.0 to 10.255.255.255

  • 172.16.0.0 to 172.31.255.255

  • 192.168.0.0 to 192.168.255.255

  • 127.0.0.1 (aka ‘localhost’)

セットアップガイド

以下の手順で、Snowflake をCData Connect アカウントに接続します。

  1. CData Connect のダッシュボードからConnections ページを開きます。

  2. 右上の+ Add Connection をクリックします。

  3. 検索フィールドに Snowflake と入力し、データソース名をクリックします。

  4. 新しいコネクションのBasic Settings タブで、コネクション名を入力するかデフォルトの名前をそのまま使用します。

  5. Enter the following information:

    • Warehouse—the name of the Snowflake warehouse

    • URL—the URL of the Snowflake database

  6. Select the Authentication method, then proceed to the relevant section and follow those instructions.

Authentication Methods

Password

  1. Enter your user name in the User field and password in the Password field.

  2. In the Database section, enter the name of the Snowflake database to connect to.

  3. (Optional) Enter the schemas of the Snowflake database to connect to. If this is left blank, the connector has access to all schemas in the database.

  4. CData Connect Add Snowflake Connection ページ上部の、Save & Test をクリックします。

    • 接続テストに成功すると、接続が作成されたことを示すメッセージが表示されます。

    • 接続テストに失敗した場合は、入力したログイン情報に余分なスペースや文字がないかを確認してください。そして、もう一度試してください。

  5. Snowflake で、CData Connect 静的IP アドレスを接続のホワイトリストに追加します。

Private Key

Follow these steps to configure private key authentication:

  1. Open your Snowflake keyfile (which ends in .p8) in a text editor.

  2. Copy the entire contents of the file.

  3. Enter the copied contents of your private key into the Private Key field.

  4. If your private key has a password, enter it in the Private Key Password field.

  5. Select the correct Private Key Type from the drop down.

  6. In the Database section, enter the name of the Snowflake database to connect to.

  7. (Optional) Enter the schemas of the Snowflake database to connect to. If this is left blank, the connector has access to all schemas in the database.

  8. CData Connect Add Snowflake Connection ページ上部の、Save & Test をクリックします。

    • 接続テストに成功すると、接続が作成されたことを示すメッセージが表示されます。

    • 接続テストに失敗した場合は、入力したログイン情報に余分なスペースや文字がないかを確認してください。そして、もう一度試してください。

  9. Snowflake で、CData Connect 静的IP アドレスを接続のホワイトリストに追加します。

Okta

  1. Enter the following information:

    • User— The Okta user account.

    • Password— The password associated with the Okta account.

    • MFA Passcode— Set this to the OTP code that was sent to your device. This property should be used only when Multi-Factor Authentication is required for Okta sign on.

    • SSO Properties— are needed to authenticate to Okta:

      • Domain: Set this to the OKTA org domain name.
      • MFAType (optional): Set this to the multi-factor type. This property should be used only when the MFA is required for Okta sign on. This property accepts one of the following values:
        • OKTAVerify
        • Email
        • SMS
      • APIToken (optional): Set this to the API Token created by Okta. This is used when authenticating a user via a trusted application or proxy that overrides the Okta client request context.
  2. In the Database section, enter the name of the Snowflake database to connect to.

  3. (Optional) Enter the schemas of the Snowflake database to connect to. If this is left blank, the connector has access to all schemas in the database.

  4. CData Connect Add Snowflake Connection ページ上部の、Save & Test をクリックします。

    • 接続テストに成功すると、接続が作成されたことを示すメッセージが表示されます。

    • 接続テストに失敗した場合は、入力したログイン情報に余分なスペースや文字がないかを確認してください。そして、もう一度試してください。

  5. Snowflake で、CData Connect 静的IP アドレスを接続のホワイトリストに追加します。

詳細について

CData Connect とSnowflake の連携の詳細動作については、こちらのページを参照してください。