仮想ホストマネージャおよびAmazon Web Services
仮想ホストマネージャ(VHM)を使用して、Amazon Web Services (AWS)からインスタンスを収集できます。
VHMを使用すると、SUSE Multi-Linux Managerは、クラスタに関する情報を取得して報告できます。 VHMの詳細については、仮想ホストマネージャを参照してください。
1. Amazon EC2 VHMの作成
仮想ホストマネージャ(VHM)はSUSE Multi-Linux Managerサーバ上で動作します。
Ensure you have installed the virtual-host-gatherer-libcloud package on the SUSE Multi-Linux Manager Server.
-
SUSE Multi-Linux ManagerのWeb UIで、に移動します。
-
Click Create and select
Amazon EC2from the drop-down menu. -
In the
Add an Amazon EC2 Virtual Host Managersection, use these parameters:-
In the
Labelfield, type a custom name for your VHM. -
In the
Access Key IDfield, type the access key ID provided by Amazon. -
In the
Secret Access Keyfield, type the secret access key associated with the Amazon instance. -
In the
Regionfield, type the region to use. -
In the
Zonefield, type the zone your VM is located in. This is required for subscription matching to work. For more information about setting regions and zones, see SUSEのサポートとVMゾーン.
-
-
作成をクリックして変更を保存し、VHMを作成します。
-
On the
Virtual Host Managerspage, select the new VHM. -
On the
Propertiespage, click Refresh Data to inventory the new VHM.
評価されたオブジェクトおよびリソースを表示するには、に移動します。
Instances running on the Amazon public cloud report a UUID to the SUSE Multi-Linux Manager Server in the format of an i followed by seventeen hexadecimal digits:
I1234567890abcdef0
2. SUSEのサポートとVMゾーン
Public cloud providers use regions to define the physical geographic location of the datacenter providing virtual machines. For example, US-East, or Asia.
Regions are then further divided into zones. For example, the US-East region might contain zones called us-east-2a and us-east-2b, among others.
SUSE uses the zone of a virtual machine to determine the appropriate subscription to provide. If all of your VMs are provided by the same zone, you are within the terms and conditions of the 1-2 Virtual Machines subscription.
If your VMs are provided by different zones, even if they are within the same region, you might not meet the conditions of the 1-2 Virtual Machines subscription. In this case, check your subscription carefully.
|
BYOSインスタンス(Bring-your-own-subscription)の場合、インストールされているすべての製品がサブスクリプションマッチャに渡されます。 パブリッククラウドのインスタンスがPAYG (Pay-as-you-go)の場合、そのベース製品はサブスクリプションマッチャのカウントから除外されます。 インスタンスがPAYGであるかBYOSであるかに関する計算は、登録時またはハードウェア更新アクションの実行時に行われます。 |
詳細については、https://www.suse.com/products/terms_and_conditions.pdfを参照するか、SUSEにお問い合わせください。
3. 仮想ホストマネージャのAWS許可
セキュリティ上の理由から、タスクを実行するために可能な限り最小限の権限を常に付与してください。 AWSに接続するユーザに過度な許可を持つアクセスキーを使用することはお勧めしません。
SUSE Multi-Linux ManagerがAWSから必要な情報を収集するには、VHMにEC2インスタンスとアドレスを記述する許可が必要です。これを許可する1つの方法は、このタスクに固有の新しいIAMユーザ(IDおよびアクセス管理)を作成し、次のようにポリシーを作成して、ユーザにアタッチすることです。
{
"Version": "2012-10-17",
"Statement":[
{
"Effect": "Allow",
"Action": [
"ec2:DescribeAddresses",
"ec2:DescribeInstances"
],
"Resource": "*"
}
]
}
特定のリージョンへのアクセスを制限することで、許可をさらに制限できます。 詳細については、https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/ExamplePolicies_EC2.html#iam-example-read-onlyを参照してください。