fluent / fluent-bit

Fast and Lightweight Logs and Metrics processor for Linux, BSD, OSX and Windows
https://fluentbit.io
Apache License 2.0
5.88k stars 1.59k forks source link

Use AWS STS regional endpoint instead of AWS Global Endpoint by default #9489

Open sushanth0910 opened 1 month ago

sushanth0910 commented 1 month ago

Is your feature request related to a problem? Please describe. I am from EKS team, for some EKS clusters which are using Fluent-Bit we have observed this user-agent Fluent-Bit defaults to using global STS endpoint rather than the regional STS endpoint.

It is recommended to use the AWS regional endpoint rather than the global endpoint. This ensures better performance and compliance with AWS best practices. https://docs.aws.amazon.com/sdkref/latest/guide/feature-sts-regionalized-endpoints.html

Describe the solution you'd like We propose use the AWS regional STS endpoint by default instead of the global endpoint to enhance performance, reduce latency, and align with AWS best practices.

Additional context Switching to regional endpoints can improve response times, reduce load on the global endpoint, and follow best practices for optimized resource usage.

patrick-stephens commented 1 month ago

I think we discovered this in our commercial side @pwhelan and the issue can be resolved via precedence of the various options?