I have a ec2 instance which has a profile attached. I can use awscli and it uploads to the bucket fine.
root@ocr-sa-test:/# aws s3 ls s3://company-ocr-east/