Manage and Scale VMs

You will learn how to scale, monitor, and manage your spot virtual machines.

Viewing VM Details

Capacity & Health Page

Navigate to Capacity & Health for detailed views:

VM Pools Tab

  • Pool name and configuration
  • Bid status and pricing
  • Won vs desired count

VMs Tab

  • Individual VM status
  • IP addresses
  • Server class details

Scaling VM Pools

Scale Up VMs

  1. Click Cloudspace ActionsEdit
  2. Increase the Desired count in Step 2.
  3. Click Go to SummaryUpdate Cloudspace

Scale Down VMs

  1. Click Cloudspace ActionsEdit
  2. Reduce the Desired count in Step 2.
  3. Click Go to SummaryUpdate Cloudspace

Reducing count will terminate VMs. Back up any data first.

VM Cloudspace Edit Menu

VM Cloudspace Edit Menu

Summary showing scale up from 1 to 3 VMs

Summary showing scale up from 1 to 3 VMs

###

Adding a New VM Pool

Add pools with different configurations (e.g., different server classes or OS images).

  1. Click Cloudspace ActionsEdit
  2. Click Add VM Pool
  3. Configure the new pool:
  • Server Type
  • Number of VMs
  • Bid Pricing Strategy
  • OS Image
  1. Click Go to SummaryUpdate Cloudspace
Summary page displays new VM Pools to be added, confirm and it will add a new VM Pool to your existing VM cloudspace

Summary page displays new VM Pools to be added, confirm and it will add a new VM Pool to your existing VM cloudspace

Adjusting Bid Prices

If your VMs are being preempted due to low bids:

  1. Click Cloudspace ActionsEdit
  2. Increase the Bid Price for the affected VM pool
  3. Click Go to SummaryUpdate Cloudspace

Deleting Resources

Delete a VM Pool

  1. Click Cloudspace ActionsEdit
  2. Click the Trash icon on top right of the VM pool to be removed
  3. Confirm deletion on summary page
  4. Click Save Changes

Delete a VM Cloudspace

  1. Click Cloudspace ActionsDelete Cloudspace
  2. Type the cloudspace name to confirm
  3. Click Delete

Deleting a VM cloudspace terminates all running VMs and is irreversible.

Best Practices

High Availability

StrategyImplementation
Multiple poolsSpread across server classes
Higher bidsReduce preemption risk
WebhooksMonitor and react to changes

Cost Optimization

StrategyImplementation
Right-size VMsChoose appropriate server class
Monitor bidsAdjust based on market
Scale downReduce count during off-hours

Data Safety

StrategyImplementation
External storageDon't rely on VM local storage
Regular backupsAutomate backup processes
Stateless designDesign for VM replacement

API & Terraform SOON

For programmatic VM management, use:

  • Spot Terraform Provider: Infrastructure as code
  • spotctl CLI: Command-line management
  • REST API: Direct API access

Troubleshooting

VM Not Accessible

Check:

  1. VM has an IP address assigned
  2. SSH key is correct - Manage SSH Keys
  3. VM status is "Online"

Unexpected Termination

Cause: Market price exceeded your bid.

Fix:

  1. Increase bid price
  2. Enable webhooks for alerts
  3. Design for preemption
Type to search, ESC to discard
Type to search, ESC to discard
Type to search, ESC to discard