A simple newrelic cloudwatch plugin docker container.
659
A simple newrelic cloudwatch plugin docker container. This image is available for pulling from Docker Hub
Launch this container with the following environment variables to suit your situation:
These will be used by the agent to connect to your AWS account.
This container has everything setup so you can easily run the monitoring agent without having to install everything by hand. It's not much, but still Even though it isn't particularly difficult, it can be cumbersome. It also allows to contain all the dependencies inside the container and keep the host clean.
In order to keep access to your AWS environment as manageable as possible it's advised to create a specific AWS/Newrelic IAM user with specific read-only rights to your cloudformation information.
As mentioned by the plugin authors themselves:
NewRelicCloudWatch (and save the credentials in a file for later reference)NewRelicCloudWatchNewRelicCloudWatch{
"Version": "2012-10-17",
"Statement": [
{
"Action": [
"autoscaling:Describe*",
"cloudwatch:Describe*",
"cloudwatch:List*",
"cloudwatch:Get*",
"ec2:Describe*",
"ec2:Get*",
"ec2:ReportInstanceStatus",
"elasticache:DescribeCacheClusters",
"elasticloadbalancing:Describe*",
"sqs:GetQueueAttributes",
"sqs:ListQueues",
"rds:DescribeDBInstances",
"SNS:ListTopics"
],
"Effect": "Allow",
"Resource": "*"
}
]
}
NewRelicCloudWatch IAM group.Running this container is as simple as running the following command:
docker run -d \
-e NEWRELIC_KEY=123 \
-e AWS_ACCESS_KEY=123123 \
-e AWS_SECRET_KEY=123 \
dortort/newrelic-cloudwatch
Content type
Image
Digest
sha256:5029922e8…
Size
99.3 MB
Last updated
over 10 years ago
docker pull dortort/newrelic-cloudwatch