이 페이지의 일부 또는 전체 정보는 S3NS의 신뢰할 수 있는 클라우드에 적용되지 않을 수 있습니다.
VM의 UUID 가져오기
이 문서에서는 VM 운영체제와 관련된 도구를 사용하여 가상 머신(VM) 인스턴스의 범용 고유 식별자(UUID)를 가져오는 방법을 설명합니다.
VM마다 다음 속성이 있는 UUID가 있습니다.
Compute Engine VM 간에 고유합니다.
VM의 프로젝트 ID, 영역, 이름에서 생성됩니다.
VM 생애 동안 안정적입니다. VM이 삭제되어 동일한 프로젝트 및 영역에 동일한 이름으로 다시 생성되면 VM은 동일한 UUID를 수신합니다.
2014년 10월 30일 이후에 만든 VM에만 UUID를 사용할 수 있습니다. 이 날짜 이전에 생성된 VM의 경우 Compute Engine이 UUID를 할당할 수 있도록 VM을 다시 만듭니다.
VM의 UUID를 가져오려면 VM의 운영체제에 해당하는 명령어를 실행합니다.
Linux
Linux VM에서 다음 dmidecode
명령어를 실행합니다.
sudo dmidecode -t system | grep UUID
다음과 비슷한 응답을 확인합니다.
UUID: 3748eb17-a207-5bc3-aa4f-3113a1b9409d
Windows(Cmd.exe)
Windows VM의 명령 프롬프트에서 다음 wmic
명령어를 실행합니다.
wmic path win32_computersystemproduct get uuid
다음과 비슷한 응답을 확인합니다.
UUID
81CBB42C-73A0-9660-6C7D-2FE94627F3A3
Windows(PowerShell)
PowerShell에서 다음 Windows Management Instrumentation(WMI) 명령어를 실행합니다.
(Get-WmiObject -Class Win32_ComputerSystemProduct).UUID
다음과 비슷한 응답을 확인합니다.
81CBB42C-73A0-9660-6C7D-2FE94627F3A3
달리 명시되지 않는 한 이 페이지의 콘텐츠에는 Creative Commons Attribution 4.0 라이선스에 따라 라이선스가 부여되며, 코드 샘플에는 Apache 2.0 라이선스에 따라 라이선스가 부여됩니다. 자세한 내용은 Google Developers 사이트 정책을 참조하세요. 자바는 Oracle 및/또는 Oracle 계열사의 등록 상표입니다.
최종 업데이트: 2025-08-18(UTC)
[[["이해하기 쉬움","easyToUnderstand","thumb-up"],["문제가 해결됨","solvedMyProblem","thumb-up"],["기타","otherUp","thumb-up"]],[["필요한 정보가 없음","missingTheInformationINeed","thumb-down"],["너무 복잡함/단계 수가 너무 많음","tooComplicatedTooManySteps","thumb-down"],["오래됨","outOfDate","thumb-down"],["번역 문제","translationIssue","thumb-down"],["샘플/코드 문제","samplesCodeIssue","thumb-down"],["기타","otherDown","thumb-down"]],["최종 업데이트: 2025-08-18(UTC)"],[[["This guide provides instructions on how to retrieve the Universally Unique Identifier (UUID) of a virtual machine (VM) instance using operating system-specific tools."],["Each Compute Engine VM has a unique and stable UUID, which is generated from the VM's project ID, zone, and name, and remains consistent throughout the VM's lifetime."],["For Linux VMs, you can use the `dmidecode` command to obtain the UUID, while for Windows VMs, you can use either the `wmic` command in the Command Prompt or a Windows Management Instrumentation (WMI) command in PowerShell."],["VMs created before October 30, 2014, do not have UUIDs and will require recreation to be assigned one."]]],[]]