Trusted Advisor Organisational Cloud Intelligence Dashboards

0

Per instructions on https://catalog.workshops.aws/awscid/en-US/data-collection/deploy , step#1 needs to be performed at the Organisation account level which deploys stack sets and resources to linked accounts. Is it possible to deploy this using hub model where all linked accounts send data to one data-collection account where QuickSight etc is deployed

Vijay S
질문됨 3달 전165회 조회
1개 답변
1

Hello Indeed, achieving this theatrically is feasible, but it entails deploying a lambda function in each account to send data to a central S3 bucket or EventBridge. However, this approach introduces the challenge of managing multiple lambdas (x N), necessitating the use of stack sets or similar mechanisms. These tools typically require access either to a management account or delegated admin permissions any way.

One potential adjustment is to enhance the account collector lambda of existing solution to return a static list of accounts, ensuring it operates without needing access to the Organization Account.

You will need to

  1. deploy permissions in each linked account -> https://github.com/awslabs/cid-framework/blob/main/data-collection/deploy/deploy-in-linked-account.yaml
  2. Deploy data collection stack as per doc specifying the current linked account as Management account
  3. Modify account_collection lambda to use this example : https://github.com/awslabs/cid-framework/blob/main/data-collection/deploy/account-collector.yaml#L145
            def dummy_iterate_linked_accounts():
                # use this function if you have no access to payer or delegated admin at all
                hardcoded_accounts = [
                    {'account_id': '111222333444', 'account_name': 'replaceme', 'payer_id': '666777888999'},
                    {'account_id': '555666777888', 'account_name': 'replaceme', 'payer_id': '666777888999'},
                ]
                for account_data in hardcoded_accounts:
                    yield {"account": json.dumps(account_data)}
  1. Run State Machine for data collection of Trusted Advisor
profile pictureAWS
전문가
Iakov
답변함 3달 전
  • I have managed to get it working successfully. thanks for providing very detailed instructions.

로그인하지 않았습니다. 로그인해야 답변을 게시할 수 있습니다.

좋은 답변은 질문에 명확하게 답하고 건설적인 피드백을 제공하며 질문자의 전문적인 성장을 장려합니다.

질문 답변하기에 대한 가이드라인

관련 콘텐츠