Step 3: Access Dashboard & Monitor Deployments

Access the dstack Dashboard

  1. Open your browser and navigate to http://localhost:9080
  2. You should see the dstack management interface
dstack Dashboard

Create New Deployment

Click “Deploy New Application” and fill in the deployment form:
FieldValue
Application Namemy-first-app
DescriptionMy first secure application
Docker Compose FileUpload your docker-compose.yml
deployment progress

CLI Tools for Monitoring Deployments

dstack-vmm CLI

Monitor VMs and container deployments:
# List all VMs and their status
python3 vmm-cli.py --url http://localhost:8080 lsvm

# List VMs with detailed information
python3 vmm-cli.py --url http://localhost:8080 lsvm -v

# Show VM logs (useful for monitoring deployment progress)
python3 vmm-cli.py --url http://localhost:8080 logs <vm_id>

# Follow logs in real-time
python3 vmm-cli.py --url http://localhost:8080 logs <vm_id> --follow

# List available OS images
python3 vmm-cli.py --url http://localhost:8080 lsimage

Supervisor CLI

Monitor processes within containers:
# List all running processes
supervisor-client --base-url unix:/var/run/supervisor.sock list

# Get detailed information about a specific process
supervisor-client --base-url unix:/var/run/supervisor.sock info <process_id>

# Health check
supervisor-client --base-url unix:/var/run/supervisor.sock ping

dstack-util CLI

For advanced monitoring and attestation:
# Get TDX report (for attestation verification)
echo -n "report_data" | dstack-util report

# Generate TDX quote (for remote attestation)
echo -n "report_data" | dstack-util quote

# Show current RTMR measurements
dstack-util show

Monitor Deployment Progress

The deployment process involves several steps:
1
Creating Confidential VM
2
Setting up secure environment
3
Pulling Docker images
4
Starting containers
Application running
Use the CLI tools above to monitor each step and troubleshoot any issues during deployment.