Amazon Redshift


Amazon Redshift


前提条件

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

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

  • 範囲:52.224.0.16052.224.0.175

  • CIDR 表記:52.224.0.160/28

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

パブリックフェイシング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’)

セットアップガイド

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

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

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

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

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

  5. Enter the the host name or IP address of the Amazon Redshift cluster into the Server field.

  6. Enter the Amazon Redshift Database.

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

Authentication Methods

Basic

  1. Enter 認証用のAmazon Redshift ユーザー名 in the User field.

  2. Enter ユーザーパスワード.

  3. Enter Amazon Redshift サーバーに接続するためのポート in the Port field.

  4. Enter the AWS Principal ARN to use during authentication if you have multiple Identity Providers in your AWS account.

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

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

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

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

ADFS

  1. Enter 認証用のAmazon Redshift ユーザー名 in the User field.

  2. Enter ユーザーパスワード.

  3. Enter the SSO Login URL.

  4. Enter all relevant SSO Properties, with the format ‘ssoproperty1=value1;sooproperty2=value2;sooproperty3=value3;’. Make sure to separate all property-value pairs with semicolons.

  5. Enter Amazon Redshift サーバーに接続するためのポート in the Port field.

  6. Enter the AWS Principal ARN to use during authentication if you have multiple Identity Providers in your AWS account.

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

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

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

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

IAMCredentials

  1. Enter 認証用のAmazon Redshift ユーザー名 in the User field.

  2. Enter your AWS Access Key.

  3. Enter your AWS Secret Key.

  4. Enter Amazon Redshift サーバーに接続するためのポート in the Port field.

  5. Enter the AWS Principal ARN to use during authentication if you have multiple Identity Providers in your AWS account.

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

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

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

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

PingFederate

  1. Enter 認証用のAmazon Redshift ユーザー名 in the User field.

  2. Enter ユーザーパスワード.

  3. Enter the SSO Login URL.

  4. Enter the SSO Properties, with the format ‘ssoproperty1=value1;sooproperty2=value2;sooproperty3=value3;’. Make sure to separate all property-value pairs with semicolons.

  5. Add the SSO Exchange URL.

  6. Enter Amazon Redshift サーバーに接続するためのポート in the Port field.

  7. Enter the AWS Principal ARN to use during authentication if you have multiple Identity Providers in your AWS account.

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

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

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

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

AzureAD

  1. Enter 認証用のAmazon Redshift ユーザー名 in the User field.

  2. Enter the Azure Tenant Id to connect to.

  3. Enter the SSO Login URL.

  4. Enter the OAuth Client Id found in the Overview page of your Amazon Redshift application settings.

  5. Enter your OAuth Client Secret.

  6. Enter the Scope. For v1.0 OAuth tokens, this matches the Scopes field in the Expose of an API page of your OAuth app. For v2.0 OAuth tokens, it is the same as the app’s Client Id.

  7. Enter Amazon Redshift サーバーに接続するためのポート in the Port field.

  8. Enter the AWS Principal ARN to use during authentication if you have multiple Identity Providers in your AWS account.

  9. OAuth でセキュアに接続するには、Sign in をクリックします。これにより、Amazon Redshift のサインインページが新しいタブで開かれます。

  10. Amazon Redshift アカウントにログインし、リクエストされた権限を設定します(該当する場合)。

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

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

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

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

詳細について

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