Summary
This article details how to correct the EFS backup error InvalidParameterValueException
Description
The issue is the lack of or incorrect configuration of the Role:
Creating IAM Roles in AWS
A default or custom IAM role is necessary for AWS to perform EFS operations on behalf of N2WS.
To create a default IAM Role:
1. Go to the AWS Backup Service:
https://us-east-1.console.aws.amazon.com/backup/
2. Click the Create an on-demand backup button:
- For Resource type, select EBS.
- For Volume ID, select any EBS volume to backup.
- Select Default IAM Role.
3. Click the Create on-demand backup button. Ignore the error provided by AWS.
Verify that the following role was created on AWS IAM Service:
To create a custom IAM Role:
1. Go to AWS IAM Service:
https://console.aws.amazon.com/iam/home#/roles
2. Click the Create role button.
3. Select AWS Backup and click Next: Permissions.
4. Search for BackupService.
5. Select the following AWS managed policies:
- AWSBackupServiceRolePolicyForBackup
- AWSBackupServiceRolePolicyForRestores
6. Click Next: Tags and then click Next: Review.
7. Enter a Role name and click Create role.
For more details on how to configure N2WS Backup and Recovery for EFS see the CPM User Guide:
https://docs.n2ws.com/user-guide/8-using-elastic-file-system-efs#8-1-configuring-efs
Confirmation Steps
After the steps above rerun the backup and it should be successful.
Comments
0 comments
Please sign in to leave a comment.