PureDevOps Community

IAM Roles to connect EC2 from one account to S3 from different account

How to create IAM Roles to connect EC2 from one account to S3 from different account. What are all the steps needs to be followed.