不同 aws 账户的一种角色

发布于 2025-01-14 17:07:08 字数 248 浏览 3 评论 0原文

我对 grafana 中的仪表板有以下要求 -

我们有大约 20 个不同的 aws 帐户。我想从这些帐户收集不同服务的 cloudwatch 指标,并将它们显示在驻留在 aws 帐户之一的 Grafana 中。 grafana部署在eks上。 我知道我可以在所有帐户中一一创建一个角色,而 grafana 可以承担该角色来提取指标。 有没有办法创建所有帐户通用的单一角色来提取 cloudwatch 指标并将其推送到集中式 Grafana,而不是在所有帐户中创建角色?

I have below requirement for dashboard in grafana -

We have around 20 different aws accounts. I want to collect cloudwatch metrics of different services from these accounts and display them in Grafana which reside in one of the aws account.
The grafana is deployed on eks.
I know that I can create one role in all accounts one by one and grafana can assume that role to pull the metrics.
Is there a way to create single role which will be common to all accounts to pull cloudwatch metrics and push them to centralized Grafana instead of creating role in all accounts ?

如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

扫码二维码加入Web技术交流群

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。

评论(1

全部不再 2025-01-21 17:07:08

1.) 您没有将数据推送到集中式 Grafana。集中化的 Grafana 正在从其他帐户中提取数据。

2.) 如果您可以创建单个角色,这将允许您读取其他帐户指标而无需与这些帐户进行任何交互,这将是一个巨大的安全角色。所以这是不可能的。

1.) You are not pushing data to centralized Grafana. That centralized Grafana is pulling data from other accounts.

2.) It will be a huge security role if you can create single role which will allow you to read other accounts metrics without any interaction with those accounts. So that's not possible.

~没有更多了~
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文