由于Elastiche是一个托管服务,有一个AWS内部账号管理,所以必须在S3策略中加上对于这个AWS内部账号的授权
To grant ElastiCache access to an Amazon S3 bucket
1. Sign in to the AWS Management Console and open the Amazon S3 console athttps://console.aws.amazon.com/s3/.
2. Choose the name of the Amazon S3 bucket that you want to copy the backup to. This should be the S3 bucket you created inStep 1: Create an Amazon S3 Bucket.
3. Make sure that the bucket's region is the same as your ElastiCache backup's region. If it isn't, return toStep 1: Create an Amazon S3 Bucketand create a new bucket in the same region as the cluster you will backup.
4. ChoosePermissions.
5. ChooseAccess Control List.
UnderAccess for other AWS accounts, choose+ Add account.
In the box, add the region's canonical id as shown in the following list:
China (Beijing) and China (Ningxia) Regions:
b14d6a125bdf69854ed8ef2e71d8a20b7c490f252229b806e514966e490b8d83
All other regions:
540804c33a284a299d2547575ce1010f2312ef3da9b3a053c8bc45bf233e4353
6. Set the permissions on the bucket by choosingYesfor:
- List objects
- Write objects
- Read bucket permissions
7. ChooseSave.