

기계 번역으로 제공되는 번역입니다. 제공된 번역과 원본 영어의 내용이 상충하는 경우에는 영어 버전이 우선합니다.

# License Manager에서 자체 관리형 라이선스 공유
<a name="share-license-configuration"></a>

 AWS Resource Access Manager 를 사용하여 모든 AWS 계정 또는를 통해 자체 관리형 라이선스를 공유할 수 있습니다 AWS Organizations. 자세한 내용은 *AWS RAM 사용 설명서*의 [AWS 리소스 공유를 참조하세요](https://docs.aws.amazon.com/ram/latest/userguide/getting-started-sharing.html).

## AWS 조직과 자체 관리형 라이선스 공유
<a name="share-license-configuration-with-org"></a>

**사전 조건**  
이 절차를 완료하려면 AWS 조직을 License Manager와 연결해야 합니다. 자세한 내용은 [License Manager의 관리형 라이선스 설정](settings-managed-licenses.md) 단원을 참조하십시오.

**라이선스 공유**  
자체 관리형 라이선스를 AWS 조직과 공유하려면 다음 단계를 따르세요.

1. [https://console.aws.amazon.com/license-manager/](https://console.aws.amazon.com/license-manager/)에서 License Manager 콘솔을 엽니다.

1. 왼쪽 탐색 창에서 **자체 관리형 라이선스**를 선택합니다.

1. 자체 관리형 라이선스를 선택합니다.

1. **작업** 메뉴에서 ** AWS 조직 계정과 공유**를 선택합니다.

## 지원되는 계정 할당량
<a name="share-license-configuration-quotas"></a>

2023년 10월 14일 AWS License Manager 이전에에서 라이선스 공유를 활성화한 경우 License Manager가 조직 내에서 지원하는 최대 계정 수에 대한 할당량은 새 기본 최대값보다 작습니다. 다음 섹션에 AWS RAM 제공된에 대한 API 작업을 사용하여이 할당량을 늘릴 수 있습니다. License Manager의 기본 할당량에 대한 자세한 내용은 *AWS 일반 참조 설명서*의 [라이선스 사용 할당량](https://docs.aws.amazon.com/general/latest/gr/licensemanager.html#limits_license-manager)을 참조하세요.

### 사전 조건
<a name="share-license-configuration-quotas-prerequisites"></a>

아래 절차를 수행하려면 다음 권한이 있는 조직의 관리 계정에 보안 주체로 로그인해야 합니다.
+ `ram:EnableSharingWithAwsOrganization`
+ `iam:CreateServiceLinkedRole`
+ `organizations:enableAWSServiceAccess`
+ `organizations:DescribeOrganization`

### 지원되는 계정 할당량 늘리기
<a name="share-license-configuration-quotas-increase"></a>

다음 절차를 통해 `Number of accounts per organization for License Manager`에 대한 현재 할당량을 현재 기본 최대값으로 늘릴 수 있습니다.

**License Manager의 지원되는 계정 할당량을 늘리려면**

1. [https://docs.aws.amazon.com/cli/latest/reference/organizations/describe-organization.html](https://docs.aws.amazon.com/cli/latest/reference/organizations/describe-organization.html) AWS CLI 명령을 사용하여 작업을 사용하여 조직의 ARN을 확인합니다.

   ```
   aws organizations describe-organization
   
   {
   	"Organization": {
   		"Id": "o-abcde12345",
   		"Arn": "arn:aws:organizations::111122223333:organization/o-abcde12345",
   		"FeatureSet": "ALL",
   		"MasterAccountArn": "arn:aws:organizations::111122223333:account/o-abcde12345/111122223333",
   		"MasterAccountId": "111122223333",
   		"MasterAccountEmail": "name+orgsidentifier@example.com",
   		"AvailablePolicyTypes": [
   				{
   					"Type": "SERVICE_CONTROL_POLICY",
   					"Status": "ENABLED"
   				}
   		]
   	}
   }
   ```

1. [https://docs.aws.amazon.com/cli/latest/reference/ram/get-resource-shares.html](https://docs.aws.amazon.com/cli/latest/reference/ram/get-resource-shares.html) AWS CLI 명령을 사용하여 작업을 사용하여 조직의 ARN을 확인합니다.

   ```
   aws ram  get-resource-shares --resource-owner SELF --tag-filters tagKey=Service,tagValues=LicenseManager --region {{us-east-1}}
   
   {
   	"resourceShares": [
   		{
   				"resourceShareArn": "arn:aws:ram:us-east-1:111122223333:resource-share/a1b2c3d4-5678-90ab-cdef-EXAMPLE11111",
   				"name": "licenseManagerResourceShare-111122223333",
   				"owningAccountId": "111122223333",
   				"allowExternalPrincipals": true,
   				"status": "ACTIVE",
   				"tags": [
   					{
   						"key": "Service",
   						"value": "LicenseManager"
   					}
   				],
   				"creationTime": "2023-10-04T12:52:10.021000-07:00",
   				"lastUpdatedTime": "2023-10-04T12:52:10.021000-07:00",
   				"featureSet": "STANDARD"
   		}
   	]
   }
   ```

1. [https://docs.aws.amazon.com/cli/latest/reference/ram/enable-sharing-with-aws-organization.html](https://docs.aws.amazon.com/cli/latest/reference/ram/enable-sharing-with-aws-organization.html) AWS CLI 명령을 사용하여 AWS RAM다음과 리소스 공유를 활성화합니다.

   ```
   aws ram enable-sharing-with-aws-organization
   
   {
   	"returnValue": true
   }
   ```

   [https://docs.aws.amazon.com/cli/latest/reference/organizations/list-aws-service-access-for-organization.html](https://docs.aws.amazon.com/cli/latest/reference/organizations/list-aws-service-access-for-organization.html) AWS CLI 명령을 사용하여 Organizations 목록 서비스 보안 주체가 License Manager에 대해 활성화되어 있는지 확인하고 AWS RAM다음을 수행할 수 있습니다.

   ```
   aws organizations list-aws-service-access-for-organization
   
   {
   	"EnabledServicePrincipals": [
   		{
   				"ServicePrincipal": "license-manager.amazonaws.com",
   				"DateEnabled": "2023-10-04T12:50:59.814000-07:00"
   		},
   		{
   				"ServicePrincipal": "license-manager.member-account.amazonaws.com",
   				"DateEnabled": "2023-10-04T12:50:59.565000-07:00"
   		},
   		{
   				"ServicePrincipal": "ram.amazonaws.com",
   				"DateEnabled": "2023-10-04T13:06:34.771000-07:00"
   		}
   	]
   }
   ```
**중요**  
 가 조직의이 작업을 완료하는 데 최대 6시간 AWS RAM 이 걸릴 수 있습니다. 이 프로세스를 완료해야 계속할 수 있습니다.

1. [https://docs.aws.amazon.com/cli/latest/reference/ram/associate-resource-share.html](https://docs.aws.amazon.com/cli/latest/reference/ram/associate-resource-share.html) AWS CLI 명령을 사용하여 License Manager 리소스 공유를 조직과 연결합니다.

   ```
   aws ram associate-resource-share --resource-share-arn arn:aws:ram:{{us-east-1}}:{{111122223333}}:resource-share/{{a1b2c3d4-5678-90ab-cdef-EXAMPLE11111}} --principals arn:aws:organizations::{{111122223333}}:organization/{{o-abcde12345}} --region {{us-east-1}}
   
   {
   	"resourceShareAssociations": [
   		{
   				"resourceShareArn": "arn:aws:ram:us-east-1:111122223333:resource-share/a1b2c3d4-5678-90ab-cdef-EXAMPLE11111",
   				"associatedEntity": "arn:aws:organizations::111122223333:organization/o-abcde12345",
   				"associationType": "PRINCIPAL",
   				"status": "ASSOCIATING",
   				"external": false
   		}
   	]
   }
   ```

   [https://docs.aws.amazon.com/cli/latest/reference/ram/get-resource-share-associations.html](https://docs.aws.amazon.com/cli/latest/reference/ram/get-resource-share-associations.html) AWS CLI 명령을 사용하여 리소스 공유 연결의 `status`가 인지 확인할 수 있습니다. `ASSOCIATED` 

   ```
   aws ram get-resource-share-associations --association-type "PRINCIPAL" --principal arn:aws:organizations::{{111122223333}}:organization/{{o-abcde12345}}--resource-share-arns arn:aws:ram:{{us-east-1}}:{{111122223333}}:resource-share/{{a1b2c3d4-5678-90ab-cdef-EXAMPLE11111}} --region {{us-east-1}}
   				
   {
   	"resourceShareAssociations": [
   		{
   				"resourceShareArn": "arn:aws:ram:us-east-1:111122223333:resource-share/a1b2c3d4-5678-90ab-cdef-EXAMPLE11111",
   				"resourceShareName": "licenseManagerResourceShare-111122223333",
   				"associatedEntity": "arn:aws:organizations::111122223333:organization/o-abcde12345",
   				"associationType": "PRINCIPAL",
   				"status": "ASSOCIATED",
   				"creationTime": "2023-10-04T13:12:33.422000-07:00",
   				"lastUpdatedTime": "2023-10-04T13:12:34.663000-07:00",
   				"external": false
   		}
   	]
   }
   ```