Start / Stop / Resize VM
This page explains how to manage the lifecycle of a Virtual Machine in CloudRaya, including starting, stopping, and resizing compute resources.
Start and Stop a Virtual Machine
You can start or stop a Virtual Machine using two available methods.
Option 1: From the Virtual Machine List
On the Virtual Machines page, each VM card provides quick action buttons:
- Start – Power on a stopped VM
- Stop – Gracefully shut down a running VM
These actions are useful for quick operational control without opening VM details.
Option 2: From the VM Detail Page
You can also start or stop a VM from its detail page:
- Open Virtual Machines
- Click View Detail on the selected VM
- Use the Start or Stop action buttons in the Virtual Machine Action section
VM State and Billing Behavior
CloudRaya applies different billing components depending on the current state of a Virtual Machine (VM).
Users can view real-time billing details directly from the VM Detail page.
Billing When a VM Is Running
When a VM is in the Running state:
- Compute resources (CPU and memory) are billed per hour
- Storage resources (root disk and any attached disks) are billed
- Additional components (such as licenses or extra storage) are billed if applicable
On the VM Detail page, the Current Charges section displays the total hourly cost while the VM is active.
This cost reflects all applicable components contributing to the running VM.
Billing When a VM Is Stopped
When a VM is in the Stopped state:
- Compute resources (CPU and memory) are not billed
- Storage resources (root disk, additional disks, and snapshots) continue to be billed
- The VM configuration and all data remain intact
In this state, the Current Charges value shown on the VM Detail page is updated automatically.
The displayed hourly cost reflects only the remaining billable components, such as storage or other attached resources.
Billing When a VM is started again:
- The VM resumes using the same configuration
- The public IP address remains the same
- Billing for compute resumes automatically
Resize (Upgrade or Downgrade) a Virtual Machine
Resizing allows you to change the CPU and memory allocation of an existing VM.
Where to Resize
Resize operations are performed from the VM Detail page:
- Open Virtual Machines
- Click View Detail on the VM
- Go to the Upgrade tab
Select a New Package
In the Upgrade page:
- Use filters or sliders to select an available VM package
- You can upgrade or downgrade CPU and memory
- Public IP inclusion can be adjusted if available in the package
You can resize to a smaller CPU or memory package as long as the storage size of the new package is equal to or larger than your current VM storage size.
Confirm the Resize Operation
After selecting a package:
- Review the estimated monthly cost
- Click Upgrade VM
- Confirm the action in the confirmation dialog by typing the VM name
- Click Upgrade VM to proceed
Resize Behavior and Impact
When resizing a VM:
- The operation can be initiated while the VM is running
- The VM will automatically restart
- Downtime occurs during the restart process
- No data is lost during resizing
CloudRaya applies the new CPU and memory configuration automatically once the VM restarts.
Public IP Behavior During Resize
- The VM keeps the same public IP address
- No IP reassignment occurs during resize
- Network configuration remains unchanged
Best Practices
- Perform resize operations during maintenance windows for production workloads
- Take a snapshot before resizing if the VM hosts critical applications
- Ensure the target package supports your current storage size
- Monitor application behavior after resizing to validate performance changes
📄 See: Backups and Snapshots
Next Steps
After managing your VM lifecycle, you may want to explore:
-
Manage disks, snapshots, and storage attachment.
-
Protect your VM data with manual and scheduled snapshots.
-
Understand IP settings, ACLs, and network behavior.