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 176).

    Figure 176 : Selecting the S3 Service

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

    Figure 177 : Selecting the bucket to be monitored

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

    Figure 178 : Properties of the chosen bucket

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

    Figure 179 : Clicking on View additional charts

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

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

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

    Figure 181 : Clicking on the Create Filter button

  7. When Figure 182 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 182 : Creating a new filter

  8. Then, scroll down Figure 182, so the Scope section comes into view (see Figure 183). 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 183.

    Figure 183 : 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 184).

    Figure 184 : 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.