LoginSignup
1
0

More than 1 year has passed since last update.

プロキシ経由でTableau DesktopからAWS Athenaに接続する方法

Posted at

環境

 Tableau Desktop 2020.4.7
 Windows 10 Enterprise(バージョン1909)

手順

JDBCのインストール

AmazonのWEBサイトからJDBC(AthenaJDBC42.jar)をダウンロードして
C:\Program Files\Tableau\Drivers に保存

プロキシ設定

以下の内容をathena.propertiesという名前で
C:\Users\(ユーザ名)\Documents\マイ Tableau リポジトリ\データ ソース に保存

athena.properties
ProxyHost=(プロキシURL)
ProxyPort=443
UseResultSetStreaming = 0

proxyportはネットワーク環境設定によります(444やその他のポート番号の場合があります)
UseResultSetStreaming = 0 は無いほうがつながる場合もあるようです。

tableauから接続

 tableau起動⇒接続の「サーバーへ」 ⇒その他⇒Amazon Athena⇒以下の設定

サーバー
 athena.(リージョン).amazonaws.com
 例)athena.us-east-1.amazonaws.com
ポート
 443
S3ステージングディレクトリ
 Athena → 設定の「クエリの結果の場所」を入力
 例)s3://e-stat/Athena/
AccessKey / SecretKey
 アクセスキーとシークレットキーをそれぞれ入力

staging.png

以下のように表示されれば接続成功です。
connect.png

1
0
0

Register as a new user and use Qiita more conveniently

  1. You get articles that match your needs
  2. You can efficiently read back useful information
  3. You can use dark theme
What you can do with signing up
1
0