How to get S3 repository working with AWS instance profile

Where is your ec2 instance running? I guess it's in us-west-2, right?

Can you run from your machine:

aws iam list-instance-profiles