1. Create an role
Access to IAM -- Add roles:
• Trusted entity type: AWS service -- EC2
• Role name: s3_role
• Attach existing policies directly: AmazonS3FullAccess
2. Attach role to the instance
• Select your instance
• Select Actions -- Security -- Modify IAM role -- Select your role
• Confirm some AWS S3 commands
• aws s3 ls
• aws s3 cp file s3://bucket_name