I have to take prometheus backup by thanos sidecar but getting access denied below the config file
type: S3
config:
bucket: "*******"
endpoint: "s3-us-west-2.amazonaws.com"
region: "us-west-2"
access_key: "*********************"
insecure: false
signature_version2: false
encrypt_sse: false
secret_key: "**********************"
put_user_metadata: {}
http_config:
idle_conn_timeout: 90s
response_header_timeout: 2m
insecure_skip_verify: false
trace:
enable: false
part_size: 134217728
And belo is the error log
msg="shipping failed" block=01EECWSM3QX0VNZ3HS092DM0SD err="upload meta file to debug dir: upload file /var/prometheus/thanos/upload/01EECWSM3QX0VNZ3HS092DM0SD/meta.json as debug/metas/01EECWSM3QX0VNZ3HS092DM0SD.json: upload s3 object: Access Denied"
level=warn ts=2020-07-29T09:41:15.251756448Z caller=sidecar.go:339 err="failed to sync 53 blocks" uploaded=0
and the docker commands as below can anyone help out. Thanks in advance |