Setting up an Amazon S3 bucket for Cost and Usage Reports - Cost and usage report

Setting up an Amazon S3 bucket for Cost and Usage Reports

To receive billing reports, you must have an Amazon S3 bucket in your AWS account to store your reports. Reports show you which AWS services you used, the amount of time that you used them, the amount of data that you transferred in and out of storage, the average storage space that you used, and more. You can specify an existing bucket or create one.

Step 1: Create an Amazon S3 bucket. To create a bucket, see Creating a Bucket in the Amazon Simple Storage Service Console User Guide.

Step 2: Grant Billing and Cost Management permission to deliver reports to your Amazon S3 bucket

To grant Billing and Cost Management permission to deliver reports to your Amazon S3 bucket

  1. Open the Amazon S3 console at https://console.aws.amazon.com/s3/

  2. From the list of buckets, choose the bucket that you want to receive reports in.

  3. Choose Permissions.

  4. Choose Bucket Policy.

  5. Paste the following text into the bucket policy editor.

    { "Version": "2012-10-17", "Statement": [ { "Effect": "Allow", "Principal": { "Service": "billingreports.amazonaws.com" }, "Action": [ "s3:GetBucketAcl", "s3:GetBucketPolicy" ], "Resource": "arn:aws:s3:::bucketname" }, { "Effect": "Allow", "Principal": { "Service": "billingreports.amazonaws.com" }, "Action": "s3:PutObject", "Resource": "arn:aws:s3:::bucketname/*" } ] }
  6. Replace bucketname with the name of your bucket.

  7. Choose Save.

Rates

Storing the billing reports data in your Amazon S3 bucket is billed at standard Amazon S3 rates. For more information, see Quotas and restrictions.