Powering an Instance On and Off for a Roving Edge Infrastructure Device

Describes how to power a compute instance on or off on your Roving Edge Infrastructure devices.

Note

The Device Console does not accurately reflect the instance's lifecycle state. It displays the instance state as Running when actually in a Started state. Use the CLI method to accurately determine the instance lifecycle state when powering on and off.

See Stopping and Starting an Instance in the Oracle Cloud Infrastructure documentation for more information on this feature.

    1. Open the navigation menu and select Compute > Instances. The Instances page appears. All instances are listed in tabular form.

    2. Select a State from the list to limit the instances displayed to that state.

    3. Click the instance that you want to power on or off. The instance's Details page appears.

    4. Click one of the following actions:

      • Start: Restarts a stopped instance.

      • Stop: Gracefully shuts down the instance by sending a shutdown command to the operating system.

        Note

        If the applications that run on the instance take a long time to shut down, they could be improperly stopped, resulting in data corruption. To avoid this occurrence, shut down the instance using the commands available in the OS before you stop the instance using the Device Console.

      • Reboot: Gracefully reboots the instance by sending a shutdown command to the operating system, and then powers the instance back on.

  • Use the oci compute instance action command and required parameters to power on or off a compute instance on your Roving Edge Infrastructure devices:

    oci compute instance action --instance-id instance_ocid --action action [OPTIONS]

    Refer to your Roving Edge Infrastructure device's CLI help for a list of parameters available for this command. See Accessing Command Line Interface Help.

    For set up information regarding CLIs on your Roving Edge Infrastructure device, see Using the Command Line Interface.

  • Run the InstanceAction method to power on or off a compute instance on your Roving Edge Infrastructure devices.