Skip to content

AWS CloudFormation templates and Python code for AWS blog post on how to automate centralized backup at scale across AWS services using AWS Backup.

License

Notifications You must be signed in to change notification settings

aws-samples/aws-backup-automation

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

8 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

This solution demonstrates how you can save time using AWS CloudFormation automation to centrally automate and scale the process of implementing AWS Backup policies, backup vaults, and cross-Region, cross-account replication across your multi-account AWS environment. Using this solution, you can easily manage AWS Backup with automation and implement a data protection strategy that mitigates the risk of data loss.. In this repository, you will find all the AWS CloudFormation templates and Python code that will build this solution in your AWS environment.

Solution architecture and design

The workflow and architecture of the solution works as follows:

In the management account (the environment hosting your AWS Organizations):

  1. Opt in to use the AWS Backup service and cross-account management features. See the blog post on how to Automate centralized backup at scale across AWS services using AWS Backup for further details.
  2. aws-backup-member-account-iam-role.yaml: This stackset implements the IAM roles assumed by the AWS Backup service for backup and restore jobs across the member accounts.
  3. aws-backup-member-account.yaml: This stackset implements the local backup vaults and vault AWS KMS encryption keys in the member accounts. We assume that the supported AWS Backup resources in the member accounts are tagged as indicated in the prerequisites section of the blog.
  4. aws-backup-central-backup-account.yaml: This stackset implements the central backup vault, IAM role, vault AWS KMS encryption key, and vault access policy in the central backup account.
  5. aws-backup-org-policy.yaml: This stack implements a Lambda function, Lambda IAM role, and centralized backup policies. The backup policies consist of tag-based and cross-account, cross-Region copy policies that are automatically attached to the root OU and inherited by all AWS Organizations accounts.

Security

See CONTRIBUTING for more information.

License

This library is licensed under the MIT-0 License. See the LICENSE file.

About

AWS CloudFormation templates and Python code for AWS blog post on how to automate centralized backup at scale across AWS services using AWS Backup.

Topics

Resources

License

Code of conduct

Security policy

Stars

Watchers

Forks