> ## Documentation Index
> Fetch the complete documentation index at: https://vastai-80aa3a82-docs-screenshot-updates.mintlify.site/llms.txt
> Use this file to discover all available pages before exploring further.

# Managing Instances

> Learn how to manage running instances - start, stop, destroy, monitor status, and handle common operational tasks.

## Overview

The Instances page ([cloud.vast.ai/instances](https://cloud.vast.ai/instances)) is your central hub for managing rented instances. From here you can:

* View instance status and information
* Start, stop, and destroy instances
* Access connection details
* Monitor resource usage
* Transfer data between instances

## Instance Card Interface

<Frame caption="Instances Page">
  <img src="https://mintcdn.com/vastai-80aa3a82-docs-screenshot-updates/FPWqTehcctCOR5ES/images/console-instance-guide-light.webp?fit=max&auto=format&n=FPWqTehcctCOR5ES&q=85&s=1ad18a490dfcfb34ad4b5d73a7a71546" className="block dark:hidden" alt="Instances Page" width="3330" height="2093" data-path="images/console-instance-guide-light.webp" />

  <img src="https://mintcdn.com/vastai-80aa3a82-docs-screenshot-updates/FPWqTehcctCOR5ES/images/console-instance-guide-dark.webp?fit=max&auto=format&n=FPWqTehcctCOR5ES&q=85&s=3396dc61b26c201615f11cb0da15df09" className="hidden dark:block" alt="Instances Page" width="3330" height="2093" data-path="images/console-instance-guide-dark.webp" />
</Frame>

Each instance card displays comprehensive information about your rental:

### Main Status Button

<Frame caption="Open button">
  <img src="https://mintcdn.com/vastai-80aa3a82-docs-screenshot-updates/FPWqTehcctCOR5ES/images/console-instance-guide-2-light.webp?fit=max&auto=format&n=FPWqTehcctCOR5ES&q=85&s=4792ca4afdba05eed5691196d13db786" className="block dark:hidden" alt="Open button" width="1836" height="500" data-path="images/console-instance-guide-2-light.webp" />

  <img src="https://mintcdn.com/vastai-80aa3a82-docs-screenshot-updates/FPWqTehcctCOR5ES/images/console-instance-guide-2-dark.webp?fit=max&auto=format&n=FPWqTehcctCOR5ES&q=85&s=64f1186c62478aff6e513a94f5dd149d" className="hidden dark:block" alt="Open button" width="1836" height="500" data-path="images/console-instance-guide-2-dark.webp" />
</Frame>

The main button (left side of card) shows instance status and provides quick access:

**Status Indicators:**

* **Open**: Instance loaded, click to access via browser
* **Connect**: Instance loaded, click for SSH info
* **Inactive**: Stopped but data preserved (can restart if GPU available)
* **Offline**: Machine disconnected from Vast servers
* **Scheduling**: Attempting to restart (waiting for GPU availability)
* **Creating**: Vast initiating instance creation
* **Loading**: Downloading Docker image
* **Connecting**: Docker running but connection not verified

### Instance Information

<Frame caption="ID numbers">
  <img src="https://mintcdn.com/vastai-80aa3a82-docs-screenshot-updates/FPWqTehcctCOR5ES/images/console-instance-guide-9-light.webp?fit=max&auto=format&n=FPWqTehcctCOR5ES&q=85&s=621c4f3a8978326b96e23faf33d4ec50" className="block dark:hidden" alt="ID numbers" width="1836" height="500" data-path="images/console-instance-guide-9-light.webp" />

  <img src="https://mintcdn.com/vastai-80aa3a82-docs-screenshot-updates/FPWqTehcctCOR5ES/images/console-instance-guide-9-dark.webp?fit=max&auto=format&n=FPWqTehcctCOR5ES&q=85&s=ae38232c77a7df7d2fa1b4752c69dae2" className="hidden dark:block" alt="ID numbers" width="1836" height="500" data-path="images/console-instance-guide-9-dark.webp" />
</Frame>

**ID Information:**

* Instance ID - Unique identifier for your instance
* Host/Datacenter ID - Provider identification
* Machine ID - Physical machine identifier

**Hardware Details:**

<Frame>
  <img src="https://mintcdn.com/vastai-80aa3a82-docs-screenshot-updates/FPWqTehcctCOR5ES/images/console-instance-guide-10-light.webp?fit=max&auto=format&n=FPWqTehcctCOR5ES&q=85&s=85c96e45e271e20d813388a30e99d2ef" className="block dark:hidden" alt="Hardware details" width="1836" height="500" data-path="images/console-instance-guide-10-light.webp" />

  <img src="https://mintcdn.com/vastai-80aa3a82-docs-screenshot-updates/FPWqTehcctCOR5ES/images/console-instance-guide-10-dark.webp?fit=max&auto=format&n=FPWqTehcctCOR5ES&q=85&s=b8655886e51e7e918d14731db37edbbb" className="hidden dark:block" alt="Hardware details" width="1836" height="500" data-path="images/console-instance-guide-10-dark.webp" />
</Frame>

* GPU model and count
* CPU and RAM allocation
* Storage capacity
* Network configuration

**Contract Info:**

<Frame>
  <img src="https://mintcdn.com/vastai-80aa3a82-docs-screenshot-updates/FPWqTehcctCOR5ES/images/console-instance-guide-12-light.webp?fit=max&auto=format&n=FPWqTehcctCOR5ES&q=85&s=7177f1a594cdf3dd5d663f56d05e20f2" className="block dark:hidden" alt="Contract info" width="1836" height="500" data-path="images/console-instance-guide-12-light.webp" />

  <img src="https://mintcdn.com/vastai-80aa3a82-docs-screenshot-updates/FPWqTehcctCOR5ES/images/console-instance-guide-12-dark.webp?fit=max&auto=format&n=FPWqTehcctCOR5ES&q=85&s=72bf731e782b7e09167fab3922761699" className="hidden dark:block" alt="Contract info" width="1836" height="500" data-path="images/console-instance-guide-12-dark.webp" />
</Frame>

* Instance age (time since creation)
* Rental end date
* Remaining duration

## Instance Operations

### Starting, Stopping, and Destroying

<Frame>
  <img src="https://mintcdn.com/vastai-80aa3a82-docs-screenshot-updates/FPWqTehcctCOR5ES/images/console-instance-guide-5-light.webp?fit=max&auto=format&n=FPWqTehcctCOR5ES&q=85&s=6dbe4828ccacd5e1d0168cd87e38e008" className="block dark:hidden" alt="Stop and Destroy buttons" width="1836" height="500" data-path="images/console-instance-guide-5-light.webp" />

  <img src="https://mintcdn.com/vastai-80aa3a82-docs-screenshot-updates/FPWqTehcctCOR5ES/images/console-instance-guide-5-dark.webp?fit=max&auto=format&n=FPWqTehcctCOR5ES&q=85&s=1aba27a5a1bd6b77e75ef49a022d723f" className="hidden dark:block" alt="Stop and Destroy buttons" width="1836" height="500" data-path="images/console-instance-guide-5-dark.webp" />
</Frame>

* **Stop Button** (square icon): Pauses instance, preserves data, continues storage charges
* **Destroy Button** (trash icon): Permanently deletes instance and all data
* **Restart Button** (play icon): Appears when stopped, attempts to reclaim GPU

<Warning>
  **Important:** Stopped instances continue incurring storage charges. Destroy instances when no longer needed to avoid ongoing costs.
</Warning>

### Restart Behavior

When restarting a stopped instance:

1. Instance enters `SCHEDULING` status
2. Waits for GPU availability
3. If stuck >30 seconds, GPU likely rented by another user
4. Cancel scheduling by clicking stop again
5. Consider creating new instance if GPU unavailable

### Additional Controls

<Frame>
  <img src="https://mintcdn.com/vastai-80aa3a82-docs-screenshot-updates/FPWqTehcctCOR5ES/images/console-instance-guide-13-light.webp?fit=max&auto=format&n=FPWqTehcctCOR5ES&q=85&s=1df8c98338ea0d9cf86ae003608f0666" className="block dark:hidden" alt="Additional controls" width="1836" height="500" data-path="images/console-instance-guide-13-light.webp" />

  <img src="https://mintcdn.com/vastai-80aa3a82-docs-screenshot-updates/FPWqTehcctCOR5ES/images/console-instance-guide-13-dark.webp?fit=max&auto=format&n=FPWqTehcctCOR5ES&q=85&s=95cdade6ae514539272eb7d8f4890993" className="hidden dark:block" alt="Additional controls" width="1836" height="500" data-path="images/console-instance-guide-13-dark.webp" />
</Frame>

* **Label Instance** - Add custom name for identification
* **Reboot Instance** - Restart without data loss
* **View Logs** - Access Docker container logs

## Data Management

<Frame caption="Data movement">
  <img src="https://mintcdn.com/vastai-80aa3a82-docs-screenshot-updates/FPWqTehcctCOR5ES/images/console-instance-guide-7-light.webp?fit=max&auto=format&n=FPWqTehcctCOR5ES&q=85&s=bdf031c6405d8b82ce51a080897ef852" className="block dark:hidden" alt="Data movement" width="1836" height="500" data-path="images/console-instance-guide-7-light.webp" />

  <img src="https://mintcdn.com/vastai-80aa3a82-docs-screenshot-updates/FPWqTehcctCOR5ES/images/console-instance-guide-7-dark.webp?fit=max&auto=format&n=FPWqTehcctCOR5ES&q=85&s=5b5cea38d5bf69973480693705c5f7c3" className="hidden dark:block" alt="Data movement" width="1836" height="500" data-path="images/console-instance-guide-7-dark.webp" />
</Frame>

* **Copy Data** - Transfer between your instances (see [Data Movement](/guides/instances/storage/data-movement))
* **Cloud Sync** - Sync with cloud providers (see [Cloud Sync](/guides/instances/storage/cloud-sync))

<Note>
  Use Cloud Sync only on trusted datacenters (indicated by **Secure** icon).
</Note>

## Connection Quick Reference

For detailed connection instructions, see [Connect to Instances](/guides/instances/connect/overview):

* **SSH button** - Shows SSH command
* **Open button** - Launches web UI
* **IP/Ports button** - Network information

## Troubleshooting Instance States

### Instance Stuck on "Loading"

* Normal for 30 seconds with cached images
* Can take hours with slow internet/large images
* Not charged during loading
* Try machines with faster internet

### Instance Stuck on "Scheduling"

When stopped instances try to restart:

* GPU may be reassigned to other users
* High-priority jobs block restart
* May wait indefinitely for GPU availability
* Consider copying data to new instance

### Instance Stuck on "Connecting"

* Port configuration may be broken
* Report the machine
* Try different machine

### Machine Shows "Offline"

* Lost connection to Vast servers
* Often internet/power issues
* Host notified automatically
* May be maintenance or unforeseen problems

## Important Considerations

### Data Persistence

* **Stopped instances**: Data preserved, storage charges continue
* **Destroyed instances**: All data permanently deleted
* **Before destroying**: Copy important data or sync to cloud

### Contract Expiration

<Warning>
  Expired instances may be deleted 48 hours after expiration. Expired instances cannot restart. Retrieve your data promptly.
</Warning>

### Security

* Hosts can technically access files on their machines
* For sensitive data, use verified datacenters
* Implement encryption for critical data

### IP Addresses

Some instances have dynamic IPs that may change. Check IP type via the IP button on instance card. For static IPs, filter by "Static IP Address" when searching.

## Common Questions

### Can I run Docker inside my instance?

No, instances are already Docker containers. Docker-in-Docker is not supported.

### Do I pay for "Loading" instances?

No, you're not charged while instances show "Loading" status.

### Can I view past instances?

No, destroyed instances cannot be viewed. Recent template history is preserved for configuration reference.

### Why is my machine location showing only ", US"?

This means geolocation couldn't determine the state. It's not an indication of reliability.

### Can I run VMs or bare metal?

Currently only Docker containers are supported. VM and bare-metal options planned for future.

## Next Steps

<CardGroup cols={3}>
  <Card title="Data Movement" href="/guides/instances/storage/data-movement" icon="arrows">
    Transfer files to and from your instances
  </Card>

  <Card title="Reserved Instances" href="/guides/instances/choosing/reserved-instances" icon="calendar">
    Save up to 50% with long-term commitments
  </Card>

  <Card title="Instance Portal" href="/guides/instances/instance-portal" icon="browser">
    Access web services running in your instances
  </Card>
</CardGroup>
