Logging S3 Access Requests | Scribe

    Logging S3 Access Requests

    • Hafeez Baig |
    • 10 steps |
    • 33 seconds
    information ordinal icon

    Refer to the following guide to learn how to use IAM in the cloud\ <https://scribehow.com/shared/Creating_an_IAM_User_and_User_Group_in_AWS_Management_Console__hWNiiXlcRJKFqYZZEJD-cg>

    1

    Sign in to **AWS Management Console** as an **IAM User** **Pre-requisite** - Ensure you have selected the AWS region closest to your location\ For this guide, we will be using us-east-2 (Ohio) as a preferred choice

    2

    Type **S3** in the search bar and click on **S3** to view the S3 Dashboard

    information ordinal icon

    **What is Amazon S3?** Amazon Simple Storage Service (Amazon S3) is a scalable object storage service provided by Amazon Web Services (AWS). It is designed to store and retrieve any amount of data from anywhere on the web. S3 offers high availability, durability, and security for data storage needs.

    3

    On the S3 dashboard, select the bucket with the Name **my-aws-bucket-in28minutes**

    information ordinal icon

    Refer to the following guide to learn how to create S3 Bucket<https://scribehow.com/shared/Creating_an_S3_Bucket_and_Exploring_the_UI__0TFMdpbkQvS6jOisdkQjeA>

    4

    **my-aws-bucket-in28minutes** wizard will open, click on the **Properties** tab

    5

    Scroll to the **Server access logging** section

    information ordinal icon

    **What is Server access logging in AWS?** In AWS (Amazon Web Services), Server Access Logging refers to a feature provided by Amazon S3 (Simple Storage Service) that enables you to capture detailed information about requests made to your S3 buckets.

    6

    Click on the **Edit** button on the right side

    7

    **Edit server access logging** wizard will open, click on the **Enable** option for **Server access logging**

    8

    Scroll to the **Destination** section and click on the **Browse S3** button and select the **s3://my-aws-bucket-in28minutes/logs/** URL

    9

    Scroll the page and click on **Save changes** button

    10

    Successfully edited server access logging

    information ordinal icon

    In conclusion, enabling server access logging in an S3 bucket allows for monitoring and tracking of object access, providing valuable insights into usage patterns. By configuring logging settings and granting appropriate permissions to the S3 log delivery group, users ensure that access logs are delivered to the designated bucket. Although log delivery may take several hours, this feature enhances visibility and accountability within the AWS environment.

    information ordinal icon

    Congratulations on completing this lab and successfully configuring logging for S3 access requests! Good job!