Deploying a Virtual Machine in Cloud Raya

25 August 2020 by Rudy Setiawan


Deploying a virtual machine in Cloud Raya is very simple. Please follow the steps below.

Via Control Panel

Once you are logged into the control panel, on the left of the dashboard there is a menu and you can click on the “Add VM” button

You will be presented with an installation wizard:

Step 1: Select the Location

Step 2: Enter the Hostname of your choice, only support alphanumeric and dash (“-“).

Step 3: Assign a Security Profile and by default there is a “Default” Security profile which allows management port such as 22 (ssh), 3389 (rdp) and some service ports such as 80 (http) and 443 (https).

Step 4: Please select the “Image” or the operating system of your choice. Then click on the blue button “Step 2” on the Add VM page.

Step 5: Select your desired package or a custom package. Then you may click on the blue button “Step 3” to review the summary

Step 6: Once you have reviewed the summary, you may choose to instantly build the VM or schedule a time for the VM to be built. Then just click on the blue button “Create VM”.

Instantly Build a VM
Schedule a Build

You will be directed to the VM detail page showing the status of the provisioning.


You may need to automate a build of a VM from your own platform. In this case, you may use our robust and simple API to build the VM.

Step 1: You need to create an API key, please follow this guideline: Generating API Key

Step 2: You will need the following items:

  1. “Location name” – by calling the following API
  2. “Package ID” – by calling the following API
  3. “Security Profile ID” – by calling the following API
  4. “Storage ID” – by calling the following API
  5. “Template ID” (the operating system) – by calling the following API

Step 3: By compiling all of the above items into one raw JSON format body, example as followed:

    "location": "Jakarta",
    "package_id": 1,
    "hostname": "test-web02",
    "security_profile": 13,
    "public_ip_id": "automatic",
    "disk_id": 17,
    "schedule_type": "instant",
    "schedule_date": "25-07-2020",
    "schedule_time": "",
    "template_id": "d2efd681-ff1d-40d2-aa3d-90777225119b"

You will receive a response of your new VM id.

You may view additional API information found at

5 1 vote
Article Rating
Notify of
Inline Feedbacks
View all comments

Ready to Make Something Big?

Deploy in Cloud Raya
Background wave