Skip to main content

Create and connect instance

info

This guide contains information about GPU and NPU instances.
Video transcoding instance is provided in Virtual Machine. For more details, refer to Virtual Machine > Create and connect instance.

Create instance

Instances are virtualized hardware resources that configure servers of different instance types. Here's how to create an instance in GPU:

  1. Go to KakaoCloud Console > Beyond Compute Service > GPU.

  2. In the Instance menu, click the [Create instance] button.

  3. Enter the required information and click the [Create] button.

    • Network connection after creating an instance can take up to 10 minutes.

    image. Create instance Create instance

    ItemDescription
    ① Basic informationName: Name of the instance
    - Duplicate instance names are allowed within the same project
    - When creating multiple instances, the name of the first instance created is used as the base name for the rest
    Count: Number of instances to create
    - Up to 10 instances can be created simultaneously
    - Creation limit is based on the maximum quota (limit per project)
       ᄂ kr-central-1: 100
       ᄂ kr-central-2: 500

    ️⚠️ Shared with the quota for Virtual Machine instances.
    Description (optional): Description of the instance (up to 100 characters)
    ② ImageImage to use
    - Default tab: Images officially provided by KakaoCloud
    - My Images tab: Images created by the account (see Manage image for details)
    ③ Instance typeInstance specifications
    - See Instance Specifications for details
    ④ VolumeVolume attached to the instance. Root Volume is displayed by default, with additional custom volumes available as needed.
    - Size: Can be created between 1 and 5,120GB
    - Type: Currently supports SSD only; more types will be supported in the future
    - Maximum IOPS: Preset IOPS based on volume size (edit option will be available in the future)
    - Delete with instance: Option to delete the volume when the instance is deleted
    ⑤ Key pairKey pair to apply to the instance
    - Click Create Key Pair to create and assign a new key pair

    ⚠️ The private key file for the created key pair cannot be downloaded again; ensure it is stored securely.
    ⚠️ You cannot connect to the instance without a key pair.
    ⑥ NetworkVPC: Network for the instance
    Network interface: Network interface to be connected when creating the instance; a new network interface can be created or an existing one can be attached
    Subnet: Select a subnet from the network
    - If a new VPC and subnet are needed, they must be created under KakaoCloud Console > VPC
    - A public IP can be assigned after instance creation via Associate public IP

    IP Allocation: Select how the network interface will be assigned an IP
    Security Group: Security group to apply to the instance

    Inbound/Outbound Rules
    - Inbound tab: Inbound rules applied to the security group above
    💡 To connect to the instance, you must allow the following inbound ports based on the selected image (required):
    ᄂ Linux: Allow TCP port 22
    ᄂ Windows: Allow TCP port 3389
    ᄂ Windows + MSSQL: Allow TCP ports 3389 and 1433

    - Outbound tab: Outbound rules, allowing all ports and protocols
    ⑦ Advanced settingsUser script: Script to execute user data at instance startup for initial environment setup (runs only on the first start)
    - Enter or upload a user data script or cloud-init command within 16KB
    - Script is copied and executed in /var/lib/cloud/instances
    - To check script execution logs, use the following commands:
    ᄂ Ubuntu: sudo cat /var/log/syslog or sudo journalctl -u cloud-final.service
    ᄂ CentOS: sudo cat /var/log/messages or sudo journalctl -u cloud-final.service

    ⚠️ Entering an incorrect user script or an uncompleted script may cause boot failure.

    CPU Multithreading: Option to optimize performance by assigning a single thread per CPU core
    - Recommended to disable for specific workloads like high-performance computing (HPC).
caution
  • If the created instance type is a Bare Metal Server with NVLink configuration (e.g., p2a.baremetal), you need to install Fabric Manager separately to utilize GPU features properly. Therefore, please install Fabric Manager as follows. For more details, refer to NVIDIA Fabric Manager Official Documentation > 2.6 Installation.
    • Ubuntu-based Linux: sudo apt-get install cuda-drivers-fabricmanager-[driver-branch]
    • RHEL-based Linux: sudo dnf module install nvidia-driver:[driver-branch]/fm
info
  • Volumes for which the Delete when instance is deleted option is not selected will remain as detached volumes and be charged for even if the instance is deleted. In that case, delete the instance directly from the volume list.
  • Instances created after January 16, 2023, are assigned hostnames based on the primary network interface's private IP (e.g., host-100-100-17-22).
  • Hostnames are updated during the networking stage to the host-IP format. For a short time post-creation, hostnames may appear as instance names.

Connect instance

Metadata must be retrieved to connect to an instance. If the instance's security group does not include the "default security group," define outbound rules for metadata retrieval in the custom security group. Refer to custom security groups for details.

Connect to Linux instance

Linux instances are connected using the SSH command. Check the related explanation by clicking GPU > Instance menu > [More] icon > Use SSH to connect. Set up the security group according to the OS image and prepare the connection with public/private IP.

OSPrerequisites
Linux/macOSInstall SSH client and use ssh command in the terminal.
Step 1. Prepare SSH client

Install an SSH client to use SSH commands. Preparation varies by OS:

OSPrerequisites
Linux/macOSInstall an SSH client and use the ssh command in the terminal
WindowsInstall OpenSSH client to use the ssh command in the command prompt (cmd) or install a separate SSH client such as PuTTY
Step 2. Connect via SSH

Use SSH commands to connect to the instance. Enter the path to your private key file, the username, and the address of the instance to establish a connection.

SSH connection command
ssh -i {PATH_TO_PRIVATE_KEY} {USERNAME}@{INSTANCE_IP}
CommandDescription
PATH_TO_PRIVATE_KEYPath to the private SSH key
USERNAMEUsername for connecting to the instance
INSTANCE_IPIP associated with the network interface connected to the instance
- Enter either a public or private IP according to the connection environment

Connect to Windows instance

To connect to a Windows instance, the Windows App application must be installed beforehand. Ensure the security group of the Windows instance is configured to allow RDP connections. Set the TCP/3389 port to allow access from the originating PC's IP address.

Step 1. Prepare RDP client

Install the Windows App application for RDP connections. For macOS, download and install it from the App Store.

Step 2. Connect via RDP

Retrieve the RDP connection details from the KakaoCloud console and use them to register the target Windows instance in the Windows App.

  1. Go to KakaoCloud Console > Beyond Compute Service > GPU.

  2. In the Instance menu, click the instance's [More] icon > Use RDP to connect. Review the detailed information required for the connection in the pop-up window.

    ItemDescription
    Public IPTCP 22 (default port)
    - A public IP must be assigned to connect from the PC to the Windows instance.
    - Assign the public IP via [More] icon > Associate public IP.
    UsernameFixed as administrator.
    PasswordClick the [Register key pair] button and upload the key pair file set during instance creation to retrieve the password.
  3. Launch the Windows App. From the left menu, select Devices, click the [+] icon at the top right, and choose Add PC. Enter the details of the Windows instance confirmed earlier as follows, and leave the remaining options as default:

    ItemDescription
    PC namePublic IP address assigned to the Windows instance.
    CredentialsSelect Add Credentials and input the Username and Password confirmed in Step 2.
  4. In the Devices menu, check the Saved PCs section in the center of the screen. The added Windows instance will appear in the list, and you can double-click to connect to the Windows instance.

  • It may take a few minutes after instance creation to complete the initial password setup required for the connection.
  • Access is only available with the password obtained via the initial key pair file. If the password is changed, the user must update it directly in the operating system. Only the initial password is provided in the KakaoCloud Console, and subsequent changes are not reflected.
  • KakaoCloud Windows instances support WSL 1.
caution

If instances with the same host name exist in the same network (VPC), network functionality errors may occur. Be cautious when renaming instances or directly changing the host name.