25_Creating a Topic and Notification in Oracle Cloud Infrastructure (OCI) - Nirvan-Pandey/OCI_DOC GitHub Wiki

25_1: Overview

In Oracle Cloud Infrastructure (OCI), a topic is a communication channel used to send notifications to multiple subscribers. Notifications are messages sent to alert users about important events or changes in the cloud environment. Topics and notifications are essential for ensuring timely awareness and response to critical events, enhancing the overall management and security of your cloud resources.

25_2: Step-by-Step Guide

Step 1: Create a Topic

  • Navigate to the OCI Console:

    Menu-->Developer Services-->Notifications-->Topics

image

  • Create a New Topic:

Note: Always create a Topic in the Root compartment, so that it can be used for services in any compartment.

image

The name should be the name of the team who is going to get the alarm. Click create.

image

Topic has been created in the root compartment.

image

Step 2: Create a Subscription

  • Click on the topic you just created.

  • Click on the Create Subscription.

image

  • Select the email protocol (e.g., Email, HTTPS).

  • Enter the email address endpoint (e.g., email address or URL).

  • Click "Create" to add the subscription.

image

  • Confirm the Subscription:

The subscription has been created. However, it needs to be confirmed.

image

Go to the email and confirm it.

image

Subscription hase been confirmed.

image

Subscription is active now.

image

  • Notifiction on phone via sms.

If anybody needs notification sms, you can choose sms and put the details.

image