Attaching an Instance to a Group

Add an instance to a group in OS Management Hub so that it receives the same content as all other members of the group.

    1. Open the navigation menu and click Observability & Management. Under OS Management Hub, 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. Click Attach instance.
    6. Select the compartment the instance resides in.
    7. Select one or more instances to add to the group, and then click Select instances to attach.
      Note

      Available instances match the location, OS vendor, version, and architecture of the group. Offline instances and instances assigned to another group or lifecycle environment aren't listed.
    8. Repeat the preceding steps to select instances from other compartments.
    9. Review the instances that you selected. To remove instances, select them and click Remove instances from selection.
    10. Click Attach.
  • Use the oci os-management-hub managed-instance-group attach-managed-instances command and required parameters to attach instances to a group.

    oci os-management-hub managed-instance-group attach-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 AttachManagedInstancesToManagedInstanceGroup operation to attach instances to a group.