Enabling Resource Metrics for S3 Bucket

To enable Resource Metrics collection for the S3 buckets to be monitored, do the following:

  1. Sign into the AWS Management Console and select S3 from the Services menu at the top of the console (see Figure 1).

    Figure 1 : Selecting the S3 Service

  2. Figure 2 will then appear. From the Buckets list in the left panel of Figure 2, choose the bucket you want to monitor by clicking on it.

    Figure 2 : Selecting the bucket to be monitored

  3. This will open Figure 3. By default, the Objects tab page will be open in Figure 3. Click on the Metrics tab page.

    Figure 3 : Properties of the chosen bucket

  4. Figure 4 will then appear. Scroll down the left panel of Figure 4, until the View additional charts option under Bucket metrics becomes visible. Click on View additional charts.

    Figure 4 : Clicking on View additional charts

  5. Doing so will invoke Figure 5, with the Storage metrics tab page open by default. Now, click on the Request metrics tab page to open it.

    Figure 5 : The Storage metrics tab page of the Bucket metrics page

  6. Figure 6 will then appear. Click the Create filter button in Figure 6 to create a new filter.

    Figure 6 : Clicking on the Create Filter button

  7. When Figure 7 appears, provide a name for the new filter in the Filter name text box. Names can only contain letters, numbers, periods, dashes, and underscores. We recommend using the name EntireBucket for a filter that applies to all objects.

    Figure 7 : Creating a new filter

  8. Then, scroll down Figure 7, so the Scope section comes into view (see Figure 8). From Choose a filter scope, select the This filter applies to all objects in the bucket option. You can also define a filter so that the metrics are only collected and reported on a subset of objects in the bucket. Finally, click the Create filter button in Figure 8.

    Figure 8 : Defining the filter scope

  9. Next, in the Request metrics tab, choose the filter that you just created from the Choose filters drop-down (see Figure 9).

    Figure 9 : Choosing the new filter from the Choose filters drop-down

  10. Repeat steps 1-9 for every S3 bucket that you want to monitor.

After about 15 minutes, CloudWatch begins tracking these request metrics. You can see them in the Request metrics tab. You can see graphs for the metrics in the Amazon S3 or CloudWatch console. Request metrics are billed at the standard CloudWatch rate.