--- title: "Metadata 개요" slug: "compute-vmetadata" tags: ["Metadata", "overview"] updated: 2026-10-22T10:47:10Z published: 2026-10-22T10:47:10Z canonical: "api-gov.ncloud-docs.com/compute-vmetadata" --- > ## Documentation Index > Fetch the complete documentation index at: https://api-gov.ncloud-docs.com/llms.txt > Use this file to discover all available pages before exploring further. # Metadata 개요 VPC 환경에서 이용 가능합니다. ## 개요 실행중인 서버 인스턴스를 관리하는 데 사용될 수 있는 서버 인스턴스 관련 데이터를 제공합니다. 또한 서버 인스턴스에 부여된 역할 (Role) 에 대한 정보를 조회하고 해당 역할 (Role) 에 대한 임시 Access Key (STS) 를 발급 받을 수 있습니다. 각 경로 호출의 결과로는 하위 항목의 리스트를 라인 구분자 (\n) 로 구분하여 나열하거나, 또는 해당 경로에 해당하는 결과 정보가 될 수 있습니다. 서버 인스턴스에 직접 액세스할 수 있는 모든 사용자와 서버 인스턴스에서 실행 중인 모든 소프트웨어는 Metadata에 접근할 수 있으므로 역할 (Role) 설정 등에 주의가 필요합니다. 리소스가 없는 경우 `404 - Not Found HTTP` 오류 코드가 반환됩니다. HTTP 방식의 호출을 통해서 이루어집니다. ## 공통 설정 ### API URL ``` GET http://169.254.169.254/ ``` ### 오류 응답 ``` [root@test-server ~]# curl -i http://169.254.169.254/nonexistent-path HTTP/1.1 404 404 Date: Mon, 21 Dec 2020 23:19:37 GMT Server: Apache Referrer-Policy: unsafe-url Connection: close Transfer-Encoding: chunked Content-Type: text/plain;charset=UTF-8 Path Not found. [root@test-server ~]# ``` ## 카테고리 | 호출 경로 | 설명 | | --- | --- | | [GET /](/docs/compute-vmetadata-version) | 사용 가능한 버전 리스트 조회 | | [GET /{version}/meta-data/](/docs/compute-vmetadata-serverdata) | 서버 인스턴스 관련 정보 조회 | | [GET /{version}/meta-data/iam](/docs/compute-vmetadata-roledata) | 서버 인스턴스에 부여된 역할 (Role) 관련 정보 조회 |