본문 바로가기
GCP

GCE(Google Compute Engine) Windows OS 라이센스 인증

by misankim 2023. 5. 6.

GCE(Google Compute Engine) Windows OS 라이센스 인증

kms.windows.googlecloud.com 에 대한 액세스 구성
https://cloud.google.com/compute/docs/instances/windows/creating-managing-windows-instances#kms-server

serverfault - GCP - Windows 정품 인증
https://serverfault.com/questions/1003119/gcp-windows-activation


# 에러 발생 상황

gcp 방화벽에서 windows 인스턴스의 아웃바운드를 제한하고자 하는 경우
-> gcp windows kms 서버와 통신이 제한되어 인증 되지 않은 것으로 표시됨

에러 메시지

We can’t activate Windows on this device as we can’t connect to your organization’s activation server. Make sure that you’re connected to your organization’s network and try again. If you continue having problems with activation, contact your organization’s support person.



# 해결
-> kms.windows.googlecloud.com(35.190.247.13) 서버의 1688 포트로 아웃바운드 가능하도록 방화벽 구성

방화벽 허용 후 인증 재시도

cscript \windows\system32\slmgr.vbs /ato



kms 인증서버 설정(이미 설정되어 있어 설정할 필요 없음)

cscript \windows\system32\slmgr.vbs /skms 35.190.247.13:1688

 

'GCP' 카테고리의 다른 글

Cloud Functions 에서 VPC 내부 리소스 접근  (0) 2023.05.12
GCE Alias IP address  (0) 2023.05.06
Cloud CDN 으로 GCS(Google Cloud Storage) 오브젝트 호스팅  (0) 2023.05.02
GCP CloudSQL Proxy  (0) 2023.04.30
GCP CloudSQL IAM 인증  (0) 2023.04.30