LoginSignup
6
4

More than 5 years have passed since last update.

[GAE] 現在のリージョンを確認する方法

Posted at

1. リージョン確認コマンド

以下のコマンドで現在のリージョンを確認できる。

> gcloud app describe --project <プロジェクトID>
  • <プロジェクトID>にはGCP上のプロジェクトに割り当てられたIDを指定する
authDomain: gmail.com
codeBucket: staging.****.appspot.com
defaultBucket: ****.appspot.com
defaultHostname: ****.appspot.com
featureSettings:
  splitHealthChecks: true
gcrDomain: us.gcr.io
id: ****
locationId: us-central
name: apps/****
servingStatus: SERVING

2. 海外リージョンだと遅い

Firebaseでプロジェクト作成するとlocationIdus-centralになってた。
us-centralリージョンだと日本からのアクセスでTTFB 531.93msかかる。遅い。

image.png

3. 東京リージョン(asia-northeast1)にする

GAE側からプロジェクトを作成する際にasia-northeast1などの東京リージョンすると爆速になる。

image.png

6
4
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
6
4