I am trying to load data from the s3 bucket to amazon RDS database. I know this is not the programming question. But I really appreciate help. I have used the code below:
aws rds restore-db-instance-from-s3 ^
--allocated-storage 250 ^
--db-instance-identifier myidentifier ^
--db-instance-class db.m4.large ^
--engine mysql ^
--master-user-name masterawsuser ^
--master-user-password masteruserpassword ^
--s3-bucket-name mybucket ^
--s3-ingestion-role-arn arn:aws:iam::account-number:role/rolename ^
--s3-prefix bucketprefix ^
--source-engine mysql ^
--source-engine-version 5.6.27
But I am getting the below error, though I have given correct ARN number:
“An error occurred (InvalidParameterValue) when calling the RestoreDBInstanceFrom S3 operation: IAM role ARN value is invalid or does not include the required permissions for: S3_SNAPSHOT_INGESTION”
Any comments on this?
Thanks
S3_SNAPSHOT_INGESTION
? – InvisibleS3_SNAPSHOT_INGESTION
. – Rudderpostrestore-db-instance-from-s3
doesn't provide a lot of information Import RDS from S3, you can follow Importing Data into an Amazon RDS MySQL DB Instance that lists specific IAM policies for importing from S3. – Anapest