Detaching Instances from a Group

Remove an instance from a group in Autonomous Linux so that it's no longer associated with the group.

What happens when an instance leaves the group?

No changes are made to the OS content on the instance. The software on the instance remains as it was when the instance left the group. The instance is no longer managed as part of the group and won't be included in any recurring group jobs. Consider creating recurring update jobs for the instance to ensure it receives regular security and other updates.

    1. Open the navigation menu and click Observability & Management. Under Autonomous Linux, click Groups.
    2. Under List scope, select the compartment that contains the group you're interested in.
    3. Click the name of the group.
    4. Under Resources, click Group members.
    5. Select the instances to remove from the group.
    6. Click Detach instances.
    7. Verify the instances to be detached, and then click Detach.
  • Use the oci os-management-hub managed-instance-group detach-managed-instances command and required parameters to detach instances from a group.

    oci os-management-hub managed-instance-group detach-managed-instance --group-id ocid --managed-instances instances.json [OPTIONS]

    For a complete list of flags and variable options for CLI commands, see the Command Line Reference.

  • Run the DetachManagedInstancesFromManagedInstanceGroup operation to detach instances from a group.