AWS Root login Notification

AWS Root login Notification

September 10, 2021 / Eternal Team

If you have a large number of users of the S3 bucket, You want to monitor specific events or all events that occur in the bucket. That you can monitor via Email or SMS notification.

  • Create S3 bucket with public access or restricted public access Link.
  • Create an SNS Topic Link.
  • And create an email subscription Link.
  • And confirmation send to the given email address
    Confirm subscription.
  • In the SNS topic,
    Edit Access Policy
    Paste this policy in Access Policy.
  "Version": "2008-10-17",
  "Id": "__default_policy_ID",
  "Statement": [
      "Effect": "Allow",
      "Principal": {
        "AWS": "*"
      "Action": "SNS:Publish",
      "Resource": "your sns topic arn",
      "Condition": {
        "StringEquals": {
          "aws:SourceArn": "your s3 bucket arn"


  • Instead of your sns topic arn ==== Paste your SNS topic arn Instead of your s3 bucket arn ==== Paste your S3 bucket arn Link.
  • Now Go to Created Bucket in the Properties section Link.
  • Go to Create event notification Link.
  • In Event Type, You can choose all events if you wish to get the notification for all events. In choosing Put and Delete events. Link.
  • In destination, Select the SNS topic that you created before, Link.

And Save Changes.

Now try to upload an object in the s3 bucket, After uploading successfully you will get an email notification.

Now try to delete the object in the s3 bucket, you will get an email notification.

This way, You can also get notifications for all events in the S3 bucket.


Talk to AWS Certified Consultant

    Want to start a project?

    It’s simple.

    Contact us