LoginSignup
17
7

More than 5 years have passed since last update.

Google App Engineはリージョンの変更ができない

Last updated at Posted at 2017-12-18

仕事でGoogle App Engine(GAE)を使ってるのですが、us-central以外にアプリのデプロイができなくて色々調べていたら、以下のような記事を発見しました。

  1. Can’t change region

Careful, because once you create your first app engine you can NEVER EVER move it to a different region. I had mistakenly placed mine in us-central only to later realize my users are mostly in us-east.
Sure, I can create another project and be more cautions but Google forces you into this long, useless app tutorial that makes it unclear if you are just starting out.

どうやら、GAEでは最初にアプリを作るときにリージョンの選択画面があるようで、
前任者(既に退職)がその画面でus-centralを選択してしまったようです。
うちのサービスはアジア向けなので、us-centralだとレイテンシが...(泣)

この画面

自分のプライベートアカウントでリージョン選択の画面を確認してみました。

Screen Shot 2017-12-18 at 11.15.08.png

ちゃんと注意書き書いてありますね、前任者は読まずにus-centralのまま[次へ]をクリックしちゃったのでしょうか...
(デフォルトでus-centralが選択されているのもどうかとは思いますが)

解決策

Googleの担当者に問い合わせたところ、以下のような解答をいただきました。

リージョンについては一度作成いただいた後の変更が出来なくなっております。
カスタムドメインを設定いただきますとエンドポイントの変更無しでgaeプロジェクトの切り替えをする事も可能です。

つまり、そのプロジェクトは諦めて他のプロジェクトを作ってそちらにデプロイしてくれという事ですね...
あまりこんなミスをする人はいないと思いますが、GAEを使い始めるときは気をつけましょう!

17
7
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
17
7