--- title: "createLaunchConfiguration" slug: "compute-vautoscaling-launchconfiguration-createlaunchconfiguration" tags: ["Auto Scaling", "Launch Configuration"] updated: 2026-09-17T09:16:18Z published: 2026-09-17T09:16:18Z canonical: "api.ncloud-docs.com/compute-vautoscaling-launchconfiguration-createlaunchconfiguration" --- > ## Documentation Index > Fetch the complete documentation index at: https://api.ncloud-docs.com/llms.txt > Use this file to discover all available pages before exploring further. # createLaunchConfiguration VPC 환경에서 이용 가능합니다. Launch Configuration을 생성합니다. ## 요청 요청 형식을 설명합니다. 요청 형식은 다음과 같습니다. | 메서드 | URI | | --- | --- | | GET \| POST | /vautoscaling/v2/createLaunchConfiguration | 참고 가이드는 GET 방식 기준으로 안내합니다. POST 방식의 호출 테스트는 네이버 클라우드 플랫폼 콘솔의 API Gateway 서비스에서 Swagger를 통해서 가능합니다. ### 요청 헤더 Auto Scaling API에서 공통으로 사용하는 헤더에 대한 정보는 [Auto Scaling 요청 헤더](/docs/compute-vautoscaling#%EC%9A%94%EC%B2%AD%ED%97%A4%EB%8D%94)를 참조해 주십시오. ### 요청 쿼리 파라미터 요청 쿼리 파라미터에 대한 설명은 다음과 같습니다. | 필드 | 타입 | 필수 여부 | 설명 | | --- | --- | --- | --- | | `regionCode` | String | Optional | 리전 코드 - [getRegionList](/docs/compute-vserver-server-common-getregionlist) 참조 - 조회 결과의 첫 번째 리전 (기본값) | | `memberServerImageInstanceNo` | String | Conditional | 서버 이미지 인스턴스 번호 - 사용자가 생성한 서버 이미지로 서버 생성(Scale-out) 시 입력 - `memberServerImageInstanceNo`, `serverImageNo`, `serverImageProductCode` 중 하나는 필수 입력 - [getMemberServerImageInstanceList](/docs/compute-vserver-serverimage-getmemberserverimageinstancelist) 참조 | | `serverImageNo` | String | Conditional | 서버 이미지 번호 - 신규 서버 이미지로 서버 생성(Scale-out) 시 입력 (KVM, RHV, XEN) - `memberServerImageInstanceNo`, `serverImageNo`, `serverImageProductCode` 중 하나는 필수 입력 - [getServerImageList](/docs/compute-vserver-serverimage-getServerImageList) 참조 | | `serverImageProductCode` | String | Conditional | 서버 이미지 상품 코드 - 신규 서버 이미지로 서버 생성(Scale-out) 시 입력 (RHV, XEN) - `memberServerImageInstanceNo`, `serverImageNo`, `serverImageProductCode` 중 하나는 필수 입력 - [getServerImageProductList](/docs/compute-vserver-server-common-getserverimageproductlist) 참조 | | `serverSpecCode` | String | Conditional | 서버 스펙 코드 - `serverImageNo` 사용 시 서버 스펙 설정 - 기본값: 최소 사양(메모리, CPU, 기본 블록 스토리지 용량, 디스크 유형(NET) 순) - [getServerSpecList](/docs/compute-vserver-server-common-getserverspeclist) 참조 | | `serverProductCode` | String | Conditional | 서버 상품 코드 - `serverImageProductCode` 사용 시 서버 스펙 설정 - 기본값: 최소 사양(메모리, CPU, 기본 블록 스토리지 용량, 디스크 유형(NET) 순) - [getServerProductList](/docs/compute-vserver-server-common-getserverproductlist) 참조 | | `isEncryptedVolume` | Boolean | Optional | 기본 블록 스토리지 볼륨 암호화 여부 - `true` \| `false` (기본값) - `true`: 암호화 - `false`: 암호화 안 함 - RHV 서버 이미지에서만 설정 가능 | | `initScriptNo` | String | Optional | 초기화 스크립트 번호 - 최초 부팅 시 사용자가 설정한 초기화 스크립트 실행 - [getInitScriptList](/docs/compute-vserver-initscript-getinitscriptlist) 참조 | | `launchConfigurationName` | String | Optional | Launch Configuration 이름 - 영문 소문자, 숫자, 특수 문자 '-'를 조합하여 1~255자 이내로 입력 - 문자열의 시작은 영문 소문자, 마지막은 영문 소문자 또는 숫자로 구성 - 미입력 시 자동 생성 (기본값) | | `loginKeyName` | String | Optional | 인증키 이름 - [getLoginKeyList](/docs/compute-vserver-server-loginkey-getloginkeylist) 참조 - 기본값: 최근 생성 인증키 | | `responseFormatType` | String | Optional | 응답 데이터의 형식 - `xml` (기본값) \| `json` | 참고 요청 쿼리 파라미터 입력 시 다음 내용을 참고해 주십시오. - 신규 서버 이미지로 서버를 생성(Scale-out)하는 경우, 서버 이미지의 하이퍼바이저 타입에 따라 사용 가능한 필드가 다음과 같이 상이합니다. - KVM: `serverImageNo`와 `serverSpecCode` 사용 - XEN: `serverImageNo`와 `serverSpecCode` 또는 `serverImageProductCode`와 `serverProductCode` 사용 - RHV: `serverImageNo`와 `serverSpecCode` 또는 `serverImageProductCode`와 `serverProductCode` 사용 ### 요청 예시 요청 예시는 다음과 같습니다. ``` curl --location --request GET 'https://ncloud.apigw.ntruss.com/vautoscaling/v2/createLaunchConfiguration ?regionCode=KR &serverImageNo=100614134 &serverProductCode=SVR.VSVR.CPU.C002.M004.G003 &launchConfigurationName=launchconfigtest &responseFormatType=json' \ --header 'x-ncp-apigw-timestamp: {Timestamp}' \ --header 'x-ncp-iam-access-key: {Access Key}' \ --header 'x-ncp-apigw-signature-v2: {API Gateway Signature}' ``` ## 응답 응답 형식을 설명합니다. ### 응답 바디 응답 바디에 대한 설명은 다음과 같습니다. | 필드 | 타입 | 필수 여부 | 설명 | | --- | --- | --- | --- | | `createLaunchConfigurationResponse` | Object | - | 응답 결과 - [LaunchConfigurationList](/docs/common-vapidatatype-launchconfigurationlist) 참조 | | `createLaunchConfigurationResponse.requestId` | String | - | 요청에 대한 아이디 - UUID 형식 | | `createLaunchConfigurationResponse.returnCode` | String | - | 응답 코드 | | `createLaunchConfigurationResponse.returnMessage` | String | - | 응답 메시지 | ### 응답 상태 코드 Auto Scaling API에서 공통으로 사용하는 응답 상태 코드에 대한 정보는 [Auto Scaling 응답 상태 코드](/docs/compute-vautoscaling#%EC%9D%91%EB%8B%B5%EC%83%81%ED%83%9C%EC%BD%94%EB%93%9C)를 참조해 주십시오. ### 응답 예시 응답 예시는 다음과 같습니다. ``` { "createLaunchConfigurationResponse": { "totalRows": 1, "launchConfigurationList": [ { "regionCode": "KR", "launchConfigurationNo": "5994", "launchConfigurationName": "launchconfigtest", "serverImageProductCode": "SW.VSVR.OS.LNX64.UBNTU.SVR24.G003", "serverProductCode": "SVR.VSVR.CPU.C002.M004.G003", "loginKeyName": "ncp-loginkey", "createDate": "2025-06-12T14:15:45+0900", "launchConfigurationStatus": { "code": "CREAT", "codeName": "Created" }, "initScriptNo": "", "isEncryptedVolume": false, "serverImageNo": "100614134", "osInformation": "ubuntu-24.04", "serverSpecNo": "1916", "serverSpecCode": "ci2-g3", "serverSpecDescription": "vCPU 2EA, Memory 4GB" } ], "requestId": "2d7f87e6-****-****-****-94b87f5f5500", "returnCode": "0", "returnMessage": "success" } } ```