Skip to main content

Configure event notifications

Contributors netapp-madkat netapp-perveilerk ssantho3 netapp-lhalbert

The notifications service is one of the three StorageGRID platform services. You can enable notifications for a bucket to send information about specified events to a destination service that supports the AWS Simple Notification Service™ (SNS).

Before you begin
  • Platform services were enabled for your tenant account by a StorageGRID administrator.

  • You have already created a bucket to act as the source of notifications.

  • The endpoint that you intend to use as a destination for event notifications already exists, and you have its URN.

  • You belong to a user group that has the Manage all buckets or Root access permission. These permissions override the permission settings in group or bucket policies when configuring the bucket using the Tenant Manager.

About this task

After you configure event notifications, whenever a specified event occurs for an object in the source bucket, a notification is generated and sent to the Simple Notification Service (SNS) topic used as the destination endpoint. To enable notifications for a bucket, you must create and apply valid notification configuration XML. The notification configuration XML must use the URN of an event notifications endpoint for each destination.

For general information about event notifications and how to configure them, see Amazon documentation. For information about how StorageGRID implements the S3 bucket notification configuration API, see the instructions for implementing S3 client applications.

If you enable event notifications for a bucket that contains objects, notifications are sent only for actions that are performed after the notification configuration is saved.

  1. Enable notifications for your source bucket:

    • Use a text editor to create the notification configuration XML required to enable event notifications, as specified in the S3 notification API.

    • When configuring the XML, use the URN of an event notifications endpoint as the destination topic.

  2. In the Tenant Manager select STORAGE (S3) > Buckets.

  3. Select the name of the source bucket.

    The bucket details page appears.

  4. Select Platform services > Event notifications.

  5. Select the Enable event notifications checkbox.

  6. Paste the notification configuration XML into the text box, and select Save changes.

    screenshot of event notification configuration dialog box
    Note Platform services must be enabled for each tenant account by a StorageGRID administrator using the Grid Manager or Grid Management API. Contact your StorageGRID administrator if an error occurs when you save the configuration XML.
  7. Verify that event notifications are configured correctly:

    1. Perform an action on an object in the source bucket that meets the requirements for triggering a notification as configured in the configuration XML.

      In the example, an event notification is sent whenever an object is created with the images/ prefix.

    2. Confirm that a notification has been delivered to the destination SNS topic.

      For example, if your destination topic is hosted on the AWS Simple Notification Service (SNS), you could configure the service to send you an email when the notification is delivered.


    If the notification is received at the destination topic, you have successfully configured your source bucket for StorageGRID notifications.