ここでは、MaxCompute を利用できるリージョンと 接続方法について詳しく説明します。 また、他の Alibaba Cloud プロダクト (ECS、TableStore、OSS など) を使用した場合のネットワーク接続やダウンロード料金などに関する問題も記載します。

MaxCompute には、次の 2 種類のサービス接続アドレスがあります。
  • MaxCompute サービス自体の接続アドレス: データのアップロードとダウンロードを除くすべてのリクエストを MaxCompute に送信できます。リクエストには、テーブルの作成、関数の削除、ジョブの作成などがあります。
  • MaxCompute Tunnel サービスの接続アドレス: MaxCompute Tunnel サービスを利用して、データのアップロードとダウンロードを実行できます。 Tunnel サービスを使用してデータのアップロードやダウンロードを実行する場合、Tunnel サービスのリンクアドレスからリクエストを開始できます。
    デプロイメントとネットワークの接続状況はリージョンごとに異なるため、Tunnel サービスを使用してデータをダウンロードする場合の課金ルールも異なります。

アクセス方法およびデータダウンロードの課金ルール

Alibaba Cloud リージョンのデプロイメントおよびネットワーク条件に応じて、主に次の 3 通りの接続方法があります。
  • インターネットから MaxCompute サービスや Tunnel サービスにアクセスします。
  • Alibaba Cloud クラシックネットワークから MaxCompute サービスや Tunnel サービスにアクセスします。
  • Alibaba Cloud VPC ネットワークから MaxCompute サービスや Tunnel サービスにアクセスします。
MaxCompute プロジェクトの作成時ではなく、プロジェクトに接続するときにのみ、ネットワークの指定が必要になります。

データアップロード

データのアップロードは、導入されているネットワーク構成の種類に関係なく無料です。

データダウンロード

Tunnel サービスのデータダウンロードリクエストが、どのリージョンの ECS サーバーから送られたのかに応じて、次の課金ルールが適用されます。
  • リクエストの送信者と受信者の両方が、同一リージョン内にいる場合、Alibaba Cloud クラシックネットワークまたは VPC ネットワークを介した Tunnel サービスのダウンロードリクエストは、無料です。 このとき、Tunnel のエンドポイントの設定が必要です。エンドポイントが設定されていない場合、データは外部のネットワークに転送され、リージョンをまたぐダウンロードになるため、料金が発生します
  • リクエストの送信者と受信者が同一リージョンにいない、または同一リージョン内のアクセスポイントに接続できない場合、リクエストはリージョンをまたいで送信されるため、この条件に基づいてデータのダウンロード料金が計算されます。
    Alibaba Cloud プロダクトとサービスのリージョンをまたぐアクセスの場合、デプロイメントとネットワーク条件により、MaxCompute の常時接続は保証されません。 料金が発生する場合があります。

接続設定

MaxCompute 2.0 は、OSS オブジェクトの読み取りと書き込みに対応しています。また、Table Store のテーブルの読み取りと書き込みもサポートしています。 詳細は、「OSS 非構造化データへのアクセス」および「Table Store データへのアクセス」をご参照ください。

ネットワーク接続を設定する際の注意点は、次のとおりです。
  • MaxCompute と TableStore/OSS が同一リージョン内にある場合、Alibaba Cloud クラシックネットワークまたは VPC ネットワーク接続を設定することを推奨します。 外部ネットワーク接続も選択できます。
  • MaxCompute と TableStore/OSS が同一リージョン内にない場合は、外部ネットワーク接続を選択してください。 リージョンをまたぐ接続の場合、Alibaba Cloud クラシックネットワーク接続または VPC ネットワーク接続を選択しても、常時接続は保証されません。

リージョン別 MaxCompute 稼働状況およびサービス接続先

以下の表では、MaxCompute のデプロイメントに関する情報をリージョン別に記載しています。 現在、国際サイトにおいて MaxCompute を利用できるのは、以下のリージョンに限られます。 表に記載されているリージョンでのみ MaxCompute の使用を申請できます。 この場合、データストレージおよびコンピューティング消費は、すべてシンガポールリージョンで発生します。
外部エンドポイント (aliyun) は、HTTP と HTTPS の両方に対応しています。 リクエストを暗号化する必要がある場合は、 HTTPS を使用してください。 内部エンドポイント (aliyun-inc) は、HTTP にのみ対応しています。
  • リージョン別の外部 MaxCompute 稼働状況およびサービス接続先
    リージョン名 都市 サービス状況 インターネットエンドポイント インターネットトンネルエンドポイント
    中国 (杭州) 杭州 稼働中 http://service.cn.maxcompute.aliyun.com/api http://dt.cn-hangzhou.maxcompute.aliyun.com
    中国 (上海) 上海 稼働中 http://service.cn.maxcompute.aliyun.com/api http://dt.cn-shanghai.maxcompute.aliyun.com
    中国 (北京) 北京 稼働中 http://service.cn.maxcompute.aliyun.com/api http://dt.cn-beijing.maxcompute.aliyun.com
    中国 (深セン) 深セン 稼働中 http://service.cn.maxcompute.aliyun.com/api http://dt.cn-shenzhen.maxcompute.aliyun.com
    中国 (香港) 香港 稼働中 http://service.cn-hongkong.maxcompute.aliyun.com/api http://dt.cn-hongkong.maxcompute.aliyun.com
    シンガポール シンガポール 稼働中 http://service.ap-southeast-1.maxcompute.aliyun.com/api http://dt.ap-southeast-1. maxcompute.aliyun.com
    オーストラリア (シドニー) シドニー 稼働中 http://service.ap-southeast-2.maxcompute.aliyun.com/api http://dt.ap-southeast-2. maxcompute.aliyun.com
    マレーシア (クアラルンプール) クアラルンプール 稼働中 http://service.ap-southeast-3.maxcompute.aliyun.com/api http://dt.ap-southeast-3.maxcompute.aliyun.com
    インドネシア (ジャカルタ) ジャカルタ 稼働中 http://service.ap-southeast-5.maxcompute.aliyun.com/api http://dt.ap-southeast-5.maxcompute.aliyun.com
    日本 (東京) 東京 稼働中 http://service.ap-northeast-1.maxcompute.aliyun.com/api http://dt.ap-northeast-1.maxcompute.aliyun.com
    ドイツ (フランクフルト) フランクフルト 稼働中 http://service.eu-central-1.maxcompute.aliyun.com/api http://dt.eu-central-1.maxcompute.aliyun.com
    米国 (シリコンバレー) シリコンバレー 稼働中 http://service.us-west-1.maxcompute.aliyun.com/api http://dt.us-west-1.maxcompute.aliyun.com
    米国 (バージニア) バージニア 稼働中 http://service.us-east-1.maxcompute.aliyun.com/api http://dt.us-east-1.maxcompute.aliyun.com
    インド (ムンバイ) ムンバイ 稼働中 http://service.ap-south-1.maxcompute.aliyun.com/api http://dt.ap-south-1.maxcompute.aliyun.com
    UAE (ドバイ) ドバイ 稼働中 http://service.me-east-1.maxcompute.aliyun.com/api http://dt.me-east-1.maxcompute.aliyun.com
    イギリス(ロンドン) ロンドン 稼働中 http://service.eu-west-1.maxcompute.aliyun.com http://dt.eu-west-1.maxcompute.aliyun.com
  • リージョン別クラシックネットワーク MaxCompute 稼働状況およびサービス接続先
    リージョン名 都市名 サービス状況 クラシックネットワークエンドポイント クラシックネットワークトンネルエンドポイント
    中国 (杭州) 杭州 稼働中 http://service.cn.maxcompute.aliyun-inc.com/api http://dt.cn-hangzhou.maxcompute.aliyun-inc.com
    中国 (上海) 上海 稼働中 http://service.cn.maxcompute.aliyun-inc.com/api http://dt.cn-shanghai.maxcompute.aliyun-inc.com
    中国 (北京) 北京 稼働中 http://service.cn.maxcompute.aliyun-inc.com/api http://dt.cn-beijing.maxcompute.aliyun-inc.com
    中国 (深セン) 深セン 稼働中 http://service.cn.maxcompute.aliyun-inc.com/api http://dt.cn-shenzhen.maxcompute.aliyun-inc.com
    中国 (香港) 香港 稼働中 http://service.cn-hongkong.maxcompute.aliyun-inc.com/api http://dt.cn-hongkong.maxcompute.aliyun-inc.com
    シンガポール シンガポール 稼働中 http://service.ap-southeast-1.maxcompute.aliyun-inc.com/api http://dt.ap-southeast-1.maxcompute.aliyun-inc.com
    オーストラリア (シドニー) シドニー 稼働中 http://service.ap-southeast-2.maxcompute.aliyun-inc.com/api http://dt.ap-southeast-2.maxcompute.aliyun-inc.com
    マレーシア (クアラルンプール) クアラルンプール 稼働中 http://service.ap-southeast-3.maxcompute.aliyun-inc.com/api http://dt.ap-southeast-3.maxcompute.aliyun-inc.com
    インドネシア (ジャカルタ) ジャカルタ 稼働中 http://service.ap-southeast-5.maxcompute.aliyun-inc.com/api http://dt.ap-southeast-5.maxcompute.aliyun-inc.com
    日本 (東京) 東京 稼働中 http://service.ap-northeast-1.maxcompute.aliyun-inc.com/api http://dt.ap-northeast-1.maxcompute.aliyun-inc.com
    ドイツ (フランクフルト) フランクフルト 稼働中 http://service.eu-central-1.maxcompute.aliyun-inc.com/api http://dt.eu-central-1.maxcompute.aliyun-inc.com
    米国 (シリコンバレー) シリコンバレー 稼働中 http://service.us-west-1.maxcompute.aliyun-inc.com/api http://dt.us-west-1.maxcompute.aliyun-inc.com
    米国 (バージニア) バージニア 稼働中 http://service.us-east-1.maxcompute.aliyun-inc.com/api http://dt.us-east-1.maxcompute.aliyun-inc.com
    インド (ムンバイ) ムンバイ 稼働中 http://service.ap-south-1.maxcompute.aliyun-inc.com/api http://dt.ap-south-1.maxcompute.aliyun-inc.com
    UAE (ドバイ) ドバイ 稼働中 http://service.me-east-1.maxcompute.aliyun-inc.com/api http://dt.me-east-1.maxcompute.aliyun-inc.com
    イギリス(ロンドン) ロンドン 稼働中 http://service.uk-all.maxcompute.aliyun-inc.com http://dt.uk-all.maxcompute.aliyun-inc.com
  • リージョン別 VPC MaxCompute 稼働状況およびサービス接続先
    VPC の場合、以下のエンドポイントおよびトンネルエンドポイントを通じてのみ MaxCompute に接続できます。 エンドポイント
    リージョン名 都市名 サービス状況 VPC エンドポイント VPC トンネルエンドポイント
    中国 (杭州) 杭州 稼働中 http://service.cn.maxcompute.aliyun-inc.com/api http://dt.cn-hangzhou.maxcompute.aliyun-inc.com
    中国 (上海) 上海 稼働中 http://service.cn.maxcompute.aliyun-inc.com/api http://dt.cn-shanghai.maxcompute.aliyun-inc.com
    中国 (北京) 北京 稼働中 http://service.cn.maxcompute.aliyun-inc.com/api http://dt.cn-beijing.maxcompute.aliyun-inc.com
    中国 (深セン) 深セン 稼働中 http://service.cn.maxcompute.aliyun-inc.com/api http://dt.cn-shenzhen.maxcompute.aliyun-inc.com
    中国 (香港) 香港 稼働中 http://service.cn-hongkong.maxcompute.aliyun-inc.com/api http://dt.cn-hongkong.maxcompute.aliyun-inc.com
    シンガポール シンガポール 稼働中 http://service.ap-southeast-1.maxcompute.aliyun-inc.com/api http://dt.ap-southeast-1.maxcompute.aliyun-inc.com
    オーストラリア (シドニー) シドニー 稼働中 http://service.ap-southeast-2.maxcompute.aliyun-inc.com/api http://dt.ap-southeast-2.maxcompute.aliyun-inc.com
    マレーシア (クアラルンプール) クアラルンプール 稼働中 http://service.ap-southeast-3.maxcompute.aliyun-inc.com/api http://dt.ap-southeast-3.maxcompute.aliyun-inc.com
    インドネシア (ジャカルタ) ジャカルタ 稼働中 http://service.ap-southeast-5.maxcompute.aliyun-inc.com/api http://dt.ap-southeast-5.maxcompute.aliyun-inc.com
    日本 (東京) 東京 稼働中 http://service.ap-northeast-1.maxcompute.aliyun-inc.com/api http://dt.ap-northeast-1.maxcompute.aliyun-inc.com
    ドイツ (フランクフルト) フランクフルト 稼働中 http://service.eu-central-1.maxcompute.aliyun-inc.com/api http://dt.eu-central-1.maxcompute.aliyun-inc.com
    米国 (シリコンバレー) シリコンバレー 稼働中 http://service.us-west-1.maxcompute.aliyun-inc.com/api http://dt.us-west-1.maxcompute.aliyun-inc.com
    米国 (バージニア) バージニア 稼働中 http://service.us-east-1.maxcompute.aliyun-inc.com/api http://dt.us-east-1.maxcompute.aliyun-inc.com
    インド (ムンバイ) ムンバイ 稼働中 http://service.ap-south-1.maxcompute.aliyun-inc.com/api http://dt.ap-south-1.maxcompute.aliyun-inc.com
    UAE (ドバイ) ドバイ 稼働中 http://service.me-east-1.maxcompute.aliyun-inc.com/api http://dt.me-east-1.maxcompute.aliyun-inc.com
    イギリス(ロンドン) ロンドン 稼働中 http://service.uk-all.maxcompute.aliyun-inc.com http://dt.uk-all.maxcompute.aliyun-inc.com
エンドポイントや Tunnel エンドポイントを設定する必要のあるシナリオ
  • MaxCompute クライアント (コンソール) の設定。 「クライアントのインストールと設定」をご参照ください。
  • MaxCompute Studio プロジェクト接続の設定。 「プロジェクトスペース管理接続」をご参照ください。
  • SDK と MaxCompute の接続設定。 「Java SDK」および「Python SDK」で MaxCompute インターフェイスへの接続設定をご参照ください。
  • DataWorks の Data Integration スクリプトパターンを使用して、MaxCompute データソース設定に接続します。また、DataX オープンソースツールを使用して、MaxCompute データソースに接続します。 「SQL 操作結果のエクスポート」をご参照ください。

接続の基本概念

  • MaxCompute サービスを利用できるリージョンでは、インターネット、クラシックネットワーク、VPC のいずれかで MaxCompute サービスに接続できます。
  • 設定したインターネットのトンネルエンドポイントを介してデータをダウンロードする場合は、0.1166 USD/GB の単価で料金が発生します。