普段、IBM CloudにアプリをデプロイするときにはREGION(地域)を米国南部にしているのだが、訳あって英国にデプロイしようとした時、
Domain mybluemix.net not found
と怒られて困った。
こんな感じ
# cf push
Using manifest file C:\app\manifest.yml
Updating app test-2018 in org xxxx / space yyyy as zzzz...
OK
FAILED
Domain mybluemix.net not found
このときのmanifest.ymlはこんな感じ
manifest.yml
applications:
- name: test
path: .
domain: mybluemix.net
memory: 512M
instances: 1
command: node app.js
ぐぐると、英国にデプロイするときにはdomainをeu-gb.mybluemix.netにしないといけないらしい
Deploying App to different region in Bluemix : Domain mybluemix.net not found
If you push your application to the other region than US-South you need to modify the domain. For UK the domain is eu-gb.mybluemix.net. Given that the route to your app will be
your_app_name.eu-gb.mybluemix.net
ということでこのように変更したらちゃんとデプロイ出来た。
manifest.yml
applications:
- name: test
path: .
domain: eu-gb.mybluemix.net
memory: 512M
instances: 1
command: node app.js