- Newest
- Most votes
- Most comments
To configure AWS Backup for cross-account copy jobs for RDS and S3 within the same AWS organization, you've taken several important steps, but there are a few additional considerations and potential issues to address:
-
Ensure that both accounts are part of the same AWS Organization and that AWS Backup's cross-account feature is enabled for the organization.
-
For RDS backups, be aware that cross-account and cross-region copying cannot be done simultaneously. You can do one or the other, but not both in a single operation.
-
The KMS key policy you've provided looks correct, allowing both accounts to use the key. However, make sure the key is actually shared with the destination account through the AWS KMS console or API.
-
Your vault policy looks good, allowing both CopyIntoBackupVault and CopyFromBackupVault actions for both accounts.
-
In addition to the vault and KMS policies, ensure that the IAM role used by AWS Backup in the source account has the necessary permissions to perform cross-account operations. This role should have permissions to access the source resources (RDS/S3) and to perform backup operations.
-
For the destination account, make sure there's an IAM role that allows AWS Backup to copy backups into the destination vault.
-
For RDS specifically, if you're using customer-managed KMS keys to encrypt the database, you need to share this key with the destination account as well.
-
Check that the backup plan in the source account is correctly configured to copy backups to the destination account's vault.
-
Verify that the resource-based policies on the S3 buckets (if applicable) allow access from the AWS Backup service.
-
If you're still encountering "Access Denied" errors, you may need to temporarily enable more verbose logging or CloudTrail to identify exactly which service or action is being denied.
-
Consider using AWS Backup's built-in cross-account copy feature instead of setting up separate copy jobs, as this can simplify the process and permissions management.
If you've verified all these points and are still encountering issues, you may need to reach out to AWS Support for further assistance, as there could be account-specific configurations or limitations at play.
Sources
Creating backup copies across AWS accounts - AWS Backup
AWS BackUp Cross Account | AWS re:Post
Using AWS Backup to backup cross-account to multiple regions | AWS re:Post
Relevant content
- asked 2 years ago
- asked 2 years ago
- asked 2 years ago
- AWS OFFICIALUpdated a month ago
- AWS OFFICIALUpdated a month ago
