S3 Features: Cloudwatch Metrics and Event Notifications

S3 CloudWatch Metrics

You can use the AWS Management Console to enable the generation of 1-minute CloudWatch metrics for your S3 bucket or configure filters for the metrics using a prefix or object tag. You may also call the S3 PUT Bucket Metrics API.

Storage metrics will be available in CloudWatch within 15 minutes of being enabled.

You can use CloudWatch to set thresholds on any of the storage metrics counts, timers, or rates and fire an action when the threshold is breached.

S3 CloudWatch Metrics are priced as custom metrics for Amazon CloudWatch.

 

S3 Event Notification

S3 event notifications enable you to run workflows, send alerts, or perform other actions in response to changes in your objects stored in S3. 

S3 event notifications can be sent in response to actions in Amazon S3 like PUT, POST, COPY, or DELETE.

Can set up event notifications based on object name prefixes and suffixes. 

Notification messages can be sent through either SNS, SQS, or directly to AWS Lambda.

 

Supported Events:

  1. A new object created even

    1. Amazon S3 supports multiple APIs to create objects.

    2. You can request notification when only a specific API is used (e.g., s3:ObjectCreated:Put) or you can use a wildcard (e.g., s3:ObjectCreated:*) to request notification when an object is created regardless of the API used.

  2. An object removal event

    1. Amazon S3 supports deletes of versioned and unversioned objects. For information about object versioning, see Object Versioning and Using Versioning.

    2. You can request notification when an object is deleted or a versioned object is permanently deleted by using the s3:ObjectRemoved:Delete event type. Or you can request notification when a delete marker is created for a versioned object by using s3:ObjectRemoved:DeleteMarkerCreated. You can also use a wildcard s3:ObjectRemoved:* to request notification anytime an object is deleted. For information about deleting versioned objects, see Deleting Object Versions.

  3. A Reduced Redundancy Storage (RRS) object lost event

    1. Amazon S3 sends a notification message when it detects that an object of the RRS storage class has been lost.

 

Pricing:

There are no additional charges from Amazon S3 for event notifications. You pay only for use of any resources like SNS, SQS, Lambda etc. 

Learn Serverless from Serverless Programming Cookbook

Contact

Please first use the contact form or facebook page messaging to connect.

Offline Contact
We currently connect locally for discussions and sessions at Bangalore, India. Please follow us on our facebook page for details.
WhatsApp (Primary): (+91) 7411174113
Phone (Escalations): (+91) 7411174114

Business newsletter

Complete the form below, and we'll send you an e-mail every now and again with all the latest news.

About

CloudMaterials is my blog to share notes and learning materials on Cloud and Data Analytics. My current focus is on Microsoft Azure and Amazon Web Services (AWS).

I like to write and I try to document what I learn to share with others. I believe that knowledge is useless unless you share it; the more you share, the more you learn.

Recent comments

Photo Stream