A collection of AWS controls related to creating and managed backups for AWS resources. Configuration items include templates to set up AWS Backup Plans which can backup data for AWS services such as DynamoDB, EFS, RDS, Storage Gateway and EC2, as well as Data LifeCycle Manager for EBS snapshots, and a number of compliance rules using AWS Config to ensure that AWS resources are properly backed up

AWS
AWS Backup

Configuration to create AWS Backup plans and vaults. AWS Backup automates the process of backing up of data across AWS services including EFS, DynamoDB, EC2, EBS, Aurora, RDS, and Storage Gateway, as well as setting custom retention policies, access policies, and encryption

CloudFormationTerraformAWS CLI
AWS Backup Plan with Monthly Backup Rule and Tag Based Resource Selection

This CloudFormation template creates a custom backup plan with a scheduled backup rule (monthly at 5AM) and resource selection based on specified tags. The backup plan includes lifecycle policies for deleting backups after 120 days and moving them to cold storage after 30 days. This template assumes that the backup service-linked role already exists in the account.

CloudFormationTerraform
AWS Backup Plan and Vault with Resource Selection based on Resource Ids

This CloudFormation template creates a backup vault and plan for AWS Backup. It includes a custom backup plan with a scheduled backup rule and a resource selection for EC2 instances and RDS databases.

CloudFormationTerraform
AWS Backup Vault with KMS Key Encryption

This CloudFormation template creates a backup vault and a KMS key for encryption. The backup vault is named 'my-backup-vault' and the KMS key is configured to allow IAM user permissions.

CloudFormationTerraform
AWS Backup Audit Manager (Backup Framework)

Configure AWS Backup Audit Manager to audit the compliance of your AWS Backup policies against controls that you define. This template deploys the AWS backup framework (a collection of controls that helps you to evaluate your backup practices) and (optionally) automatic daily reports for the compliance status of the frameworks set up.

CloudFormationTerraformAWS CLI
AWS Backup Audit Manager (Backup Jobs Report)

Configure AWS Backup Audit Manager to create automated daily reports on backup job activity. Other reports that can be configured include Backup Restore activity and Backup Copy Jobs activity  This template deploys can (optionally) also audit frameworks to evaluate backup policies for the account.

CloudFormationTerraformAWS CLI
Backup
AWS Backup Framework Example

Creates an AWS Backup Framework with multiple controls for managing backup configurations and requirements.

Terraform
AWS Backup Plan Creation

Creates an AWS Backup plan with a specific rule and lifecycle settings, including advanced backup settings for EC2.

Terraform
AWS Backup Region Settings Configuration

Configures AWS Backup region settings to opt in specific AWS resource types for backup and manage preferences for certain resources.

Terraform
AWS Backup Report Plan Creation

Creates an AWS Backup Report Plan with specified formats, S3 bucket, and report settings.

Terraform
Select Backups by Conditions

Configures AWS Backup to select resources for backup based on multiple conditions.

Terraform
Select Backups by Resource

Configures AWS Backup to select specific resources for backup by specifying resource ARNs.

Terraform
Select Backups by Not Resource

Configures AWS Backup to exclude specific resources from backup by specifying resource ARNs.

Terraform
AWS Backup Vault with Custom Access Policy

Creates an AWS Backup vault and attaches a custom access policy to it, allowing specified backup-related actions.

Terraform
AWS Backup Plan Minimum Frequency and Retention Check

A Config rule that checks if a backup plan has a backup rule that satisfies the required frequency and retention period. The rule is NON_COMPLIANT if recovery points are not created at least as often as the specified frequency or expire before the specified period.

CloudFormationTerraformAWS CLI
AWS Backup Recovery Points are Encrypted

A Config rule that checks if a recovery point is encrypted. The rule is NON_COMPLIANT if the recovery point is not encrypted.

CloudFormationTerraformAWS CLI
AWS Backup Recovery Point Manual Deletion is Disabled

A Config rule that checks if a backup vault has an attached resource-based policy which prevents deletion of recovery points. The rule is NON_COMPLIANT if the Backup Vault does not have resource-based policies or has policies without a suitable 'Deny' statement.

CloudFormationTerraformAWS CLI
AWS Backup Recovery Point Minimum Retention Check

A Config rule that checks if a recovery point expires no earlier than after the specified period. The rule is NON_COMPLIANT if the recovery point has a retention point that is less than the required retention period.

CloudFormationTerraformAWS CLI