Skip to main content

Key concepts

Instance​

An instance is a virtualized hardware resource, generally referring to a virtual machine that includes computing power, memory, storage space, and networking capabilities. This virtual environment allows users to scale resources up or down as needed, significantly reducing the cost and overhead of managing physical hardware.

Virtual Machine (VM) instances are used to create virtual computers in cloud computing environments, and costs are typically charged based on usage. Cloud computing services virtualize physical server resources to run multiple independent virtual machines simultaneously, improving efficiency and scalability by allowing users to operate multiple VMs on a single physical server.

Each VM instance is typically allocated resources such as CPU, memory, storage, and a network interface. These resources are key determinants of the VM's performance and capacity, and they can be adjusted according to user needs. This allows users to select the most appropriate instance type and size for their applications and services.

ResourceDescription
CPUVirtual CPUs are allocated to the instance, using part or all of a physical CPU
MemoryVirtual memory is allocated to the instance, operating with part or all of physical memory
StorageEach instance uses virtual block storage, efficiently distributing physical disk space
Network interfaceA virtual primary network interface is attached to each instance for communication

Instance types​

KakaoCloud provides various instance types optimized for different use cases, allowing users to choose the most suitable instance for their workload and requirements. These instance types are designed to meet computing and storage resource needs.

Users can select a specific instance type when launching an instance, and costs are calculated proportionally based on the amount of resources used. This ensures efficient resource management and charges users only for what they actually use.

Available instance types on KakaoCloud include:

info

For detailed specifications and pricing of instance types, refer to the KakaoCloud official website.

Instance lifecycle​

The instance lifecycle includes all stages from creation to termination. These stages are reflected by status values that indicate the current state of the instance, such as running, stopped, or deleted. By monitoring instance statuses, users can perform appropriate management tasks.

Understanding the full instance lifecycle—from provisioning to deletion—is essential for effective resource management.

Instance lifecycle Instance lifecycle

Commands/features​

Feature (CLI command)DescriptionResulting instance state
Start (start)Start the instanceActive
Stop (stop)Stop the instanceStopped
Shut down (shelve)Shut down the instance and release allocated resourcesShelved_offloaded
Reboot (soft reboot)Reboot the instance gracefullyActive
Hard reboot (hard reboot)Hard reboot the instanceActive
Change type (resize)Launch the popup to change the instance type-
Delete (delete or terminate)Completely delete the instance-

Instance state and billing​

The table below outlines billing status based on instance state.

StateDescriptionBilled
ActiveInstance is runningYes
Shelved_offloadedInstance is shelved and resources allocated on the hypervisor have been releasedNo
StoppedInstance is stopped but resources remain allocated on the hypervisorYes
ErrorInstance encountered an error and cannot be usedNo
BuildingAllocating resources on the hypervisor to create the instanceNo
StartingStarting the tasks required to configure the instanceNo
SchedulingScheduling the instanceNo
Block_device_mappingConfiguring instance volumesNo
NetworkingConfiguring instance networkingNo
SpawningCreating the instanceNo
RebootingInstance reboot has startedYes
Reboot_startedInstance reboot is in progressYes
Rebooting_hardInstance hard reboot has startedYes
Rebooting_started_hardInstance hard reboot is in progressYes
ShelvingShelving the instanceYes
UnshelvingRestarting a shelved instanceNo
Powering-offStopping the instanceYes
Powering-onRestarting a stopped instanceYes
Resize_prepPreparing to change the instance typeNo
Resize_migratingPerforming preliminary tasks for the target instance typeNo
Resize_migratedPreliminary tasks for the target instance type are completeNo
Resize_finishedPreliminary tasks are complete and the operation is moving to confirmationNo
ResizedWaiting for confirmation to finalize or revert the instance type changeNo
Resize_confirmFinalizing the instance type changeNo
Resize_revertCanceling the change and reverting to the previous instance typeNo
DeletingPerforming tasks to permanently delete the instanceNo

Configure instance​

VMs are the core of cloud services, offering scalability and elasticity for dynamic workloads. Users can start, stop, or delete virtual servers (instances) based on business needs.

When launching a VM, users must first select an instance type, which determines computing resources. VM instances can scale up or out depending on requirements:

  • Scale-up increases the resources (CPU, memory, etc.) of an existing instance to enhance performance.
  • Scale-out adds more instances to distribute workloads, improving availability and scalability.

VM network settings allow secure access to instances over the internet. Instances are isolated from one another.

A VM instance typically includes:

  • Instance type: Defines performance and size (CPU, memory, bandwidth, and storage). Pricing varies by instance type.
  • Operating system: Supports various OSs, including Windows, Linux, and Unix.
  • Network: Connects to public or private networks, configurable via security groups, virtual networks, and IP settings.

Image​

VM instances are launched using images, which contain the necessary OS and software configurations. Users can choose from a range of OS and application images based on their needs. Images follow the lifecycle of the instance and are billed accordingly.

Types of images:

Image typeDescription
Default imageLinux and Windows default images provided by KakaoCloud
Accessible to all users for secure instance setup
Custom imageUser-created image configured for a project or workload
Can include an existing instance's operating system, applications, and settings
info
  • You can create instances using KakaoCloud default images or user-created custom images.
  • Creating a custom image may fail if the attached root volume is too large. A root volume of 1 TB or less is recommended for reliable image creation.

The following table describes image states.

StateDescription
ActiveReady to create instances from the image
DeactivatedTemporarily deactivated by a cloud administrator for inspection
QueuedImage creation is queued for internal processing
SavingImage creation is in progress
Pending_DeleteImage deletion is in progress
UpdatingFirst stage of receiving a shared image
ImportingSecond stage of receiving a shared image
KilledUnusable because an image or storage error occurred
Default images available​
CategoryImage type
LinuxUbuntu 20.04
Ubuntu 20.04 (GPU)
Ubuntu 22.04
Ubuntu 22.04 (GPU)
Ubuntu 24.04
CentOS Stream 9
Rocky Linux 8.10
Rocky Linux 9.4
Rocky Linux 9.8
Rocky Linux 10.2
Alma Linux 8.10
Alma Linux 9.4
Alma Linux 9.8
Alma Linux 10.2
WindowsWindows Server 2019
Windows Server 2019 (+ MSSQL 2019)
Windows Server 2022

Volume​

VM instances use a root device volume containing the OS image to boot. This volume is provisioned via the Block Storage service during instance creation.

Volumes serve as the storage space for actual data. KakaoCloud currently supports SSD block storage only. Volumes can be created and attached to VM instances to store OS, file systems, or databases.

Volume states​

Volume statuses can be viewed under Virtual Machine > Volumes.

Volume stateDescription
CreatingVolume is being created
AvailableVolume is available
In-useVolume is attached to an instance (Active, Stopped)
ReservedVolume is attached to a shelved instance
Attaching / DetachingVolume is being attached/detached
ExtendingVolume is being resized
Backing-UpSnapshot of volume is being created
UploadingVolume is being saved as an image
DeletingVolume is being deleted
ErrorVolume is in an unusable error state

Volume size limit​

The volume size limit depends on the OS image. Each image defines a maximum volume size, so check this before configuring the volume.

Operating systemItemSize (GB)
LinuxMinimum1
Maximum16,384
WindowsMinimum1
Maximum2,048

Key pair​

A key pair is used for secure access to VM instances. It consists of a public key and a private key. Users must manage key pairs carefully and store both keys securely.

Typically, the public key is registered on the cloud platform, and the private key is used during authentication. This enhances access control and security. Once registered, only that public key can be used. Key pairs can be specified when creating or connecting to an instance.

Private key loss may lead to loss of access to the instance. Ensure encryption, avoid sharing or duplicating keys, and safeguard them thoroughly.

info
  • KakaoCloud key pairs are user-scoped resources. Other users cannot view or use them.

Network and security​

All VM instances are deployed within a VPC environment.
Virtual Private Cloud (VPC) allows users to configure private networks within the cloud, enabling fine-grained control and enhanced security for instances. Users can select VPC and subnets during instance creation and assign public IPs if necessary.

Public IP​

A public IP allows a VM instance to communicate over the internet. Users can decide whether an instance should receive a public IP from the IP pool.

To use a public IP for internet communication, allocate an address using Create public IP, then associate it with a network interface. The association remains until you disassociate it, and charges continue for as long as the public IP remains allocated. You can disassociate an allocated public IP from one network interface and associate it with another.

IAM-based role management​

Virtual Machine IAM (Identity and Access Management) supports role-based access control (RBAC) to manage users and groups. Roles define what actions a user can perform within a project.

All VM resources are created and managed under a project. Project-level users (Project Admin/Project Member) can perform tasks such as creation, modification, and deletion. However, only the key pair creator can delete their own keys.

By using IAM, access to instances can be controlled effectively, enhancing security and stability through appropriate permissions.

IAM roleProject AdminProject MemberProject Reader
Manage project members✓
Set public IP config✓
Manage instances✓✓△ (view only)
Manage volumes✓✓△ (view only)
Manage images✓✓△ (view only)
Manage key pairs✓✓△ (view only)