I'm toying with the idea of adding S3 buckets to our Portal setup for things like tile caches, etc. I've read just about every post here on the Community and in the documentation that I can, and I have a pretty clear understanding of most of the process. Creating buckets, IAM roles, etc., that's all fine.
I'm still a bit confused on one thing, though. There are many references to the specific permissions that would need to be granted to an IAM role for these things to work. But where am I implementing to role itself? Is it being assigned to the EC2 instance running the Server? The Portal? Something else?
I don't want to grant access via a long-term key, I'd rather go the IAM route. So, where am I assigning the role?