createLaunchConfiguration
    • PDF

    createLaunchConfiguration

    • PDF

    Article summary

    The latest service changes have not yet been reflected in this content. We will update the content as soon as possible. Please refer to the Korean version for information on the latest updates.

    Can be used in a VPC environment.

    Summary

    Create Launch Configurations.

    Request

    To create a launch configuration in XEN/RHV/KVM hypervisor type, use serverImageNo and serverSpecCode.
    If you use serverImageProductCode and serverProductCode, you can only create a launch configuration in XEN/RHV hypervisor type.

    Request Parameters

    Parameter nameRequirement statusTypeRestrictionsDescription
    regionCodeNoStringRegion code
    You can decide the region in which an Launch Configuration will be created.
    You can obtain the regionCode through the getRegionList action.
    Default: Select the first region of the getRegionList search results
    serverImageProductCodeConditionalStringServer image product code
    You can set to use a new server image when creating a server with scale-out.
    One of the server image product code (serverImageProductCode) and member service image instance number (memberServerImageInstanceNo) must be entered.
    You can obtain the serverImageProductCode through the getServerImageProductList action.
    memberServerImageInstanceNoConditionalStringMember server image instance number
    You can set to use a server image created directly when creating a server with scale-out.
    One of the server image product code (serverImageProductCode) and member service image instance number (memberServerImageInstanceNo) must be entered.
    You can obtain the memberServerImageInstanceNo through the getMemberServerImageInstanceList action.
    serverImageNoConditionalString- Server image number
    Entered when creating a launch configuration using a new server image
    You cannot use it with the member server image instance number (memberServerImageInstanceNo) and the server image product code (serverImageProductCode) at the same time
    serverImageNo can be obtained through the getServerImageList action
    serverProductCodeNoStringServer product code
    You can decide the server specifications when creating a server with scale-out.
    serverProductCode can be obtained through the getServerProductList action.
    Default: The minimum specifications are selected. The minimum specifications are
    determined in the order of memory (1), CPU (2), default block storage size (3) and disk type (NET) (4).
    serverSpecCodeConditionalString- Server specification code
    Decides the specifications of the launch configuration to be created
    serverSpecCode can be obtained through the getServerSpecList action
    Available when using serverImageNo.
    Default: selects the minimum specifications. The minimum specifications are determined in the following order:
    1. memory, 2. CPU, 3. default block storage size, and 4. disk type (NET)
    isEncryptedVolumeNoBooleanEncryption status of the default block storage volume
    For RHV server image products, you can decide the encryption status of default block storage.
    Options : true | false
    Default : false
    initScriptNoNoStringInitialization script number
    When the server boots for the first time, it can execute the initialization script set by the user.
    You can obtain the initScriptNo through the getInitScriptList action.
    launchConfigurationNameNoStringMin : 1, Max : 255
    Only lower case English letters, numbers, and "-" are allowed, and it has to start with an English letter.
    It must end with an English letter or number.
    Launch Configuration name
    Default: NAVER Cloud Platform automatically grants it.
    loginKeyNameNoStringLogin key name
    You can decide a key that encrypts and decrypts a password when accessing a server instance.
    You can obtain the loginKeyName through the getLoginKeyList action.
    Default: Use the name of the most recently created login key.
    responseFormatTypeNoStringFormat type of the response results
    Options : xml | json
    Default : xml

    Response

    Response body

    Example

    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.