Skip to main content

Create and manage image

info

This guide contains information about GPU and NPU instances.

Images allow you to launch an instance by selecting the required OS and applications as a template depending on your purpose. Create an image of the current state of the instance, and among image types, manage only your own images, such as creating and deleting images.

Create my image

Create an image of the current state of your instance.

info

Only the root volume where the OS is installed can be imaged. When backing up additional volumes, please use the snapshot function.

  1. Go to Beyond Compute Service > GPU in the KakaoCloud Console.
  2. In the Instance menu, select the [More] icon and Create image.
  3. Enter information and click the [Create] button.

Manage my image

View image list

You can see a list of images in use and information about each image.

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

  2. Check the list of images currently in use in the Image menu.

    CategoryDescription
    DefaultImages provided by default in KakaoCloud
    My ImageImages created directly in the user's account
    - You can edit and delete the name and description of the image

Create instance with my image

You can create an instance with the information stored in your image.

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

  2. Move to the Image menu and select the My image tab.

  3. Select Create instance of an image.

    Image. Creating Instance Create instance

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

Modify my image

Edit the information in the image.

info

Images shared from other projects can only be modified by the creator of the image.

  1. Go to Beyond Compute Service > GPU in the KakaoCloud Console.
  2. Move to the Image menu and select the My image tab.
  3. Select the [More] icon for an image to edit > Modify image.
  4. Edit the information and click the [Save] button.

Share my image

You can share images with other projects you belong to.

info

Only the user who originally created the image can share and unshare the image.
Members of the project that have shared the image can see the [Share] icon next to the shared image.

  1. Go to Beyond Compute Service > GPU in the KakaoCloud Console.
  2. Move to the Image menu and select the My image tab.
  3. Select the [More] icon for an image to share > Share image.
  4. Select the project to share and click the [Share] button.

Delete my image

Delete images you no longer use.

info

Images shared from other projects are only deleted by the creator of the image.

  1. Go to Beyond Compute Service > GPU in the KakaoCloud Console.
  2. Move to the Image menu and select the My image tab.
  3. Select the [More] icon for an image to delete > Delete image.
  4. Enter the image name and click the [Delete] button.

Change Root volume partition table format

For instances based on certain operating systems (OS), the default partition table format of the root volume disk is the MBR (Master Boot Record) partitioning scheme. The MBR partitioning scheme supports a maximum of 4 partitions and works only on disks up to 2.0 TB in size. However, the GPT (GUID Partition Table) partitioning scheme has no limits on the number of partitions or disk size.

For more detailed information about the root volume partition table format, please refer to Change root volume partition table format.

Step-by-step process

Here's how to change the disk partition table format of your CentOS instance from MBR to GPT:

info

This guide is based on the CentOS Stream 8 image currently provided by KakaoCloud. (MBR to GPT)

caution

When changing the partition table format of an existing volume, pay attention to data preservation and it is recommended to back up before changing.

  1. Check the current disk information with the lsblk command.

    Klsblk command
    [root@centos ~]$ sudo fdisk -l

    Disk /dev/vda: 10.7 GB, 10737418240 bytes, 20971520 sectors
    Units = sectors of 1 * 512 = 512 bytes
    Sector size (logical/physical): 512 bytes / 512 bytes
    I/O size (minimum/optimal): 512 bytes / 512 bytes
    Disk label type: dos
    Disk identifier: 0x0009b542

    Device Boot Start End Blocks Id System
    /dev/vda1 * 2048 20971486 10484719+ 83 Linux
  2. Check the partition table information of the current disk using the gdisk command.

    gdisk command
       [root@centos ~]$ sudo gdisk -l /dev/vda
    GPT fdisk (gdisk) version 0.8.10

    Partition table scan:
    MBR: MBR only
    BSD: not present
    APM: not present
    GPT: not present

    ************************************************** *************
    Found invalid GPT and valid MBR; converting MBR to GPT format
    in memory.
    ************************************************** *************

    Disk /dev/vda: 20971520 sectors, 10.0 GiB
    Logical sector size: 512 bytes
    Disk identifier (GUID): 79C4C601-BF62-45E4-97F8-AB21F158EED7
    Partition table holds up to 128 entries
    First usable sector is 34, last usable sector is 20971486
    Partitions will be aligned on 2048-sector boundaries
    Total free space is 2014 sectors (1007.0 KiB)

    Number Start (sector) End (sector) Size Code Name
    1 2048 20971486 10.0 GiB 8300 Linux filesystem
  3. Change the partition table from MBR to GPT using the gdisk command.

    • GPT requires a boot partition, so create that partition.

    • Set the boot partition as first sector 34, last sector 2047, and select ef02 as the partition code.

      gdisk command
        [root@centos ~]$ sudo gdisk /dev/vda
      GPT fdisk (gdisk) version 0.8.10

      Partition table scan:
      MBR: MBR only
      BSD: not present
      APM: not present
      GPT: not present


      ************************************************** *************
      Found invalid GPT and valid MBR; converting MBR to GPT format
      in memory. THIS OPERATION IS POTENTIALLY DESTRUCTIVE! Exit by
      typing 'q' if you don't want to convert your MBR partitions
      to GPT format!
      ************************************************** *************

      # Enter 'n' (add a new partition)
      Command (? for help): n
      # Enter (default:2)
      Partition number (2-128, default 2):
      # Enter (default 34)
      First sector (34-2047, default = 34) or {+-}size{KMGTP}:
      # Enter (default 2047)
      Last sector (34-2047, default = 2047) or {+-}size{KMGTP}:
      # Enter 'ef02'
      Current type is 'Linux filesystem'
      Hex code or GUID (L to show codes, Enter = 8300): ef02
      Changed type of partition to 'BIOS boot partition'

      # Enter 'w' (write table to disk and exit)
      Command (? for help): w
      Final checks complete. About to write GPT data. THIS WILL OVERWRITE EXISTING
      PARTITIONS!!

      # Enter 'y'
      Do you want to proceed? (Y/N):y
      OK; writing new GUID partition table (GPT) to /dev/vda.
      Warning: The kernel is still using the old partition table.
      The new table will be used at the next reboot.
      The operation has completed successfully.
  4. Install grub in the new boot partition.

    Install grub
    #Recognize new partition
    [root@centos ~]$ sudo partprobe
    #Install GRUB
    [root@centos ~]$ sudo grub2-install /dev/vda
    Installing for i386-pc platform.
    Installation finished. No error reported.
  5. Execute the restart command to reflect the changes.

    Restart command
    [root@centos ~]$ sudo reboot
  6. Use the lsblk command to check whether the disk partition table format has been changed properly.

    Confirm format change
    [root@centos ~]$ sudo fdisk -l
    WARNING: fdisk GPT support is currently new, and therefore in an experimental phase. Use at your own discretion.
    Disk /dev/vda: 3221.2 GB, 3221225472000 bytes, 6291456000 sectors
    Units = sectors of 1 * 512 = 512 bytes
    Sector size (logical/physical): 512 bytes / 512 bytes
    I/O size (minimum/optimal): 512 bytes / 512 bytes
    Disk label type: gpt
    Disk identifier: D9C42684-E18C-4B8F-9388-C2F2CDC093ED
    # Start End Size Type Name
    1 2048 6291455965 3T Linux filesyste Linux filesystem
    2 34 2047 1007K BIOS boot BIOS boot partition