Creating report plans using the Amazon Backup console - Amazon Backup
Services or capabilities described in Amazon Web Services documentation might vary by Region. To see the differences applicable to the China Regions, see Getting Started with Amazon Web Services in China (PDF).

Creating report plans using the Amazon Backup console

There are two types of reports. One type is a jobs report, which shows jobs finished in the last 24 hours and all active jobs. The second type of report is a compliance report. Compliance reports can monitor resource levels or the different controls that are in effect. When you create a report, you choose which type of report to create.

NOTE: Depending on your type of account, the console display may vary. Only management accounts will see multi-account functionality.

Similar to a backup plan, you create a report plan to automate the creation of your reports and define their destination Amazon S3 bucket. A report plan requires that you have an S3 bucket to receive your reports. For instructions on setting up a new S3 bucket, see Step 1: Create your first S3 bucket in the Amazon Simple Storage Service User Guide.

To create your report plan in the Amazon Backup console
  1. Open the Amazon Backup console at https://console.amazonaws.cn/backup.

  2. In the left navigation pane, choose Reports.

  3. Choose Create report plan.

  4. Choose one of the report templates from the dropdown list.

  5. Enter a unique Report plan name. The name must be between 1 and 256 characters, starting with a letter, and consisting of letters (a-z, A-Z), numbers (0-9), and underscores (_).

  6. (Optional) Enter a Report plan description.

  7. Compliance report templates for one account only. Choose one or more frameworks on which to report. You can add a maximum 1,000 frameworks to a report plan.

    1. Choose your Amazon Region using the dropdown.

    2. Choose a framework from that Region using the dropdown.

    3. Choose Add framework.

  8. (Optional) To add tags to your report plan, choose Add tags to the report plan.

  9. If you are using a management account, you can specify which accounts you want to include in this report plan. You can select Only my account, which will generate reports on just the account to which you’re currently logged in. Or, you can select One or more accounts in my organization (only available to management accounts).

  10. (If you are creating a compliance report for one Region only, skip this step). You can select which Regions to include in your report. Click the drop down menu to show Regions available to you. Select All available Regions or the Regions you prefer.

    1. The Include new Regions when they are incorporated into Backup Audit Manager check box will trigger new Regions to be included in your reports when they become available.

  11. Choose the File format of your report. All reports can be exported in CSV format. Additionally, reports for a single region and a single Region can be exported in JSON format.

  12. Choose your S3 bucket name using the dropdown list.

  13. (Optional) Enter a bucket prefix.

    Amazon Backup delivers your current account, current Region reports to s3://your-bucket-name/prefix/Backup/accountID/Region/year/month/day/report-name.

    Amazon Backup delivers your cross-account reports to s3://your-bucket-name/prefix/Backup/crossaccount/Region/year/month/day/report-name

    Amazon Backup delivers your cross-Region reports to s3://your-bucket-name/prefix/Backup/accountID/crossregion/year/month/day/report-name

  14. Choose Create report plan.

Next, you must allow your S3 bucket to receive reports from Amazon Backup. After you create a report plan, Amazon Backup Audit Manager automatically generates an S3 bucket access policy for you to apply.

If you encrypt your bucket using a custom KMS key, ensure that key has Amazon Backup as a user. The permission s3:PutObject is necessary to complete this operation. The policy AWSServiceRolePolicyForBackupReports has this permission.

To view and apply this access policy to your S3 bucket
  1. Open the Amazon Backup console at https://console.amazonaws.cn/backup.

  2. In the left navigation pane, choose Reports.

  3. Under Report plan name, select a report plan by choosing its name.

  4. Choose Edit.

  5. Choose View access policy for S3 bucket. You can also use the policy at the end of this procedure.

  6. Choose Copy permissions.

  7. Choose Edit bucket policy. Note that until the backup report is created the first time, the service-linked role referred to in the S3 bucket policy will not yet exist, resulting in the error "Invalid principal".

  8. Copy the permissions to the Policy.

Sample bucket policy

{ "Version":"2012-10-17", "Statement":[ { "Effect":"Allow", "Principal":{ "AWS":"arn:aws:iam::11111111:role/aws-service-role/reports.backup.amazonaws.com/AWSServiceRoleForBackupReports" }, "Action":"s3:PutObject", "Resource":[ "arn:aws:s3:::BucketName/*" ], "Condition":{ "StringEquals":{ "s3:x-amz-acl":"bucket-owner-full-control" } } } ] }