I have two AWS accounts. I want to move all the resources like S3, RDS, SQS, CloudFront, Security Groups to the new account. Also, I have EC2 account id and account secret key in the AMI IMAGE. After moving to the new account how can I change all EC2 account id and account secret key to the new account?
What is the best and fast way to do so?