I have some AWS accounts that is not under an AWS Organization, one is used as master account, the others as member account. I want to export AWS Cost & Usage Report by CSV to master account S3 bucket, and use it in QuickSight.
Of course I can create a lambda function in each member accounts, use a PutObject
trigger and transfer CSV files to master account.
But is there an easier way to do that?
※Some thing like use a cross account S3 bucket as member account AWSCUR export destination, etc.
CodePudding user response:
There is no built-in way to export AWS Cost & Usage reports to an S3 bucket owned by another account.
Your problem is exactly why AWS Organisations exist - to view & analyse collated data.
If for whatever reason you can't use AWS Organisations, you have 2 "easy" options:
- Allow cross-account access to the S3 bucket containing the CUR
- Create a replication rule to copy the reports inside the S3 "member" accounts automatically to the master account S3 bucket