DAAKYI Cloud
|

Developer Documentation

Build on DAAKYI Cloud

DocsGetting StartedLaunch Your First Virtual Machine

Launch Your First Virtual Machine

A step-by-step walkthrough: network, VM, firewall rule, and remote access.

This guide walks through the minimum path from an empty VDC to a running, reachable virtual machine. Everything is done in the Console; the equivalent API calls are shown at the end.

1

Create a VPC and Subnet

Go to Networking → VPCs → Create VPC. Name it (e.g. production-vpc), choose a CIDR such as 10.0.0.0/16, then add a subnet 10.0.1.0/24. A distributed virtual router is attached automatically to route traffic inside the VPC.

2

Create the Virtual Machine

Go to Compute → Virtual Machines → Create VM. Choose an image (e.g. Ubuntu 24.04 or Windows Server 2022), a profile (2 vCPU / 4 GB is a good starting point), a 40 GB system disk, and place it in your new subnet. Set the admin password or attach an SSH key, then click Create. Provisioning typically completes in under a minute.

3

Allow Inbound Access

By default no inbound traffic is allowed. Go to Networking → Security Groups, create a group (e.g. web-access), and add inbound rules — TCP 22 from your office IP for SSH, or TCP 3389 for RDP on Windows. Attach the security group to the VM.

4

Attach an Elastic IP

To reach the VM from the internet, go to Networking → Elastic IPs → Allocate, then bind the address to your VM. For internal-only workloads, skip this step and connect through VPN instead.

5

Connect

SSH to the elastic IP (ssh ubuntu@<elastic-ip>) or open an RDP session for Windows. You can also use the built-in web console under Compute → your VM → Console, which works even when the network is misconfigured.

The Same Flow via API

bash
# 1. Create the VPC
curl -X POST "https://api.daakyicloud.com/v1/vpcs" \
  -H "Authorization: Bearer $TOKEN" \
  -d '{"name": "production-vpc", "cidr": "10.0.0.0/16", "region": "accra-1"}'

# 2. Create the VM
curl -X POST "https://api.daakyicloud.com/v1/vms" \
  -H "Authorization: Bearer $TOKEN" \
  -d '{
    "name": "web-01",
    "vcpus": 2,
    "memory_gb": 4,
    "image": "ubuntu-24.04",
    "system_disk_gb": 40,
    "subnet_id": "subnet-a1b2c3",
    "security_group_ids": ["sg-web-access"]
  }'

That’s it — you have a running VM inside an isolated private network. Next, read the Virtual Machines section to learn about lifecycle operations, snapshots, and high availability.

We use essential cookies to make this site work, and optional analytics cookies to improve it. See our Privacy Policy.