# AWS レイテンシーテスト：最も近いリージョンはどこ？

無料、ブラウザで動作 · 34 リージョン · 登録不要、トラッキングなし

## 各 AWS リージョンへのレイテンシー

| # | リージョン | レイテンシー |
|---|---|---|
| | [`us-east-1`](https://cloudconsole.dev/regions/us-east-1) – 米国東部 (バージニア北部) | – |
| | [`us-east-2`](https://cloudconsole.dev/regions/us-east-2) – 米国東部 (オハイオ) | – |
| | [`us-west-1`](https://cloudconsole.dev/regions/us-west-1) – 米国西部 (北カリフォルニア) | – |
| | [`us-west-2`](https://cloudconsole.dev/regions/us-west-2) – 米国西部 (オレゴン) | – |
| | [`ca-central-1`](https://cloudconsole.dev/regions/ca-central-1) – カナダ (中部) | – |
| | [`ca-west-1`](https://cloudconsole.dev/regions/ca-west-1) – カナダ西部 (カルガリー) | – |
| | [`mx-central-1`](https://cloudconsole.dev/regions/mx-central-1) – メキシコ (中部) | – |
| | [`sa-east-1`](https://cloudconsole.dev/regions/sa-east-1) – 南米 (サンパウロ) | – |
| | [`eu-west-1`](https://cloudconsole.dev/regions/eu-west-1) – 欧州 (アイルランド) | – |
| | [`eu-west-2`](https://cloudconsole.dev/regions/eu-west-2) – 欧州 (ロンドン) | – |
| | [`eu-west-3`](https://cloudconsole.dev/regions/eu-west-3) – 欧州 (パリ) | – |
| | [`eu-central-1`](https://cloudconsole.dev/regions/eu-central-1) – 欧州 (フランクフルト) | – |
| | [`eu-central-2`](https://cloudconsole.dev/regions/eu-central-2) – 欧州 (チューリッヒ) | – |
| | [`eu-north-1`](https://cloudconsole.dev/regions/eu-north-1) – 欧州 (ストックホルム) | – |
| | [`eu-south-1`](https://cloudconsole.dev/regions/eu-south-1) – 欧州 (ミラノ) | – |
| | [`eu-south-2`](https://cloudconsole.dev/regions/eu-south-2) – 欧州 (スペイン) | – |
| | [`il-central-1`](https://cloudconsole.dev/regions/il-central-1) – イスラエル (テルアビブ) | – |
| | [`me-south-1`](https://cloudconsole.dev/regions/me-south-1) – 中東 (バーレーン) | – |
| | [`me-central-1`](https://cloudconsole.dev/regions/me-central-1) – 中東 (UAE) | – |
| | [`af-south-1`](https://cloudconsole.dev/regions/af-south-1) – アフリカ (ケープタウン) | – |
| | [`ap-south-1`](https://cloudconsole.dev/regions/ap-south-1) – アジアパシフィック (ムンバイ) | – |
| | [`ap-south-2`](https://cloudconsole.dev/regions/ap-south-2) – アジアパシフィック (ハイデラバード) | – |
| | [`ap-southeast-1`](https://cloudconsole.dev/regions/ap-southeast-1) – アジアパシフィック (シンガポール) | – |
| | [`ap-southeast-2`](https://cloudconsole.dev/regions/ap-southeast-2) – アジアパシフィック (シドニー) | – |
| | [`ap-southeast-3`](https://cloudconsole.dev/regions/ap-southeast-3) – アジアパシフィック (ジャカルタ) | – |
| | [`ap-southeast-4`](https://cloudconsole.dev/regions/ap-southeast-4) – アジアパシフィック (メルボルン) | – |
| | [`ap-southeast-5`](https://cloudconsole.dev/regions/ap-southeast-5) – アジアパシフィック (マレーシア) | – |
| | [`ap-southeast-6`](https://cloudconsole.dev/regions/ap-southeast-6) – アジアパシフィック (ニュージーランド) | – |
| | [`ap-southeast-7`](https://cloudconsole.dev/regions/ap-southeast-7) – アジアパシフィック (タイ) | – |
| | [`ap-east-1`](https://cloudconsole.dev/regions/ap-east-1) – アジアパシフィック (香港) | – |
| | [`ap-east-2`](https://cloudconsole.dev/regions/ap-east-2) – アジアパシフィック (台北) | – |
| | [`ap-northeast-1`](https://cloudconsole.dev/regions/ap-northeast-1) – アジアパシフィック (東京) | – |
| | [`ap-northeast-2`](https://cloudconsole.dev/regions/ap-northeast-2) – アジアパシフィック (ソウル) | – |
| | [`ap-northeast-3`](https://cloudconsole.dev/regions/ap-northeast-3) – アジアパシフィック (大阪) | – |

リクエストはブラウザから AWS へ直接送られます。当社には何も送信されず、何も保存されません。CloudConsole のリージョン選択も同じ計測を使い、近い順に並べます。[アプリについて →](https://cloudconsole.dev/ja/aws-console-app)

**要点**

最も近い AWS リージョンは、上の結果でレイテンシーが最も低いリージョンです。ブラウザが各リージョンの公開 DynamoDB ping エンドポイントに小さな HTTPS リクエストを送り、往復時間を計測します。最も低い値がネットワーク上で最も近いリージョンで、速度には地図上の距離よりこちらが重要です。

## この AWS レイテンシーテストの仕組み

各 AWS リージョンには `https://dynamodb.<region>.amazonaws.com` に DynamoDB エンドポイントがあり、その `/ping` パスは認証情報なしで、どのリクエストにも 1 行のステータスメッセージを返します。どのウェブページからのリクエストも受け付けるため、ブラウザから直接呼び出せます。

テストは各リージョンに、まず接続を確立するためのリクエスト（DNS 解決、TCP と TLS のハンドシェイク）を 1 回送り、これは計測に含めません。その後、確立済みの接続でさらに 4 回のリクエストを `performance.now()` で計測し、中央値を表示します。1 回の遅いリクエストで結果が歪まないようにするためです。6 リージョンずつ同時にテストし、4 秒以内に応答しないリージョンは到達不能と表示します。

AWS のエンドポイントは ICMP に応答しないため、従来の `ping` はリージョンに届きません。このような HTTPS の往復が実用的な AWS の ping テストです。HTTP のオーバーヘッドが少し含まれるため、純粋なネットワーク ping より数ミリ秒高い値になります。

### ブラウザでのレイテンシーとサーバー間のレイテンシーが違う理由

表示される値は、お使いの端末からの経路です。Wi-Fi やモバイル回線、インターネットプロバイダー、VPN や社内プロキシ、そして公衆インターネットを経て AWS に至ります。ユーザーはそれぞれ別の経路を通るため、あなたに最も近いリージョンがユーザーにとっても最も近いとは限りません。ユーザーのいる場所や、ユーザーが使うネットワーク上のサーバーからテストしてください。

AWS リージョン間や、EC2 インスタンスから AWS エンドポイントへの通信は AWS のネットワークを通り、通常はブラウザで計測したどの値よりも速く安定しています。既存のサーバーの近くにデータベースを置く場所を決める場合は、そのサーバーから計測してください。

## AWS リージョンの選び方

レイテンシーは考慮すべき 4 つの要素の 1 つです。多くの場合、ほかの 3 つで絞り込んだ 2〜3 の候補から最終的に選ぶ決め手になります。

- **レイテンシー。**ユーザーは往復のたびに待たされ、1 つのページや API 呼び出しで何度も往復することがよくあります。インタラクティブなアプリでは、大半のユーザーから約 50〜100 ms 以内のリージョンを選び、静的コンテンツの前に CloudFront を置いて、遠方のユーザーには近くのエッジロケーションから配信しましょう。
- **料金。**同じインスタンスや同じ 1 GB でも、リージョンによって料金が異なります。米国東部 (バージニア北部)、米国東部 (オハイオ)、米国西部 (オレゴン) が通常最も安く、サンパウロや新しいリージョンのいくつかはかなり高くなります。決める前に AWS Pricing Calculator で比較してください。
- **サービスの提供状況。**新しいサービスやインスタンスタイプは、通常まず us-east-1 に、後から小規模なリージョンに提供されます。必要なサービスがすべてそのリージョンで提供されているか確認してください。リージョンガイドに主な未提供サービスをまとめています。
- **データの所在とコンプライアンス。**法律、契約、顧客の要件で、データを特定の国や EU 内に置く必要がある場合があります。その場合、レイテンシーを測る前にリージョンが決まることもあります。

実務上のポイントがあと 2 つあります。2019 年 3 月以降に開始されたリージョンはオプトインで、使用前に管理者がアカウントで有効化する必要があります。また、一部のグローバル設定は、どのリージョンを選んでも us-east-1 にあります。たとえば CloudFront 用の ACM 証明書や CloudWatch の請求メトリクスです。各リージョンの場所、サービス、主な用途は [AWS リージョンガイド (EN)](https://cloudconsole.dev/regions/)をご覧ください。

## すべての AWS リージョンコードと所在地

上でテストする 34 の商用 AWS リージョンです。オプトインリージョンでリソースを作成するには、事前にアカウントで有効化する必要があります。

| リージョンコード | 所在地 | 地域 | オプトイン |
|---|---|---|---|
| [`us-east-1`](https://cloudconsole.dev/regions/us-east-1) | 米国東部 (バージニア北部) | 南北アメリカ | なし |
| [`us-east-2`](https://cloudconsole.dev/regions/us-east-2) | 米国東部 (オハイオ) | 南北アメリカ | なし |
| [`us-west-1`](https://cloudconsole.dev/regions/us-west-1) | 米国西部 (北カリフォルニア) | 南北アメリカ | なし |
| [`us-west-2`](https://cloudconsole.dev/regions/us-west-2) | 米国西部 (オレゴン) | 南北アメリカ | なし |
| [`ca-central-1`](https://cloudconsole.dev/regions/ca-central-1) | カナダ (中部) | 南北アメリカ | なし |
| [`ca-west-1`](https://cloudconsole.dev/regions/ca-west-1) | カナダ西部 (カルガリー) | 南北アメリカ | あり |
| [`mx-central-1`](https://cloudconsole.dev/regions/mx-central-1) | メキシコ (中部) | 南北アメリカ | あり |
| [`sa-east-1`](https://cloudconsole.dev/regions/sa-east-1) | 南米 (サンパウロ) | 南北アメリカ | なし |
| [`eu-west-1`](https://cloudconsole.dev/regions/eu-west-1) | 欧州 (アイルランド) | 欧州 | なし |
| [`eu-west-2`](https://cloudconsole.dev/regions/eu-west-2) | 欧州 (ロンドン) | 欧州 | なし |
| [`eu-west-3`](https://cloudconsole.dev/regions/eu-west-3) | 欧州 (パリ) | 欧州 | なし |
| [`eu-central-1`](https://cloudconsole.dev/regions/eu-central-1) | 欧州 (フランクフルト) | 欧州 | なし |
| [`eu-central-2`](https://cloudconsole.dev/regions/eu-central-2) | 欧州 (チューリッヒ) | 欧州 | あり |
| [`eu-north-1`](https://cloudconsole.dev/regions/eu-north-1) | 欧州 (ストックホルム) | 欧州 | なし |
| [`eu-south-1`](https://cloudconsole.dev/regions/eu-south-1) | 欧州 (ミラノ) | 欧州 | あり |
| [`eu-south-2`](https://cloudconsole.dev/regions/eu-south-2) | 欧州 (スペイン) | 欧州 | あり |
| [`il-central-1`](https://cloudconsole.dev/regions/il-central-1) | イスラエル (テルアビブ) | 中東・アフリカ | あり |
| [`me-south-1`](https://cloudconsole.dev/regions/me-south-1) | 中東 (バーレーン) | 中東・アフリカ | あり |
| [`me-central-1`](https://cloudconsole.dev/regions/me-central-1) | 中東 (UAE) | 中東・アフリカ | あり |
| [`af-south-1`](https://cloudconsole.dev/regions/af-south-1) | アフリカ (ケープタウン) | 中東・アフリカ | あり |
| [`ap-south-1`](https://cloudconsole.dev/regions/ap-south-1) | アジアパシフィック (ムンバイ) | アジアパシフィック | なし |
| [`ap-south-2`](https://cloudconsole.dev/regions/ap-south-2) | アジアパシフィック (ハイデラバード) | アジアパシフィック | あり |
| [`ap-southeast-1`](https://cloudconsole.dev/regions/ap-southeast-1) | アジアパシフィック (シンガポール) | アジアパシフィック | なし |
| [`ap-southeast-2`](https://cloudconsole.dev/regions/ap-southeast-2) | アジアパシフィック (シドニー) | アジアパシフィック | なし |
| [`ap-southeast-3`](https://cloudconsole.dev/regions/ap-southeast-3) | アジアパシフィック (ジャカルタ) | アジアパシフィック | あり |
| [`ap-southeast-4`](https://cloudconsole.dev/regions/ap-southeast-4) | アジアパシフィック (メルボルン) | アジアパシフィック | あり |
| [`ap-southeast-5`](https://cloudconsole.dev/regions/ap-southeast-5) | アジアパシフィック (マレーシア) | アジアパシフィック | あり |
| [`ap-southeast-6`](https://cloudconsole.dev/regions/ap-southeast-6) | アジアパシフィック (ニュージーランド) | アジアパシフィック | あり |
| [`ap-southeast-7`](https://cloudconsole.dev/regions/ap-southeast-7) | アジアパシフィック (タイ) | アジアパシフィック | あり |
| [`ap-east-1`](https://cloudconsole.dev/regions/ap-east-1) | アジアパシフィック (香港) | アジアパシフィック | あり |
| [`ap-east-2`](https://cloudconsole.dev/regions/ap-east-2) | アジアパシフィック (台北) | アジアパシフィック | あり |
| [`ap-northeast-1`](https://cloudconsole.dev/regions/ap-northeast-1) | アジアパシフィック (東京) | アジアパシフィック | なし |
| [`ap-northeast-2`](https://cloudconsole.dev/regions/ap-northeast-2) | アジアパシフィック (ソウル) | アジアパシフィック | なし |
| [`ap-northeast-3`](https://cloudconsole.dev/regions/ap-northeast-3) | アジアパシフィック (大阪) | アジアパシフィック | なし |

AWS GovCloud (US) と中国のリージョンは、独自のアカウントとエンドポイントを持つ別のパーティションのため、含めていません。

## よくある質問

### 最も近い AWS リージョンはどこですか？

上のテストでレイテンシーが最も低いリージョンです。距離はおおまかな目安にすぎません。インターネットプロバイダーの経路は地図と同じくらい重要で、隣国のリージョンが自国のリージョンより速いこともあります。ユーザーが使うネットワークで、できれば時間帯を変えて何度かテストしてください。

### AWS リージョンに普通に ping できないのはなぜですか？

AWS の各リージョンのサービスエンドポイントは ICMP の ping に応答しないため、従来の ping テストはタイムアウトします。このテストは代わりに各リージョンの DynamoDB ping エンドポイントに小さな HTTPS リクエストを送り、往復時間を計測します。ブラウザで行う AWS の ping テストはこの仕組みです。

### CloudPing などほかの AWS ping テストと値が違うのはなぜですか？

ツールによって、呼び出すエンドポイント、最初の接続（DNS、TCP、TLS の確立）を含めるかどうか、サンプル数、平均と中央値のどちらを表示するかが異なります。このテストは接続の確立を除き、4 回のリクエストの中央値を表示するため、通常は 1 回だけのコールドなリクエストより低く安定した値になります。

### これは AWS リージョン間のレイテンシーですか？

いいえ。ブラウザから各リージョンへのレイテンシーです。リージョン間の通信は AWS のバックボーンを通り、そのレイテンシーは別の値です。あるリージョンのインスタンスから別のリージョンのエンドポイントへの値を計測してください。

### 「ここから到達不能」とはどういう意味ですか？

そのリージョンが 4 秒以内に応答しませんでした。多くの場合、ファイアウォール、VPN、社内プロキシ、コンテンツブロッカーがリクエストを止めているか、ネットワークにそのエンドポイントへの経路がありません。リージョンの障害を意味するものではありません。障害の確認には AWS Health Dashboard をご覧ください。

### テストするためにリージョンを有効化する必要はありますか？

いいえ。ping エンドポイントは公開されており、AWS アカウントは不要です。ただし、オプトインリージョン（2019 年以降に開始された大半のリージョン）を使うには、先にアカウントで有効化する必要があります。

### テスト結果はどこかに送信されますか？

いいえ。ブラウザは AWS と直接通信し、結果は画面に表示されるだけです。このページは Cookie を使いません。ほかに読み込むスクリプトは Cookie を使わない Cloudflare Web Analytics だけで、ページビューを数えるだけで結果を見ることはありません。

**近いリージョンから順に、ポケットの中に**

CloudConsole のリージョン選択も同じ計測を使い、近い順に並べるので、使いたいリージョンはたいてい一番上にあります。すべてのリージョンのアラーム、ログ、コスト、リソースを iPhone と Android で。

[アプリについて →](https://cloudconsole.dev/ja/aws-console-app)

## 関連ページ

- [AWS リージョンとリージョンコード (EN)](https://cloudconsole.dev/regions/) – ガイド
- [us-east-1：米国東部 (バージニア北部) (EN)](https://cloudconsole.dev/regions/us-east-1) – AWS リージョン
- [eu-west-1：欧州 (アイルランド) (EN)](https://cloudconsole.dev/regions/eu-west-1) – AWS リージョン
- [ap-southeast-1：アジアパシフィック (シンガポール) (EN)](https://cloudconsole.dev/regions/ap-southeast-1) – AWS リージョン
- [アプリでアカウントのリージョンを変更する](https://cloudconsole.dev/ja/help/manage-accounts) – ヘルプセンター
- [CloudConsole アプリ](https://cloudconsole.dev/ja/aws-console-app) – 製品

---

Source: https://cloudconsole.dev/ja/tools/aws-latency-test

CloudConsole is an independent iPhone and Android app for Amazon Web Services by Cloudconcur Ltd. It is not affiliated with Amazon Web Services.
