Skip to main content

Chapter II: 2.3 Create a VM Instance

This document describe how to create Virtual Machine. Virtual Machine (VM) is a virtual version of a physical computer. Virtual machine software can run programs and operating systems, store data, connect to networks, and do other computing functions.

2.3.1 Prerequisites to Create Instance

Before creating an instance/VM, you need to create a Virtual Private Cloud (VPC) network in Create VPC Network.

2.3.2 Create Instance from public image

Public Image is provided by Cloudeka by default all customers have access to this image and can use it to create instances. The first step in creating a VM instance is to click the Instance menu.

Image 2.1 Instance Page



  • Click the Create Instance button

Image 2.2 Instance Page - Create Instance



  • The Create Instance page will appear. Select Operating System. Then fill in the column Select Operating System by clicking the column Select Operating System, version, bit version.

Image 2.3 Create Instance Page - Select Operating System



  • Select a region to choose where the data center for this VM is like at the TKP (Taman Tekno Park) data center.

Image 2.4 Create Instance Page - Select Region



  • Select VPC Network. If there is no VPC Network, customers can create a VPC first.

Image 2.5 Create Instance Page - Select VPC Network



  • Select Billing Type, for details regarding billing, see the Billing Page.
    • PPU (Pay Per Use),
    • Fixed
    • Trial

Image 2.6 Create Instance Page - Select Billing Type



  • Select Choose a plan to determine the type of your VM machine.
    • General, VM size provides a balanced CPU to memory ratio.
    • Compute Optimized, delivers the highest performance CPU on Compute Engine and is optimized for compute intensive workloads.
    • Shared, this provides a cost-effective method for running small applications that are not resource intensive.
    • Memory Optimized, provides high memory to CPU ratio, optimized for memory-intensive workloads.

Image 2.7 Create Instance Page - Select Choose a Plan



  • Select Instance size to determine CPU & RAM on the VM to be created.

Table 2.1 vCPU/RAM


Type Description vCPU/RAM
Shared Based on 1 vCPU 1 vCPU/1GB, 1 vCPU/3GB,1 vCPU/4GB
General CPU:RAM eq 1:2,1:3 2vCPU/4GB, 2vCPU/6GB, 4vCPU/8GB, 4vCPU/12GB, 8vCPU/16GB, 8vCPU/24GB, 16vCPU/32GB, 16vCPU/48GB, 32vCPU/64GB, 32vCPU/96GB
Compute Optimized CPU:RAM eq 1:1 2vCPU/2GB, 4vCPU/4GB, 8vCPU/8GB, 16vCPU/16GB, 32vCPU/32GB
Memory Optimized CPU:RAM eq 1:4 2vCPU/8GB, 2vCPU/16GB, 4vCPU/16GB, 4vCPU/32GB, 8vCPU/32GB, 16vCPU/64GB, 32vCPU/128GB


Image 2.8 Create Instance Page - Instance Size



  • Select Storage type for root disk.
    • Standard Volume SSD with 750 - 2500 IOPS,
    • Premium Volume SSD with 2250 - 4500 IOPS.

Image 2.9 Create Instance Page - Storage Type



  • In the Instance Root disk field, enter or select a size to specify the disk size of your OS. Root disk size minimum 20GB, can not be below 20GB.

Image 2.10 Create Instance Page - Instance Root Disk Size



  • Select Storage type for a data disk.
    • Standard Volume SSD with 750 - 2500 IOPS,
    • Premium Volume SSD with 2250 - 4500 IOPS.

Image 2.11 Create Instance Page - Data Disk Storage Type



  • Add data disk for additional storage to the VM (beyond root disk/disk os), then click Add button.

Image 2.12 Create Instance Page - Instance Data Disk Size



Image 2.13 Create Instance Page - Add Instance Data Disk Size



Image 2.14 Create Instance Page - List Data Disk



  • Authentication

There are two authentication methods, this authentication is used to login to your virtual machine.

  1. SSH Keys, more secure than standard password. You must create SSH Keys first before you can use this method
    • Choose SSH Keys for the authentication method, then click New SSH Key.

Image 2.15 Create Instance Page - Authentication



  • Paste the Public key that you generated before, type the name for your key, then click Add SSH key

Image 2.16 Create Instance Page - SSH Key



  • Checklist the checkbox of the key that you just added.

Image 2.17 Create Instance Page - Checklist SSH Key



  1. Password, use the standard password for the authentication method.

Image 2.18 Create Instance Page - Password



  • In Instance Name, type your VM name, this instance name is also your VM hostname. Instance Name also can’t contain special characters, put a check mark because you have agreed to Terms of Service then click Create Instance.

Image 2.19 Create Instance Page - Instance Name



  • There will be a notification of process building the Instance.


Image 2.20 Create Instance Page - Build Instance Notification



  • After the building Instance is successful, there will be a success notification “instance (instance name) has been successfully created”

Image 2.21 Create Instance Page - Success Notification



2.3.3 Create Instance from custom image

Custom images are available only to your Cloud project, you need to import your custom images to Cloudeka in Custom Image. Then, use the custom image to create an instance.

  • In the Instance page, click Create Instance button

Image 2.22 Instance Page - Create Instance



  • The Create Instance page will appear. Choose Instance Image.

Image 2.23 Create Instance - Instance Image



  • Select your custom image that you want to use.

Image 2.24 Create Instance - Custom Image



  • Select a region to choose where the data center for this VM is, such as at the TKP (Taman Tekno Park) data center.

Image 2.25 Create Instance - Region



  • Select VPC Network for your Instance.

Image 2.26 Create Instance - VPC Network



  • Select Billing type, for details regarding billing, see the Billing Page.
    • PPU (Pay per use),
    • Fixed.

Image 2.27 Create Instance - Billing Type



  • Select Choose a plan to determine the type of your VM machine.
    • General, VM size provides a balanced CPU to memory ratio.
    • Compute Optimized, Delivers the highest performance CPU on Compute Engine and is optimized for compute intensive workloads.
    • Shared, This provides a cost-effective method for running small applications that are not resource intensive.
    • Memory Optimized, Provides high memory to CPU ratio, optimized for memory-intensive workloads.

Image 2.28 Create Instance - Choose a Plan



  • Choose the Instance size to determine CPU & RAM resource on the VM to be created.

Table 2.2 vCPU/RAM


Type Description vCPU/RAM
Shared Based on 1 vCPU 1 vCPU/1GB, 1 vCPU/3GB,1 vCPU/4GB
General CPU:RAM eq 1:2,1:3 2vCPU/4GB, 2vCPU/6GB, 4vCPU/8GB, 4vCPU/12GB, 8vCPU/16GB, 8vCPU/24GB, 16vCPU/32GB, 16vCPU/48GB, 32vCPU/64GB, 32vCPU/96GB
Compute Optimized CPU:RAM eq 1:1 2vCPU/2GB, 4vCPU/4GB, 8vCPU/8GB, 16vCPU/16GB, 32vCPU/32GB
Memory Optimized CPU:RAM eq 1:4 2vCPU/8GB, 2vCPU/16GB, 4vCPU/16GB, 4vCPU/32GB, 8vCPU/32GB, 16vCPU/64GB, 32vCPU/128GB

Image 2.29 Create Instance - Instance Size



  • Choose storage type for instance

Image 2.30 Create Instance - Storage Type



  • In the Instance root disk field, you still need enter the size OS disk. But this will not affect the size of your custom image.

Image 2.31 Create Instance - Instance Root Disk



  • Choose volume type and add data disk size for additional storage of your Instance (outside the root disk/disk os).

Image 2.32 Create Instance - Instance Data Disk - Volume Type



Image 2.33 Create Instance - Instance Data Disk - Size



  • Click Add Data Disk button to save the Data Disk.

Image 2.34 Create Instance - Add Data Disk



  • If Data Disk successfully saved, the Data Disk will be added to the list. Click button Delete if you want to delete the Data Disk

Image 2.35 List Data Disk



  • Authentication There are two authentication methods, this authentication is used to login to your virtual machine.
  1. SSH Keys, more secure than standard password. you must create SSH Keys first before you can use this method
    • Choose SSH Keys for authentication method, then click New SSH Key.

Image 2.36 Create Instance - SSH Key



  • Paste the Public key that you generated before, type the name for your key, then click Add SSH Key

Image 2.37 Add New Key - SSH Content



  • Checklist SSH Key of the key that you just added.

Image 2.38 Create Instance - Cheklist SSH Key



  1. Password, use standard password for aunthentication method.

Image 2.39 Create Instance - Password



  • In Instance Name, type your VM name, this instance name is also your VM hostname. Instance Name also can’t contain special character, put a check mark because you have agreed to Terms of Service then click Create Instance.

Image 2.40 Create Instance - Instance Name



  • There will be a notification of process building the Instance.

Image 2.41 Create Instance - Build Instance



  • After building Instance is successful, there will be a success notification “instance (instance name) has been successfully created”

Image 2.42 Create Instance - Notification



×