Setting Up Contextual Notifications for an Instance
You can get messages when something happens with a compute instance. Use contextual notifications to create event rules and alarms for an instance. Quick start templates are available.
For background information about notifications, see notification (Notifications Concepts).
Required IAM Policy
To set up contextual notifications for an instance, use the following policy.
allow group ContextualNotificationsUsers to manage alarms in tenancy
allow group ContextualNotificationsUsers to read metrics in tenancy
allow group ContextualNotificationsUsers to manage ons-topics in tenancy
allow group ContextualNotificationsUsers to manage cloudevents-rules in tenancy
If you're new to policies, see Getting Started with Policies and Common Policies. For reference material about writing policies for instances, cloud networks, or other Core Services API resources, see Details for the Core Services.