MaxCompute エンドポイントは、MaxCompute サービスへのアクセスポイントです。MaxCompute クライアント、SDK、または API を設定してサービスに接続し、リクエストを送信する際には、エンドポイントを指定する必要があります。
エンドポイントの選択
使用するエンドポイントは、リージョンと接続タイプによって決まります。
リージョン:MaxCompute プロジェクトと同じリージョンにあるエンドポイントを選択してください。そうしないと、プロジェクトにアクセスできません。
ネットワーク接続:
クライアントが ECS インスタンスなどの Alibaba Cloud サービス上で実行されている場合は、VPC エンドポイントを使用してください。VPC 接続はより安全で安定しています。
クライアントが社内のコンピューターなど、Alibaba Cloud の外部にある場合は、パブリックエンドポイントを使用してください。クライアントが実行されている VPC でパブリックネットワークアクセスが有効になっていない場合は、VPC エンドポイントのみを使用できます。
パブリックエンドポイント
パブリックエンドポイントのみを設定する必要があります。MaxCompute は、データ伝送のために対応するパブリックトンネルエンドポイントを自動的に解決します。
エリア | リージョン | パブリックエンドポイント | パブリックトンネルエンドポイント |
中国 | 中国 (杭州) | https://service.cn-hangzhou.maxcompute.aliyun.com/api | https://dt.cn-hangzhou.maxcompute.aliyun.com |
中国 | 中国 (上海) | https://service.cn-shanghai.maxcompute.aliyun.com/api | https://dt.cn-shanghai.maxcompute.aliyun.com |
中国 | 中国 (北京) | https://service.cn-beijing.maxcompute.aliyun.com/api | https://dt.cn-beijing.maxcompute.aliyun.com |
中国 | 中国 (ウランチャブ) | https://service.cn-wulanchabu.maxcompute.aliyun.com/api | https://dt.cn-wulanchabu.maxcompute.aliyun.com |
中国 | 中国 (深セン) | https://service.cn-shenzhen.maxcompute.aliyun.com/api | https://dt.cn-shenzhen.maxcompute.aliyun.com |
中国 | 中国 (香港) | https://service.cn-hongkong.maxcompute.aliyun.com/api | https://dt.cn-hongkong.maxcompute.aliyun.com |
アジア太平洋 | シンガポール | https://service.ap-southeast-1.maxcompute.aliyun.com/api | https://dt.ap-southeast-1.maxcompute.aliyun.com |
アジア太平洋 | マレーシア (クアラルンプール) | https://service.ap-southeast-3.maxcompute.aliyun.com/api | https://dt.ap-southeast-3.maxcompute.aliyun.com |
アジア太平洋 | インドネシア (ジャカルタ) | https://service.ap-southeast-5.maxcompute.aliyun.com/api | https://dt.ap-southeast-5.maxcompute.aliyun.com |
アジア太平洋 | タイ (バンコク) | https://service.ap-southeast-7.maxcompute.aliyun.com/api | https://dt.ap-southeast-7.maxcompute.aliyun.com |
アジア太平洋 | 日本 (東京) | https://service.ap-northeast-1.maxcompute.aliyun.com/api | https://dt.ap-northeast-1.maxcompute.aliyun.com |
アジア太平洋 | 韓国 (ソウル) | https://service.ap-northeast-2.maxcompute.aliyun.com/api | https://dt.ap-northeast-2.maxcompute.aliyun.com |
ヨーロッパおよびアメリカ | ドイツ (フランクフルト) | https://service.eu-central-1.maxcompute.aliyun.com/api | https://dt.eu-central-1.maxcompute.aliyun.com |
ヨーロッパおよびアメリカ | 米国 (シリコンバレー) | https://service.us-west-1.maxcompute.aliyun.com/api | https://dt.us-west-1.maxcompute.aliyun.com |
ヨーロッパおよびアメリカ | 米国 (バージニア) | https://service.us-east-1.maxcompute.aliyun.com/api | https://dt.us-east-1.maxcompute.aliyun.com |
ヨーロッパおよびアメリカ | イギリス (ロンドン) | https://service.eu-west-1.maxcompute.aliyun.com/api | https://dt.eu-west-1.maxcompute.aliyun.com |
ヨーロッパおよびアメリカ | メキシコ | https://service.na-south-1.maxcompute.aliyun.com/api | https://dt.na-south-1.maxcompute.aliyun.com |
中東およびインド | UAE (ドバイ) | https://service.me-east-1.maxcompute.aliyun.com/api | https://dt.me-east-1.maxcompute.aliyun.com |
中東およびインド | SAU (リヤド - パートナーリージョン) | https://service.me-central-1.maxcompute.aliyun.com/api | https://dt.me-central-1.maxcompute.aliyun.com |
VPC エンドポイント
VPC エンドポイントのみを設定する必要があります。MaxCompute は、データ伝送のために対応する VPC トンネルエンドポイントを自動的に解決します。
エリア | リージョン | VPC エンドポイント | VPC トンネルエンドポイント |
中国 | 中国 (杭州) | https://service.cn-hangzhou-vpc.maxcompute.aliyun-inc.com/api | https://dt.cn-hangzhou-vpc.maxcompute.aliyun-inc.com |
中国 | 中国 (上海) | https://service.cn-shanghai-vpc.maxcompute.aliyun-inc.com/api | https://dt.cn-shanghai-vpc.maxcompute.aliyun-inc.com |
中国 | 中国 (北京) | https://service.cn-beijing-vpc.maxcompute.aliyun-inc.com/api | https://dt.cn-beijing-vpc.maxcompute.aliyun-inc.com |
中国 | 中国 (ウランチャブ) | https://service.cn-wulanchabu-vpc.maxcompute.aliyun-inc.com/api | https://dt.cn-wulanchabu-vpc.maxcompute.aliyun-inc.com |
中国 | 中国 (深セン) | https://service.cn-shenzhen-vpc.maxcompute.aliyun-inc.com/api | https://dt.cn-shenzhen-vpc.maxcompute.aliyun-inc.com |
中国 | 中国 (香港) | https://service.cn-hongkong-vpc.maxcompute.aliyun-inc.com/api | https://dt.cn-hongkong-vpc.maxcompute.aliyun-inc.com |
アジア太平洋 | シンガポール | https://service.ap-southeast-1-vpc.maxcompute.aliyun-inc.com/api | https://dt.ap-southeast-1-vpc.maxcompute.aliyun-inc.com |
アジア太平洋 | マレーシア (クアラルンプール) | https://service.ap-southeast-3-vpc.maxcompute.aliyun-inc.com/api | https://dt.ap-southeast-3-vpc.maxcompute.aliyun-inc.com |
アジア太平洋 | インドネシア (ジャカルタ) | https://service.ap-southeast-5-vpc.maxcompute.aliyun-inc.com/api | https://dt.ap-southeast-5-vpc.maxcompute.aliyun-inc.com |
アジア太平洋 | タイ (バンコク) | https://service.ap-southeast-7-vpc.maxcompute.aliyun-inc.com/api | https://dt.ap-southeast-7-vpc.maxcompute.aliyun-inc.com |
アジア太平洋 | 日本 (東京) | https://service.ap-northeast-1-vpc.maxcompute.aliyun-inc.com/api | https://dt.ap-northeast-1-vpc.maxcompute.aliyun-inc.com |
アジア太平洋 | 韓国 (ソウル) | https://service.ap-northeast-2-vpc.maxcompute.aliyun-inc.com/api | https://dt.ap-northeast-2-vpc.maxcompute.aliyun-inc.com |
ヨーロッパおよびアメリカ | ドイツ (フランクフルト) | https://service.eu-central-1-vpc.maxcompute.aliyun-inc.com/api | https://dt.eu-central-1-vpc.maxcompute.aliyun-inc.com |
ヨーロッパおよびアメリカ | 米国 (シリコンバレー) | https://service.us-west-1-vpc.maxcompute.aliyun-inc.com/api | https://dt.us-west-1-vpc.maxcompute.aliyun-inc.com |
ヨーロッパおよびアメリカ | 米国 (バージニア) | https://service.us-east-1-vpc.maxcompute.aliyun-inc.com/api | https://dt.us-east-1-vpc.maxcompute.aliyun-inc.com |
ヨーロッパおよびアメリカ | イギリス (ロンドン) | https://service.eu-west-1-vpc.maxcompute.aliyun-inc.com/api | https://dt.eu-west-1-vpc.maxcompute.aliyun-inc.com |
ヨーロッパおよびアメリカ | メキシコ | https://service.na-south-1-vpc.maxcompute.aliyun-inc.com/api | https://dt.na-south-1-vpc.maxcompute.aliyun-inc.com |
中東およびインド | UAE (ドバイ) | https://service.me-east-1-vpc.maxcompute.aliyun-inc.com/api | https://dt.me-east-1-vpc.maxcompute.aliyun-inc.com |
中東およびインド | SAU (リヤド - パートナーリージョン) | https://service.me-central-1-vpc.maxcompute.aliyun-inc.com/api | https://dt.me-central-1-vpc.maxcompute.aliyun-inc.com |
相互接続エンドポイント
付録:コンソールでのエンドポイント
MaxCompute コンソールでは、中国 (杭州)、中国 (上海)、中国 (北京)、中国 (張家口)、中国 (ウランチャブ)、中国 (深セン)、中国 (成都) の各リージョンの endpoint 情報を表示できます。
MaxCompute コンソールにログインし、左上の隅でリージョンを選択します。
左側のナビゲーションウィンドウで、 を選択します。
関連ドキュメント
以下のシナリオでは、エンドポイントの設定が必要になる場合があります。
ツールでの接続:
MaxCompute クライアント (odpscmd) を使用して MaxCompute プロジェクトに接続するには、odps_config.ini ファイルを設定する必要があります。詳細については、「MaxCompute クライアントのインストールと設定」をご参照ください。
MaxCompute Studio を使用して MaxCompute プロジェクトに接続する方法については、「プロジェクト接続の管理」をご参照ください。
DataWorks を使用して MaxCompute データソースに接続する方法については、「MaxCompute データソースの設定」をご参照ください。
コードでの接続:
SDK を使用して MaxCompute プロジェクトに接続する方法については、「Java SDK の概要」および「Python SDK の例:SQL」をご参照ください。
JDBC を使用して MaxCompute プロジェクトに接続する方法については、「JDBC の概要」をご参照ください。
SQLTask と Tunnel データ伝送サービスを使用して SQL 実行結果をエクスポートする方法については、「SQLTask と Tunnel を使用したデータのエクスポート」をご参照ください。
Alibaba Cloud のリージョンとゾーン (概念、選択ガイドライン、サポートされているロケーションの完全なリストを含む) については、「リージョンとゾーン」をご参照ください。