2
1

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?

PowerVSのUsage情報にConsumer IDが入り、内訳を判別しやすくなりました

Last updated at Posted at 2024-06-07

PowerVSの利用量(費用)は、Usageの画面で確認できます。
これまでは、ワークスペース単位の合計の利用量として表示されていましたが、Consumer IDというリソース毎に一意の文字列が入るようになり、利用内訳を判別しやすくなりました。
https://cloud.ibm.com/docs/power-iaas?topic=power-iaas-pricing-virtual-server-on-cloud#consumer-id

下記がUsage画面の例です。
https://cloud.ibm.com/billing/usage
image.png

Consumer IDは、GUIもしくはCLIで確認できる各リソースのIDに紐づいています。
以下、CLIを使ってIDを確認する例です。

Workspaceをリストし、対象WorkspaceのCRNを取得
$ ibmcloud pi ws list|grep -i dal10b
Listing workspaces under account xxx as user xxxxxxxxx...
crn:v1:bluemix:public:power-iaas:dal10:a/039dbe6794084c7cb514a276dd2345da:d3bf8a93-bd2e-4997-9ddb-c335c125f151::      d3bf8a93-bd2e-4997-9ddb-c335c125f151   Power Systems Virtual Server-DAL10b
$

上記で取得したCRNを指定し、操作対象のWorkspaceを指定
$ ibmcloud pi ws target crn:v1:bluemix:public:power-iaas:dal10:a/039dbe6794084c7cb514a276dd2345da:d3bf8a93-bd2e-4997-9ddb-c335c125f151::
Targeting service crn:v1:bluemix:public:power-iaas:dal10:a/039dbe6794084c7cb514a276dd2345da:d3bf8a93-bd2e-4997-9ddb-c335c125f151::...
$

ボリューム一覧。 IDがUsage画面のConsumer IDと紐づいています。
$ ibmcloud pi vol list
Listing volumes under account xxx as user xxxxxxxxxxx...
ID                                     Name                                     Address
4b5d1141-d582-4344-a2db-d0e2fd0b2641   tmgw-dal10b-a-8115dc79-0000fcfb-boot-0   /pcloud/v1/cloud-instances/d3bf8a93-bd2e-4997-9ddb-c335c125f151/volumes/4b5d1141-d582-4344-a2db-d0e2fd0b2641
26af7ce3-a896-4201-8dc5-3b59e402211f   tmgw-                                    /pcloud/v1/cloud-instances/d3bf8a93-bd2e-4997-9ddb-c335c125f151/volumes/26af7ce3-a896-4201-8dc5-3b59e402211f
2c098468-a5b5-42cd-bc0d-3f1fac15c687   tmgw-i-b0951cc5-0000ae6b-boot-0          /pcloud/v1/cloud-instances/d3bf8a93-bd2e-4997-9ddb-c335c125f151/volumes/2c098468-a5b5-42cd-bc0d-3f1fac15c687
$

サーバー(LPAR)一覧。 IDがUsage画面のConsumer IDと紐づいています。
$ ibmcloud pi ins list
Listing instances under account xxx as user xxxxxxxxxxxxx...
ID                                     Name              Path
8115dc79-a1b5-4357-9c79-6f04561ce180   tmgw-dal10b-aix   /pcloud/v1/cloud-instances/04cd666cd4c145338e6b82d45be394dd/pvm-instances/8115dc79-a1b5-4357-9c79-6f04561ce180
$ 

以上

2
1
1

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
2
1

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?