Stream: troubleshooting

Topic: AWS S3 RBAC settings


view this post on Zulip Don Sizemore (Dec 02 2024 at 19:58):

Hello,

Who all is using RBAC in S3 rather than programmatic access keys? I have my role including the builtin AmazonSSMManagedInstanceCorepolicy with an inline bucket policy which I copy-pasted from the role which formerly worked using programmatic access keys, but with RBAC I get no S3 access. I do note that there is a "Maximum session duration" which must be set between 1 hour and 12 hours. Does the EC2 instance assume the role each time it needs to access S3? Is there some other way I should define the S3 access policy for RBAC?

Update: testing with the aws binary at the CLI, it looks like the instance _can_ read/write to and from the bucket. Something's off in the Dataverse configuration, and all I really did was upgrade from v5.13 to v5.14, which IIRC enables preference for RBAC.

Thank you,
Don


Last updated: Oct 30 2025 at 06:21 UTC