Setting the Notification Topic for an Instance

Set the notification topic for an Autonomous Linux instance to notify you when an event occurs.

When you create an Autonomous Linux instance, it isn't configured to use a notification topic. You must set the topic for the instance. For information about creating and subscribing to topics, see Managing Topics and Managing Subscriptions in the Notifications service documentation.

    1. Open the navigation menu and click Observability & Management. Under Autonomous Linux, click Instances.
    2. Under List scope, select the compartment that contains the instance.
    3. Click the name of the instance.
    4. Click Edit next to Notification topic.
    5. Select the Compartment that contains the notification topic.
    6. Select the Notification topic.
    7. Click Save changes.
  • Use the oci os-management-hub managed-instance update command and required parameters to update the notification topic used by the instance.

    oci os-management-hub managed-instance update --managed-instance-id ocid --notification-topic-id ocid [OPTIONS]

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

  • Run the UpdateManagedInstance operation to edit the notification topic for the instance.