createLaunchConfiguration
    • PDF

    createLaunchConfiguration

    • PDF

    Article summary

    Available in VPC

    Overview

    Create a Launch Configuration.

    Request

    To create a launch configuration with an XEN/RHV/KVM hypervisor-type server image, use serverImageNo and serverSpecCode.
    In addition, using serverImageProductCode and serverProductCode, you can only create a server image of the XEN/RHV hypervisor type.

    Request parameter

    Parameter nameRequiredTypeRestrictionsDescription
    regionCodeNoString- Region code
    Determine the Region in which the launch configuration will be created
    You can obtain regionCode through the getRegionList action
    Default: Select the first Region of the getRegionList search results
    serverImageProductCodeConditionalString- Server image product code
    When creating a server with scale-out, you can set it to use a new server image
    You must enter either the server image product code (serverImageProductCode) or the member server image instance number (memberServerImageInstanceNo)
    serverImageProductCode can be obtained through the getServerImageProductList action
    memberServerImageInstanceNoConditionalString- Member server image instance number
    When creating a server with scale-out, you can set it to use the server image you created yourself
    You must enter either the server image product code (serverImageProductCode) or the member server image instance number (memberServerImageInstanceNo)
    memberServerImageInstanceNo can be obtained through the getMemberServerImageInstanceList action
    serverImageNoConditionalString- Server image number
    When creating a server with scale-out, you can set it to use a new server image
    Member server image instance number (memberServerImageInstanceNo) and server image product code (serverImageProductCode) can't be used at the same time
    serverImageNo can be obtained through the getServerImageList action
    serverProductCodeNoString- Server product code
    Determine the server specifications when creating a server with scale-out
    serverProductCode can be obtained through the getServerProductList action
    Default: The minimum specification is selected
    The minimum specifications are determined in the following order:
    determined in the order of memory (1), CPU (2), default block storage size (3), and disk type (NET) (4).
    serverSpecCodeConditionalString- Server specification code
    Determine the server specifications when creating a server with scale-out
    serverSpecCode can be obtained through the getServerSpecList action
    Available when using serverImageNo
    Default: Selected as the minimum specifications The minimum specifications are determined in the following order:
    1. determined in the order of memory (1), CPU (2), default block storage size (3), and disk type (NET) (4).
    isEncryptedVolumeNoBoolean- Encryption status of the default block storage volume
    For RHV server image products, it decides the encryption status of the default block storage
    Options: true | false
    Default: false
    initScriptNoNoString- Initialization script number
    When the server is booted for the first time, the initialization script set by the user can be run
    initScriptNo can be obtained through the getInitScriptList action
    launchConfigurationNameNoStringMin: 1, Max: 255
    Only lowercase English letters, numbers, and "-" are allowed, and it must start with an English letter
    It must end with an English letter or number.
    - Launch configuration name
    Default: NAVER Cloud Platform automatically grants it
    loginKeyNameNoString- Login key name
    Decide a key that encrypts and decrypts the password when accessing server instances
    loginKeyName can be obtained through the getLoginKeyList action
    Default: Use the name of the most recently created login key
    responseFormatTypeNoString- Format type of the response result
    Options: xml | json
    Default: xml

    Response

    Response body

    Examples

    Request example

    GET {API_URL}/createLaunchConfiguration
    ?regionCode=KR
    &serverImageProductCode=SW.VSVR.OS.LNX64.CNTOS.0703.B050
    &serverProductCode=SVR.VSVR.STAND.C002.M008.NET.SSD.B050.G002
    &isEncryptedVolume=false
    &launchConfigurationName=test-***
    

    Response example

    <createLaunchConfigurationResponse>
      <requestId></requestId>
      <returnCode>0</returnCode>
      <returnMessage>success</returnMessage>
      <totalRows>1</totalRows>
      <launchConfigurationList>
        <launchConfiguration>
          <regionCode>KR</regionCode>
          <launchConfigurationNo>***163</launchConfigurationNo>
          <launchConfigurationName>test-***</launchConfigurationName>
          <serverImageProductCode>SW.VSVR.OS.LNX64.CNTOS.0703.B050</serverImageProductCode>
          <memberServerImageInstanceNo></memberServerImageInstanceNo>
          <serverProductCode>SVR.VSVR.STAND.C002.M008.NET.SSD.B050.G002</serverProductCode>
          <loginKeyName>test-***</loginKeyName>
          <createDate>2020-12-07T13:08:50+0900</createDate>
          <launchConfigurationStatus>
            <code>CREAT</code>
            <codeName>Created</codeName>
          </launchConfigurationStatus>
          <initScriptNo></initScriptNo>
          <isEncryptedVolume>false</isEncryptedVolume>
        </launchConfiguration>
      </launchConfigurationList>
    </createLaunchConfigurationResponse>
    

    Was this article helpful?

    Changing your password will log you out immediately. Use the new password to log back in.
    First name must have atleast 2 characters. Numbers and special characters are not allowed.
    Last name must have atleast 1 characters. Numbers and special characters are not allowed.
    Enter a valid email
    Enter a valid password
    Your profile has been successfully updated.