VMs & Baremetals
Krutrim Cloud offers high-performance Virtual Machines (VMs) for compute workloads, including GPU-powered VMs for AI/ML tasks and CPU-based machines for general-purpose use. Users can customize, monitor, and manage their machines with flexible volume and networking configurations.
Creating a VM
To create a new virtual machine:
Navigate to the VM configurations page and click “Reserve” next to your preferred setup.
On the creation form, configure the following fields:
Required Fields
Name: Unique name for your machine (e.g.,
vm-ai-builder
).VPC: Select a VPC based on the region of the selected VM. You can also create a new VPC in the same region directly from this interface.
Volumes:
Bootable volumes (required)
Optional: Storage volumes
SSH Key: Upload or paste your public SSH key for secure terminal access.
Learn how to create and connect your SSH key here.
Startup Script: Optional. Bash scripts only. This is the script that will run every time your Machine starts
Tags: Add custom tags for VM identification and billing filters.
Price Summary: A live cost summary based on your configuration.
💡 Note:
To attach a reserved IP or control network access (ports), configure them in the Advanced Settings section.
Advanced Settings
Subnet
Select from existing subnets within the selected VPC.
New subnets can be created (preselected VPC).
If no subnet is selected, a default public subnet is attached silently.
IP Address Type
Shown only if a public subnet is selected in the previous settings
Choose between:
Floating IP – Dynamic, assigned from IP pool. Reassigned on restart.
Reserved IP – Static, retains the same IP across restarts.
If “Reserved IP” is selected, choose from unassigned reserved IPs in the dropdown.
Security Group
Select from existing Security Groups under the selected VPC.
New groups can be created here (VPC pre-selected).
If no group is selected, the default rule allows all traffic on all ports.
Attaching & Detaching a Volume
Volumes can be attached or detached after VM creation via the My Machines page.
Attaching a Volume
Click the three-dot menu (⋮) for the target VM.
Select Attach/Detach Volumes.
Click "Change Bootable volumes" if you want to change the bootable volume or "Attach Storage volumes" if you want to attach a storage volume
A pop-up will show all active, unattached volumes within the same VPC.
Choose volumes to attach/change and confirm.
A prompt will notify:
The VM has to be restarted to attach the volume. Confirm restart to proceed.
Once attached, volumes are attached/changed
Detaching a Volume
Click the three-dot menu (⋮) and choose Attach/Detach Volumes.
Bootable volumes can't be detached; they can only be changed.
Click "Change Bootable volumes" if you want to change the bootable volume
To detach a storage volume, click on the "Delete" icon near the storage volume
Confirm the warning:
The VM has to be restarted to detach the volume. Confirm restart to proceed.
⚠️ One VM can be attached to multiple volumes, but each volume can only be attached to one VM at a time.
Editing a VM
VMs can be edited for network and SSH configurations. To edit a VM:
Go to My Machines.
Click the three-dot menu (⋮) > Edit VM.
Editable fields:
Description
Tags
Attaching/Detaching Security group
Only one security group can be attached to a VM at a time
Attach/change/detach security group
Click on the three dots
Click on "Attach/detach security group"
The currently attached security group, if any, will be visible here
If you want to change/detach the security group, click on the "detach" button
A confirmation pop-up will appear. Once confirmed, the currently attached security group will be detached. Please note that once a security group is detached, no traffic in/out to/from your VM will be allowed
Click on attach if you want to attach a new one.
Select from the existing security groups which one you want to attach
Give confirmation, and the security group will be attached
Attaching/Detaching Public IP address
Click on the three dots
Click on Attach/detach Public IP
If there are any attached Public IPs, they will be mentioned there.
If no Public IPs are attached, then click on attach IP and select from the reserved IP, or assign a random floating IP to your VM
Please note that the private IP will also change once you change/attach a new IP
Click on delete, which will then open up a confirmation pop-up. Once confirmed, the Public IP will be detached
Click on attach IP and select from the reserved IP, or assign a random floating IP to your VM
Please note that the private IP will also change once you change/attach a new IP
Creating Machine Image
Machine image is a way for you to reuse your current VMs to easily make more copies of it
Click on the three dots
Click on "Create Machine Image"
Enter the name of the Image
Click on create. This will create a Machine Image for your VM immediately
Connecting to the Machine
Once the VM is active:
Use an SSH client (e.g., OpenSSH, PuTTY).
Run the command:
bash
CopyEdit
ssh -i <path-to-your-private-key> ubuntu@<public-ip>
Example:
bash
CopyEdit
ssh -i ~/.ssh/my-key.pem [email protected]
Upon connection, you're ready to interact with your virtual machine.
Stopping/Restarting a VM
Click on the three dots
Click on "Stop Machine"
A confirmation pop-up will appear. Once confirmed, the VM will be stopped.
You won't be charged for the VM when it's stopped. Only the volumes will be charged during this duration
Please note that there's no guarantee that you can get the same VM configuration once stopped
To restart, click on the three dots and click on restart VM
This will restart the VM
Rebooting a VM
Click on the three dots
Click on "Reboot VM"
A confirmation pop-up will appear. Once confirmed, the VM will be rebooted
Terminating a VM
Click on the three dots
Click on "Terminate VM"
A confirmation pop-up will appear. Once confirmed, the VM will be terminated, and the VM will not be accessible anymore
My Machines Page
This dashboard allows you to view and manage all your VMs.
🔎 Table Overview
Machine Name: Unique identifier (e.g.,
vm1sadhvi
)Public IP: External IP for remote access
Status: Active / Stopped
Actions (⋮):
How to Connect
Stop Machine
Reboot
Terminate Machine
🔍 Machine Details (on click)
Start Time
Configuration: e.g.,
CPU-1x-4GB
Hours Utilized: e.g.,
00 d : 02 h : 15 min
You can manage machine state, view usage details, or initiate secure connections from this panel.
Billing
You will be charged for the VM as long as it is active (running). If your machine is stopped or paused, or terminated, then it won’t be charged.
Last updated
Was this helpful?