Skip to content

VM Management Commands

Core VM lifecycle and management operations.

Overview

VM commands handle the complete lifecycle of Azure VMs - from provisioning to deletion, including configuration, monitoring, and maintenance.

Available Commands

Lifecycle Management

  • azlin new - Provision new Azure VM with development tools
  • azlin clone - Clone VM with home directory contents
  • azlin start - Start a stopped or deallocated VM
  • azlin stop - Stop/deallocate VM to save costs
  • azlin kill - Delete VM and all associated resources
  • azlin destroy - Delete VM with dry-run and resource group options

Connection & Access

Information & Status

Configuration

Quick Start

Create and Connect

# Create VM
azlin new --name my-dev-vm

# Connect with SSH
azlin connect my-dev-vm

# Or open in VS Code
azlin code my-dev-vm

List and Manage

# List all VMs
azlin list

# Show detailed status
azlin status

# Stop VM to save costs
azlin stop my-dev-vm

Clone VMs

# Clone for team member
azlin clone dev-base --session-prefix alice

# Clone multiple
azlin clone template --num-replicas 3 --session-prefix worker

See Also