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 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:
- Select Environments from the main, left-hand navigation.
- Select the environment to work with from the first column.
- Click into the Containers tab from the horizontal navigation.
- Select the container to interact with.
- From the container modal, select the Instances tab on the left-hand navigation.
Instance Console
- Open the Container modal, click the Instances Tab, and select an instance.
- Scroll down to Instance Console to view the console output.
Two-Way Console (SSH)
- Open the Container modal, click the Instances Tab, and select an instance.
- Locate the ssh button in the top right of the instance view.
- Click the Get SSH Credentials button that appears in the SSH Access modal.
- Copy the command argument, paste it into the terminal on the local machine, and run the command.
- 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.
- Open the Container modal, click the Instances Tab, and select an instance
- Locate the migrate button in the top right of the instance view.
- 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.
- 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.
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.
Instance Telemetry
Each instance reports 4 telemetry charts in the portal:
- CPU Usage
- Shows how many milliseconds of usage this instance is consuming over 30 second intervals.
- RAM Usage
- Shows both kernel memory (purple) and RAM consumption (blue) for this instance, in megabytes.
- Network Traffic (Public)
- Shows the transmitted and received bytes (tx, rx) for the instance over the eth-pub interface.
- 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.