ECS instances are virtualized cloud-based services that cannot be connected to any display devices and prohibit mobile snapshots. However, the console output of instances are cached at the time of the last startup, restart, or shutdown event. Moreover, you can obtain instance screenshots in real time. We recommend that you can use these features to analyze and troubleshoot instance faults, such as operating system exception diagnosis, abnormal reboots, or unable to connect to instances.

Limits

  • Instances running Windows Server image do not allow you to obtain console ouput.
  • Phased-out instance types do not allow you to obtain instance console ouput or screenshots.
  • You cannot obtain console ouput or screenshots for instances created before January 1, 2018.

Prerequisites

The instance must be in the Running (Running) status. For more information, see Overview.

Procedure

You can view instance console output and screenshot from the Instance Details page, the Instances list page, or by calling API.

Operation in Instance Details page
  1. Log on to the ECS Management Console.
  2. In the left-side navigation pane, click Instances.
  3. Select the region.
  4. Select and click the instance to troubleshoot and go to the Instance Details page.
  5. Click More > Get Instance Screenshot to view the screenshot. Alternatively, click More > Get Instance Console Output to monitor the root console.
  6. Check the instance screenshot or console output.
    • Windows instance screenshot sample:

    • Linux instance screenshot sample:

    • Linux instance console output sample:

Operation in Instances list page
  1. Log on to the ECS Management Console.
  2. In the left-side navigation pane, click Instances.
  3. Select the region.
  4. Locate the instance to troubleshoot and move to the Actions column.
  5. Click More > Operations and Troubleshooting > Get Instance Screenshot to view the screenshot. Alternatively, click More > Operations and Troubleshooting > Get Instance Console Output to monitor the root console.
  6. Check the instance screenshot or console output.
API operations

Next step

For other troubleshooting instructions, see Link testing tool for ping packet loss or ping failure.