Simplify your EKS Cluster Observability with Prometheus & Grafana

Valentsea
Total
0
Shares

Good day fellow Bloggers,

Its been a while since I posted a blog, I have been settling down in my new role and studying for a beast of an exam coming up.

Without further delay, Kuberenetes Observability Made Easy!

Image description

I would encourage everyone get used of the CloudFormation YAML Manifest construction, whilst we are seeing more vendor agnostic IaC platforms such as Terraform, it definitley helped me prepare for my AWS DevOps Professional Exam coming up, so I would encourage you to make sure you sharpen up your skillsets wherever you can. I have the link to the AWS CloudFormation Documentation so familiarize yourself with the whitepapers and dive right in!

https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/Welcome.html

The below context will give you an example of my custom YAML CloudFormation Stackset:

Image description

Once compiled you can use API Calls with the AWS CLI installed either to your WSL (Windows Sub-System for Linux) or PowerShell Terminals. The CloudFormation stacks simply build and can be destroyed and re-constructed in minutes.

Image description

So utilizing the above toolsets I created a EKS Cluster and added a second stack with references to my existing stack.

Image description

Once deployed you can then add further toolsets such as the Prometheus stack set using the Helm Community Install and your almost at the end of your race.

I will recommend installing Kubernetes Lens as its much easier to install and manage your K8s cluster then directly managing it via CLI / However I am a CLI Jockey and still prefer the terminal.

Image description

Ensure that within your settings you configure your ./Kube/Config context destination so that lens can get straight to work as per the below:

Image description

Finally once the prometheus and helm stack completes the install you will be ready to start monitoring logs, alerting & Graphs / Dashboards using both Prometheus and Grafana.

Image description

Image description

For more tutorials feel free to visit: https://deadkithedeveloper.click/

Or

Connect with me on LinkedIn via
https://www.linkedin.com/in/devonpatrick-adkins-%E2%98%81-1068781a3/

Have a great week ahead!

Regards
DevonPatrick
AWS Community Builder & Cisco Champion

Total
0
Shares
Valentsea

C# (C Sharp) CRUD Rest API using .NET 7, ASP.NET, Entity Framework, Postgres, Docker and Docker Compose

Let’s create a CRUD Rest API in C# (or C sharp), using: .NET 7 ASP.NET (Framework for building…