Configure a schedule to download AWS billing data

Scheduled jobs fetch the data that the system uses to generate Amazon S3 billing reports.

Before you begin

Role required: cloud_admin, aws_admin

Configure AWS Cost and Usage reports on the Amazon console:

For AWS Cost and Usage Reports procedures, go to AWS Documentation and navigate to Additional Software and Services > AWS Billing and Cost Management > User Guide > Viewing Your Bill > Understanding Your Usage with Billing Reports > Turning on Billing Reports and follow the procedure to turn on detailed billing reports with these settings:
  • Under Preferences, the Receive Billing Reports check box must be selected.
  • The Amazon S3 bucket where you want AWS to publish your detailed billing reports must be designated. In addition, the credential used to access this report must have permissions to this S3 bucket.
  • Under Report, the Detailed billing report with resources and tags check box must be selected for EC2 usage reports.
  • If you use tags to manage reporting information, click Manage Report Tags and select the desired tags to include in the report under Cost Allocation Tags.

About this task

The billing file generated needs to be at the root directory of the bucket defined on the report schedule in this format:

<your-acct-num>-aws-billing-detailed-line-items-with-resources-and-tagsXXX

If this file is not available when the report is run, a NoSuchKey error may occur.

Note: If a billing report job is deleted, all associated scheduled jobs are deleted.

Procedure

  1. Navigate to Amazon AWS Cloud > Administration > Report Schedule.
  2. Select an existing report job, or click New and fill in the fields as appropriate.
    Field Description
    Job Name Name of the scheduled job that will run the report.
    AWS Account Name of the AWS account to run the billing report on.
    Credential AWS account credentials.
    Bucket The S3 bucket of the AWS account that contains the data.
    Scheduler [read-only] Name of the script that generates the report.
    Last Execution [read-only] Completion timestamp of the most recent run.
    Last Successful Execution [read-only] Completion timestamp of the most recent run that has a State of success.
    Last Executed State [read-only] State of the job that ran most recently.
    Current Job Status Status of the currently running report. This field appears when you click Execute Now.
  3. Click Submit.