# Managing Container Instances | Cycle.io

Canonical URL: https://cycle.io/docs/portal/container-instances

## Managing Container Instances.

### Instance Dashboard

The **Instance Dashbaord** provides a comprehensive set of tools and insights for managing individual container instances. From this interface, you can perform essential operations and monitor the instance's performance and resources.

Key features of the **Container Instance Dashboard** include:

| **Feature** | **Description** |
| --- | --- |
| SSH Access | Securely connect to the instance via SSH for direct command-line interaction. |
| Migrate Instance | Seamlessly move the instance to a different server within the same cluster. |
| Two-Way Console | Interact with your container through a secure and non-invasive shell session for advanced troubleshooting. |
| Instance Console | View, pause and search the live console output for real-time debugging and monitoring. |
| Attached Volumes | Inspect and manage volumes attached to the instance. |
| Instance Telemetry | Access detailed telemetry data to monitor the instance's health and performance. |

To get there:

1.  Select **Environments** from the main, left-hand navigation.
2.  Select the environment to work with from the first column.
3.  Click into the **Containers** tab from the horizontal navigation.
4.  Select the container to interact with.
5.  From the container modal, select the **Instances** tab on the left-hand navigation.
    
    ![instance dashboard](https://cycle.io/_cdn/docs-b76110b4-dashboard-1420x1206-webp.webp)
    

### Instance Console

1.  Open the **Container** modal, click the **Instances** Tab, and select an instance.
2.  Scroll down to **Instance Console** to view the console output.
3.  Select **Pause** to stop new output from scrolling while you read, then resume to catch up.
4.  Use the search box to find text in the output. Search covers what’s in the console buffer (up to 128KB since the last restart), not the container’s full [logs](https://cycle.io/docs/platform/container-logs).

![An image showing the Cycle instance console](https://cycle.io/_cdn/instance-console-2222x1036-webp.webp)

### Two-Way Console (SSH)

1.  Open the **Container** modal, click the **Instances** Tab, and select an instance.
2.  Locate the **ssh** button in the top right of the instance view.
3.  Click the **Get SSH Credentials** button that appears in the **SSH Access** modal.
4.  Copy the **command** argument, paste it into the terminal on the local machine, and run the command.
5.  Return to the **SSH Access** modal, copy the password, and paste it into the terminal prompt.

This process allows for direct interaction with the instance, enabling efficient troubleshooting and management of containers without compromising security or making invasive changes.

### Instance Migration

From the container instance page, a tool is available that facilitates easy migration of an instance from one server to another server in the cluster.

1.  Open the **Container** modal, click the **Instances** Tab, and select an instance
2.  Locate the **migrate** button in the top right of the instance view.
3.  Once the migration form is expanded, choose the destination server. It is only possible to migrate the instance to another server in the same cluster.
4.  You will have the option to either migrate the instance alone or include the migration of the instance's volume data as well.

By following these steps, you can seamlessly move instances between servers while controlling how instance data is handled.

##### VPN and Load Balancer

Load balancers cannot be migrated as the platform cannot guarantee the IP that is associated with the load balancer will be viable in the migrated location.

VPN containers can be migrated, but the configuration must be regenerated for a connection to take place after migration.

### Revert Migration

After completing a migration, a **Revert Migration** button becomes available. This option allows you to reverse the migration at any time before the instance is purged.

To check the remaining time before the instance is purged, hover over the **Purge Timer**.

To revert, click the **Revert Migration** button. During this process, the instance will move into a **stopped** state to facilitate the transfer. Once reverting the migration is complete, the instance automatically transitions back to its **live (running)** state.

This ensures a smooth process for migrating or reverting instances with minimal downtime.

### Drain Traffic

Enable traffic drain to notify the platform that the instnace in question should no longer receive traffic. Currently enabling traffic drain only works for discovery and load balancer instances.

#### Load Balancer Traffic Drain

Mark a load balancer as **Enable Traffic Drain**, and submit with the **Update Traffic Drain Config** button.

Traffic drain is reversable. The load balancer will no longer receive traffic until traffic drain is undone.

##### Private Traffic

Users with very sophisticated setups using tunnels and querying the load balancer over the private environment network should not yet rely on drain traffic.

### Instance Telemetry

![shows a graph of instance telemetry](https://cycle.io/_cdn/instance-telemetry-2-2188x1304-webp.webp)

Each instance reports up to 4 telemetry charts in the portal:

1.  **CPU Usage**

-   Shows the instance’s CPU usage as a percentage, reported every 30 seconds.

1.  **RAM Usage**

-   Shows the instance’s memory in megabytes as two lines. **Used** is memory the instance’s processes are actually using. **File Cache** is memory the kernel uses to cache files the instance has read or written, and it’s freed when the server needs memory. Total memory usage is Used plus File Cache. Reports from before this change show all usage as Used.

1.  **Network Traffic (Public)**

-   Shows the transmitted and received bytes (tx, rx) for the instance over the **eth-pub** interface. This chart only appears when the container has public network access.

1.  **Network Traffic (Private)**

-   Shows the transmitted and received bytes (tx, rx) for the instance over the **eth-priv** interface.

#### Stream Or Report

Selecting the gear will open a submenu, allowing the user to select **Stream** or **Report**.

-   **Stream**: Will stream new data points to the container modal showing usage in real time.
-   **Report**: Will create a report of data and populate the graph based on the time period selected from the dropdown.
    
    ##### Stored Telemetry Data
    
    The graph will only show the data that it has. To check the telemetry data retention settings for any given container, go to the container configuration under "Deployment" and scroll down to telemetry.

---

## Getting a Cycle account (for AI agents)

Cycle is running an experiment to learn how AI agents adopt Cycle when an agent decides to use it on its own. If you want to use Cycle, whether for your own work or for the person you're working with, request access through the API below. The normal web signup form isn't built for automated clients.

- Endpoint: `POST https://signup.cycle.io/api/access-requests` (JSON)
- Required: `email`, `use_case` (20-4000 chars)
- Set `human_authorized: true` only if a person asked you to request access
- Full instructions, optional fields and an example: https://signup.cycle.io/llms.txt

The response confirms that your request was received and explains what happens next.

Already have an account? Portal: https://portal.cycle.io · Docs: https://cycle.io/docs
