Switch/Migrate CID Framework Data collection account to another

0

Hi all, I implemented the CID Framework following this guide. Now I need to switch the data collection account from one to another (let's say from account A to account B) How can i achieve the migration of quicksight dashboards - source accounts stay the same - keeping all data and datasets previously collected?

Thank you Maik

3 Answers
0

Thanks for the reply Anil,

Is this the procedure I was thinking of doing but in this way only the new CURs are not replicated in the new account? I would also like to recover the old data, so I was thinking of also making a copy of the contents of the bucket in the old Destination Account to the bucket in the new Destination Account. Is this a useless operation?

Thank you

answered 2 months ago
0

To migrate the CID (Cloud Intelligence Dashboards) Framework data collection account from one account to another while keeping all previously collected data and datasets, you'll need to follow a few steps:

  1. First, you'll need to migrate the QuickSight Q topics from the original account (A) to the new account (B). This can be done using the QuickSight command line interface (CLI). The process involves:
  • Identifying the topic using the list-topics API command
  • Describing the topic with the describe-topic API command to get its configuration in JSON format
  • Creating a skeleton file from the JSON response
  • Modifying the AWS account ID and dataset ID in the skeleton file
  • Creating a new topic in account B using the create-topic API call
  1. For the datasets, you'll need to replace them in your QuickSight analysis. When replacing datasets:
  • Ensure the new dataset has similar columns to maintain visual functionality
  • Navigate to the Data pane on the analysis page
  • Expand the Dataset dropdown and choose Manage datasets
  • Select the ellipsis next to the dataset to replace and choose Replace
  • On the Select replacement dataset page, choose the desired dataset from account B and select it
  1. It's important to note that organizational level reports and history are not automatically transferred when migrating accounts. Therefore, you should:
  • Export or back up reports from the original management account, especially billing reports
  • Ensure you can still access reports for the member account, such as AWS CloudTrail Event history and account billing history
  1. After migration, review and update:
  • Billing configurations
  • Tax settings
  • AWS Support plan to match the new payer account
  • IAM policies and service control policies
  • Cost allocation tags
  1. For the CID Framework specifically, you'll need to redeploy the data collection solution in the new account (B). This is because the data collection lab is required to collect data from various sources like Trusted Advisor, Compute Optimizer, and organization data, which includes OU information not available in the standard Cost and Usage Report (CUR).

Remember that while you can migrate most of the components, some elements like verified answers from QuickSight Q topics won't be automatically transferred and may need to be recreated in the new account.

This process will allow you to switch your CID Framework data collection account while preserving as much of your existing data and setup as possible. However, some manual reconfiguration and data transfer steps will be necessary to ensure a complete migration.
Sources
Copy and migrate QuickSight Q topics within and between AWS accounts - Amazon QuickSight
Migrating an account to another organization with AWS Organizations - AWS Organizations
Replacing datasets - Amazon QuickSight
CID Deployment(s) Question | AWS re:Post

profile picture
answered 2 months ago
0

If you want to switch Data Collection Account, then you need to run the CloudFormation Stack again on the new Account which is your Destination Data Collection Account. Also, You need to update CFN Stack from Source Account as the Destination account is changed and the new CUR Replication should happen. Please follow the same guide to run the stacks from the new Account and Source to get the CID running.

The entire process shouldn't take not more than 30mins.

Link# https://catalog.workshops.aws/awscid/en-US/dashboards/foundational/cudos-cid-kpi/deploy

AWS
answered 2 months ago

You are not logged in. Log in to post an answer.

A good answer clearly answers the question and provides constructive feedback and encourages professional growth in the question asker.

Guidelines for Answering Questions