To provide cross-account access between AWS Account A and Account B, Account A must create an IAM role called "Role_for_B" and attach EC2 read permissions to it. Account B then creates an IAM user and adds an inline policy allowing the user to assume the "Role_for_B" role in Account A, after which the user can switch roles in the Account B console to access EC2 instances in Account A.
Related topics: