Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
N
nexpie-grafana-theme
Overview
Overview
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Registry
Registry
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Kornkitt Poolsup
nexpie-grafana-theme
Commits
ee7943b9
Commit
ee7943b9
authored
Apr 11, 2018
by
Tim O'Guin
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Add minimal IAM policy example for CloudWatch data source
parent
041067f5
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
34 additions
and
0 deletions
+34
-0
docs/sources/features/datasources/cloudwatch.md
+34
-0
No files found.
docs/sources/features/datasources/cloudwatch.md
View file @
ee7943b9
...
@@ -43,6 +43,40 @@ server is running on AWS you can use IAM Roles and authentication will be handle
...
@@ -43,6 +43,40 @@ server is running on AWS you can use IAM Roles and authentication will be handle
Checkout AWS docs on
[
IAM Roles
](
http://docs.aws.amazon.com/AWSEC2/latest/UserGuide/iam-roles-for-amazon-ec2.html
)
Checkout AWS docs on
[
IAM Roles
](
http://docs.aws.amazon.com/AWSEC2/latest/UserGuide/iam-roles-for-amazon-ec2.html
)
## IAM Policies
Grafana needs permissions granted via IAM to be able to read from CloudWatch
and EC2. Attach these permissions to IAM roles to utilized Grafana's build-in
role support.
Here is a minimal policy example:
```
json
{
"Version"
:
"2012-10-17"
,
"Statement"
:
[
{
"Sid"
:
"AllowReadingMetricsFromCloudWatch"
,
"Effect"
:
"Allow"
,
"Action"
:
[
"cloudwatch:ListMetrics"
,
"cloudwatch:GetMetricStatistics"
],
"Resource"
:
"*"
},
{
"Sid"
:
"AllowReadingTagsFromEC2"
,
"Effect"
:
"Allow"
,
"Action"
:
[
"ec2:DescribeTags"
,
"ec2:DescribeInstances"
],
"Resource"
:
"*"
}
]
}
```
### AWS credentials file
### AWS credentials file
Create a file at
`~/.aws/credentials`
. That is the
`HOME`
path for user running grafana-server.
Create a file at
`~/.aws/credentials`
. That is the
`HOME`
path for user running grafana-server.
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment