다음을 통해 공유


Azure Arc에서 사용하도록 설정된 AKS용 Azure 하이브리드 혜택(Azure Stack HCI 23H2의 AKS)

적용 대상: Azure Stack HCI, 버전 23H2

Azure 하이브리드 혜택 클라우드에서 워크로드를 실행하는 비용을 크게 줄일 수 있는 프로그램입니다. Azure Arc에서 AKS용 Azure 하이브리드 혜택 사용하도록 설정하면 온-프레미스 라이선스의 가치를 최대화하고 추가 비용 없이 애플리케이션을 현대화할 수 있습니다.

Arc에서 사용하도록 설정된 AKS에 대한 Azure 하이브리드 혜택 무엇인가요?

Arc에서 사용하도록 설정된 AKS용 Azure 하이브리드 혜택 온-프레미스 또는 에지에서 Kubernetes를 실행하는 비용을 크게 줄일 수 있습니다. AKS 비용을 지불하기 위해 SA(Software Assurance)를 사용하여 온-프레미스 Windows Server 데이터 센터 또는 표준 라이선스를 적용할 수 있습니다. 각 Windows Server 코어 라이선스는 AKS의 1개 가상 코어에서 사용할 수 있습니다. AKS에 대한 혜택 활성화와 관련하여 유의해야 할 몇 가지 중요한 세부 정보가 있습니다.

  • AKS Arc에 대한 Azure 하이브리드 혜택 관리 클러스터(또는 AKS 호스트) 수준에서 사용하도록 설정됩니다. 워크로드 클러스터에 대한 이점을 사용하도록 설정할 필요가 없습니다.
  • Azure Stack HCI 또는 Windows Server 배포에 여러 AKS가 있는 경우 각 배포에 대해 개별적으로 Azure 하이브리드 혜택 사용하도록 설정해야 합니다.
  • 평가 기간 동안 AKS Arc 배포에서 Azure 하이브리드 혜택 사용하도록 설정하면 평가 기간이 무효화되지 않습니다. 혜택은 즉시 활성화되고 평가 기간이 끝날 때 적용됩니다.
  • AKS Arc를 다시 설치해도 혜택이 자동으로 복구되지는 않습니다. 새 배포에 대해 이 혜택을 다시 활성화해야 합니다.

Software Assurance 및 사용 가능한 계약에 대한 자세한 내용은 Software Assurance의 혜택을 참조하세요.

이 문서의 나머지 섹션에서는 Azure Stack HCI 또는 Windows Server의 AKS에 대해 이 혜택을 활성화하는 방법을 설명합니다.

Azure Stack HCI에 대한 Azure 하이브리드 혜택 사용하여 비용 절감을 최대화할 수 있습니다. 자세한 내용은 Azure Stack HCI에 대한 Azure 하이브리드 혜택 참조하세요.

클러스터를 설정할 때 Arc에서 사용하도록 설정된 AKS에 Azure 하이브리드 혜택 사용

경고

AKS Arc용 Azure 하이브리드 혜택 번들된 OEM 파트너 SKU에서 작동하지 않습니다. 사용하도록 설정하면 설정이 적용되지 않습니다.

클러스터를 만드는 동안 AKS에 Azure 하이브리드 혜택 사용하도록 설정하려면 를 실행할 az aksarc create때 플래그를 --enable-ahub 사용합니다.

az aksarc create -n <cluster name> -g <resource group> --custom-location <custom location> --enable-ahub

샘플 출력:

{
  "extendedLocation": { 
    "name": "<custom location>", 
    "type": "CustomLocation" 
  }, 
  "id": "/subscriptions/<subscription id>/resourceGroups/<resource group>/providers/Microsoft.Kubernetes/connectedClusters/<cluster name>/providers/Microsoft.HybridContainerService/provisionedClusterInstances/default", 
  "name": "default", 
  "properties": { 
    "agentPoolProfiles": [ 
      { 
        "osSku": "CBLMariner", 
        "osType": "Linux", 
        "vmSize": "Standard_A4_v2" 
      } 
    ], 
    "autoScalerProfile": { 
    }, 
    "cloudProviderProfile": { 
      "infraNetworkProfile": { 
        "vnetSubnetIds": [    ] 
      } 
    }, 
    "clusterVmAccessProfile": { 
      "authorizedIpRanges": null 
    }, 
    "controlPlane": { 
      "controlPlaneEndpoint": { 
        "hostIp": null 
      }, 
      "count": 1, 
      "vmSize": "Standard_A4_v2" 
    }, 
    "kubernetesVersion": "1.25.11", 
    "licenseProfile": { 
      "azureHybridBenefit": "True" 
    }, 
    "linuxProfile": { 
      "ssh": { 
        "publicKeys": [ 
          { 
            "keyData": "<ssh key>" 
          } 
        ] 
      } 
    }, 
    "networkProfile": { 
      "networkPolicy": "calico", 
      "podCidr": "10.244.0.0/16" 
    }, 
    "provisioningState": "Succeeded", 
    "status": { 
      "controlPlaneStatus": [ 
      ], 
      "currentState": "Succeeded", 
      "errorMessage": null, 
      "operationStatus": null 
    }, 
    "storageProfile": { 
      "nfsCsiDriver": { 
        "enabled": true 
      }, 
      "smbCsiDriver": { 
        "enabled": true 
      } 
    } 
  }, 
  "resourceGroup": "<resource group>", 
  "systemData": { 
  }, 
  "type": "microsoft.hybridcontainerservice/provisionedclusterinstances" 
}

기존 클러스터에서 AKS Arc에 Azure 하이브리드 혜택 사용

az aksarc update 플래그를 사용하여 --enable-ahub 명령을 실행하여 혜택을 사용하도록 설정하지 않고 이미 만든 클러스터에서 Arc에서 사용하도록 설정된 AKS에 대한 Azure 하이브리드 혜택 활성화합니다.

az aksarc update --name <cluster name> -g <resource group> --enable-ahub

AKS Arc에 대한 Azure 하이브리드 혜택 비활성화

AKS Arc에 대한 Azure 하이브리드 혜택 비활성화하려면 다음 명령을 실행합니다.

az aksarc update --name <cluster name> -g <resource group> --disable-ahub

샘플 출력:

{ 
"extendedLocation": { 
    "name": "<custom location>", 
    "type": "CustomLocation" 
  }, 
  "id": "/subscriptions/<subscription id>/resourceGroups/<resource group>/providers/Microsoft.Kubernetes/connectedClusters/<cluster name>/providers/Microsoft.HybridContainerService/provisionedClusterInstances/default", 
  "name": "default", 
  "properties": { 
    "agentPoolProfiles": [ 
      { 
        "osSku": "CBLMariner", 
        "osType": "Linux", 
        "vmSize": "Standard_A4_v2" 
      } 
    ], 
    "autoScalerProfile": { 
    }, 
    "cloudProviderProfile": { 
      "infraNetworkProfile": { 
        "vnetSubnetIds": [    ] 
      } 
    }, 
    "clusterVmAccessProfile": { 
      "authorizedIpRanges": null 
    }, 
    "controlPlane": { 
      "controlPlaneEndpoint": { 
        "hostIp": null 
      }, 
      "count": 1, 
      "vmSize": "Standard_A4_v2" 
    }, 
    "kubernetesVersion": "1.25.11", 
    "licenseProfile": { 
      "azureHybridBenefit": "False" 
    }, 
    "linuxProfile": { 
      "ssh": { 
        "publicKeys": [ 
          { 
            "keyData": "<ssh key>" 
          } 
        ] 
      } 
    }, 
    "networkProfile": { 
      "networkPolicy": "calico", 
      "podCidr": "10.244.0.0/16" 
    }, 
    "provisioningState": "Succeeded", 
    "status": { 
      "controlPlaneStatus": [ 
      ], 
      "currentState": "Succeeded", 
      "errorMessage": null, 
      "operationStatus": null 
    }, 
    "storageProfile": { 
      "nfsCsiDriver": { 
        "enabled": true 
      }, 
      "smbCsiDriver": { 
        "enabled": true 
      } 
    } 
  }, 
  "resourceGroup": "<resource group>", 
  "systemData": { 
  }, 
  "type": "microsoft.hybridcontainerservice/provisionedclusterinstances" 
}

Azure 하이브리드 혜택 대한 규정 준수 유지 관리

AKS Arc에 대한 Azure 하이브리드 혜택 활성화한 후에는 정기적으로 검사 준수를 유지해야 합니다. 실행 중인 단위의 인벤토리를 수행하고 있는 Software Assurance 라이선스에 대해 이를 검사 수 있습니다. 실행하는 AKS에 대한 Azure 하이브리드 혜택 있는 클러스터 수를 확인하려면 Microsoft Azure 청구서를 확인할 수 있습니다.

AKS Arc에 대한 Azure 하이브리드 혜택 자격을 얻으려면 Azure Stack HCI 또는 Windows Server 2019/2022와 같은 자사 Microsoft 인프라에서 AKS를 실행하고 기본 인프라를 다루는 적절한 라이선스가 있어야 합니다. Software Assurance 기간 동안 AKS Arc에 대한 Azure 하이브리드 혜택 사용할 수 있습니다. Software Assurance 기간이 만료되면 Software Assurance와의 계약을 갱신하거나 Azure 하이브리드 혜택 기능을 비활성화해야 합니다.

AKS Arc에 대한 Azure 하이브리드 혜택 Microsoft Azure 청구서에 적용되는지 확인합니다.

AKS Arc에 대한 Azure 하이브리드 혜택 Microsoft Azure 청구서에 적용되었는지 확인하려면 Azure Portal Cost Management 및 Billing을 참조하세요. 청구는 실시간으로 적용되지 않습니다. Azure 하이브리드 혜택 활성화한 시간부터 청구서에 표시될 때까지 몇 시간이 지연됩니다.

다음 단계