가상 호스트 관리자 및 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.

절차: Amazon EC2 VHM 생성
  1. SUSE Multi-Linux Manager Web UI에서 시스템  가상 호스트 관리자로 이동합니다.

  2. Click Create and select Amazon EC2 from the drop-down menu.

  3. In the Add an Amazon EC2 Virtual Host Manager section, use these parameters:

    • In the Label field, type a custom name for your VHM.

    • In the Access Key ID field, type the access key ID provided by Amazon.

    • In the Secret Access Key field, type the secret access key associated with the Amazon instance.

    • In the Region field, type the region to use.

    • In the Zone field, 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 영역.

  4. 생성을 클릭하여 변경 사항을 저장하고 VHM을 생성합니다.

  5. On the Virtual Host Managers page, select the new VHM.

  6. On the Properties page, 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 인스턴스 및 주소를 설명할 수 있는 권한이 필요합니다. 이러한 권한을 부여할 수 있는 한 가지 방법은 이 작업과 관련된 새 IAM 사용자(ID 및 액세스 관리)를 생성하고 다음과 같이 정책을 생성한 후 사용자에게 연결하는 것입니다.

{
    "버전": "2012-10-17",
    "설명":[
        {
            "효과": "허용",
            "동작": [
                "ec2:DescribeAddresses",
                "ec2:DescribeInstances"
            ],
            "리소스": "*"
        }
    ]
}

특정 영역에 대한 액세스를 제한하여 권한을 자세하게 제한할 수 있습니다. 자세한 내용은 https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/ExamplePolicies_EC2.html#iam-example-read-only를 참조하십시오.