You can view the console output of an instance, for example to troubleshoot kernel problems or system errors. The console provides the most recent 64 KiB output.

On Windows instances, the console is accessible only on the first boot. It returns no output after the first reboot.

The following procedures are available:

Viewing the Console Output of an Instance Using Cockpit

  1. Click Compute > Instances.

  2. Click the instance whose console output you want to view.

  3. Click Console Output .
    The CONSOLE OUTPUT dialog box appears.

    By default, the console output is automatically refreshed every 3 seconds. You can uncheck the Enable auto-refresh box to disable auto-refresh.


Corresponding API Method

Viewing the Console Output of an Instance Using AWS CLI

  • To view the console output of an instance, use the get-console-output command following this syntax:

    Request sample
     $ aws ec2 get-console-output \
        --profile YOUR_PROFILE \
        --instance-id i-12345678 \
        --endpoint https://fcu.eu-west-2.outscale.com

    This command contains the following attributes that you need to specify:

    • (optional) profile: The named profile you want to use, created when configuring AWS CLI. For more information, see Installing and Configuring AWS CLI.
    • instance-id: The ID of the instance.
    • endpoint: The endpoint corresponding to the Region you want to send the request to.


    The get-console-output command returns the following elements:

    • InstanceID: The ID of the instance.

    • Output: The console output, decoded from its original Base64-encoded form.

    • Timestamp: The time the output was updated for the last time, in ISO 8601 format.
    Result sample
    {
        "InstanceId": "i-12345678",
        "Output": "...",
        "Timestamp": "2018-01-01T13:00:00.176Z"
    }




AWS™ and Amazon Web Services™ are trademarks of Amazon Technologies, Inc or its affiliates in the United States and/or other countries.

Windows® is a registered trademark of Microsoft Corporation in the United States and/or other countries.