Cyber Deals - Get up to 65% off on CKA, CKAD, CKS, KCNA, KCSA exams and courses!

Setup Amazon Managed Service for Grafana (AMG) on AWS EKS

Setup Amazon Managed Service for Grafana (AMG) on AWS EKS

https://aws.amazon.com/grafana/

Based on the previous article of setting up Amazon Managed Service for Prometheus (AMP) with open source Grafana , we will now be provisioning Amazon Managed Grafana to integrated with Amazon Managed Service for Prometheus in this walkthrough.


Amazon Managed Grafana is a fully managed service for open source Grafana developed in collaboration with Grafana Labs . Grafana is a popular open source analytics platform that enables you to query, visualize, alert on and understand your metrics no matter where they are stored.
With Amazon Managed Grafana , you can analyze your metrics, logs, and traces without having to provision servers, configure and update software, or do the heavy lifting involved in securing and scaling Grafana in production.
Connect Amazon Managed Grafana to multiple data sources in your observability stack, including AWS data sources like Amazon Managed Service for Prometheus , Amazon CloudWatch , and Amazon Elasticsearch Service , third-party ISVs like Datadog and Splunk , and self-managed data sources like InfluxDB .
Amazon Managed Grafana (AMG) is Generally Available on Aug’2021.

Step1: Create Amazon Managed Service for Grafana (AMG) workspace

  • Go to AWS Console > Amazon Managed Service for Grafana (AMG) > create workspace
  • Enter a workspace name eg. Grafana-Workspace
  • Enable AWS SSO Single Sign-On (SSO)
  • From the current account , Select all datasources support by the services and also Amazon SNS for notifications. After reviewing all the selections created, Click ‘ Create workspace ‘

Step2: Assign users to access the new created AWS Managed Grafana workspace

  • After the Grafana has been created, assign users to access the Grafana portal

  • Click on ‘Assign new user or group’ under AWS Single Sign-On (SSO)

  • Select the user(s) to allow access to Grafana.

  • Once users has been granted access from previous step, they can access the AWS Managed Grafana workspace URL:

  • From the Grafana workspace URL , the user can access the portal redirected signing in via AWS SSO

Now you have access to AWS Managed Grafana !!


Step3: Configure Amazon Managed Service for Prometheus (AMP) as data source in AWS Managed Service Grafana

To monitor specific AWS EKS cluster , you will need to setup AWS managed Prometheus before using AWS Managed Service Grafana .

  • Before we can visualise the metrics in Grafana, its has to be configured with 1 or more data sources. Lets specify the workspace within Amazon Managed Service for Prometheus (AMP).
  1. Grafana Configurations > Data Sources > Select Prometheus as data source
No alt text provided for this image
  1. Input the AWS AMP Workspace query URL under HTTP/URL

  2. Turn on SigV4 auth

  3. Change default region of the AMP and AWS EKS cluster resides in

  4. Lastly, Save & Test the data source. (Ensure the tick and Data source is working)


Step4: Deploy dashboard to monitor our workload in AWS EKS Cluster

  1. On the main page of Grafana login , lets add in some default dashboard by selecting Import:
  • Input ‘ 3119 ’ and press Load [ Kubernetes cluster monitoring (via Prometheus) ]
  • Then select Prometheus > Import
This image has an empty alt attribute; its file name is 1634317727395

You are done for the day !!

References:

Tan Kai Jian

Tan Kai Jian

Schnauzer Lover | Amazon Web Services | Microsoft Azure | An individual passionate in commercial cloud - design, operations & ever changing automation on infrastructure. Evergreen learning is what i believe , it is a journey not a destination


Disclaimer: Views expressed in articles are those of the respective authors and do not necessarily reflect the views of their employers or this site. While we aim for accuracy, please verify information before relying on it, and let us know if you spot an error.
Share:

Related Posts

Top 5 Free Resources to Learn Docker

Top 5 Free Resources to Learn Docker

There are plenty of resources around to learn docker and most of them are FREE of cost.

What is OpenShift

What is OpenShift

In this article you will learn what OpenShift is and why we are using OpenShift. We will also learn the features of OpenShift compared to other …

What is Hosted OpenShift Cluster

What is Hosted OpenShift Cluster

Red Hat OpenShift is the well known enterprise Kubernetes distribution and it is a platform with ready-to use features, compared to the default …

Build your own Multi-node Kubernetes Cluster with Ubuntu(20) on VirtualBox

Build your own Multi-node Kubernetes Cluster with Ubuntu(20) on VirtualBox

Typically Minikube is a utility that most developers use when they are learning Kubernetese. Though it’s a great tool, Minikube runs a single-node …

Deploying Kubernetes with Kubespray

Deploying Kubernetes with Kubespray

Introduction You have multiple ways to deploy a production ready Kubernetes cluster and Kuberspray is another method in which we will use Ansible for …

Conduct Vulnerability Management for Your Kubernetes Applications

Conduct Vulnerability Management for Your Kubernetes Applications

Kubernetes is an open source container orchestration tool initially developed by Google and subsequently handed over to the Cloud Native Computing …