s3_out: unable to sign request without credentials set

418 views
Skip to first unread message

Carfield Yim

unread,
Sep 16, 2021, 10:40:03 AM9/16/21
to Fluentd Google Group
HI all

I try to use "instance_profile_credentials" at ec2 instance as credentials. However I get 

2021-09-16 14:16:50 +0000 [error]: #0 unexpected error error_class=RuntimeError error="can't call S3 API. Please check your credentials or s3_region configuration. error = #<Aws::Errors::MissingCredentialsError: unable to sign request without credentials set>"

I pretty sure my s3_region is correct, and I can use cli "aws s3 cp <file> <s3url>" to copy object at command line, not sure what going wrong.

I wonder if that because I am under a http proxy. However, I already setup "proxy_uri" parameter. Not sure what else I can do to check what going wrong?

Carfield Yim

unread,
Sep 17, 2021, 3:29:37 AM9/17/21
to Fluentd Google Group
HI all, actually I guess i know why, it is because I running fluentd from docker ( https://hub.docker.com/r/fluent/fluentd/ ) , and  instance_profile_credentials doesn't work in docker environment , not sure what is the prefer way to send log to s3 in docker env say docker is our way of deploy process?
Reply all
Reply to author
Forward
0 new messages