AWS Detailed Reporting

Alien
3 min readFeb 20, 2019

--

In this article I am going to show how to activate detailed reporting in AWS. AWS has made it easy to get an detailed report of the resources utilized in AWS Account. The detailed reporting consists of tag wise breakdown of each resource used in the aws account.

Steps:

Sign in as root user in your AWS account.

Click on My Billing Dashboad

Billing Dashboard

Click on Preferences

Select the checkbox Receive Billing Reports

Receive Billing Reports

Select Configure and following popup will come up

Configure Bucket

You can either select existing bucket or create a new bucket in which the reports will saved.

Tick I have confirmed that this policy is correct and then click save.

Policy

Click on Bucket policy and paste following policy and save it

{
“Version”: “2008–10–17”,
“Id”: “Policy1335892530063”,
“Statement”: [
{
“Sid”: “Stmt1335892150622”,
“Effect”: “Allow”,
“Principal”: {
“AWS”: “arn:aws:iam::386209384616:root”
},
“Action”: [
“s3:GetBucketAcl”,
“s3:GetBucketPolicy”
],
“Resource”: “arn:aws:s3:::bucket_name
},
{
“Sid”: “Stmt1335892526596”,
“Effect”: “Allow”,
“Principal”: {
“AWS”: “arn:aws:iam::386209384616:root”
},
“Action”: “s3:PutObject”,
“Resource”: “arn:aws:s3:::bucket_name/*”
}
]
}

Bucket Policy

You can click on Verify to check for valid bucket.

AWS creates an object in selected S3 bucket. This object indicates AWS has the appropriate permissions to write to the bucket when you are setting up their report preferences.

You can also configure the granularity of the reports you want to store in the S3 bucket.

Types of Reports

I have selected detailed billing report with resources and tags and AWS created following report for me.

Resources and tags report Example

--

--