LoginSignup
1
1

More than 5 years have passed since last update.

IBM CloudのREGION 英国にアプリをデプロイしようとして詰まった話

Posted at

普段、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

ぐぐると、英国にデプロイするときにはdomaineu-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
1
1
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
1
1