CmdID

CmdID / aws / aws lightsail

aws lightsail reboot-instance

Restarts a specific instance. AWS CLI reference

1 example 1 option Its page in the AWS CLI reference

Opens CmdID with your command. It is read in your browser and sent nowhere.

Examples

from aws-cli, each command read by CmdID

To reboot an instance

The following reboot-instance example reboots the specified instance.

aws lightsail reboot-instance --instance-name MEAN-1Identify
--instance-nameThe name of the instance to reboot.
Its output
{
    "operations": [
        {
            "id": "a1b2c3d4-5678-90ab-cdef-EXAMPLE11111",
            "resourceName": "MEAN-1",
            "resourceType": "Instance",
            "createdAt": 1571694445.49,
            "location": {
                "availabilityZone": "us-west-2a",
                "regionName": "us-west-2"
            },
            "isTerminal": true,
            "operationDetails": "",
            "operationType": "RebootInstance",
            "status": "Succeeded",
            "statusChangedAt": 1571694445.49
        }
    ]
}

For more information, see Start, stop, or reboot your Lightsail instance in the Amazon Lightsail User Guide.

Options

1 in the AWS CLI reference
--instance-nameThe name of the instance to reboot.