Posts

Showing posts from November, 2025

Monitoring Containers with cAdvisor — Part 2 of My Previous Blog Series

Image
 Raees Qazi | DevOps Engineer | Learner | Mentor | Creator | CEO-Briller Technologies  Today I’m going to talk about cAdvisor , which continues from my previous blog: https://brillertechnologies.blogspot.com/2025/11/prometheus-and-grafana-projectpart-1-by.html After running our application, the next important step is monitoring  — and for that, we use cAdvisor , a monitoring tool created by Google. What is cAdvisor? cAdvisor stands for Container Advisor .  Its job is to show the resource usage and performance statistics of your running containers — things like CPU, RAM, network, and filesystem usage. cAdvisor reads data directly from Docker’s internal directory, which is located at: /var/lib/docker So it needs read access to this path. Configuring cAdvisor in Docker Compose Now let’s update our docker-compose.yml file to include cAdvisor. Open the file: vim docker-compose. yml Networks Section networks: monitoring: driver: bridge Services Section 1. No...

🔍 Understanding Terraform Step by Step

Image
  By Raees Qazi | DevOps Engineer | Learner | Mentor | Creator Today, I spent time learning  Terraform  in detail. In this blog, I will explain the Terraform code, commands, and concepts in a very simple and easy way — especially for beginners who want to learn Infrastructure as Code (IaC) with Terraform. 🚀 Step 1: Terraform Initialization —  terraform init The first command we use in any Terraform project is: terraform init ❓ What does  terraform init  do? This command does  two main things : Initializes the backend  — where Terraform stores the state file. Downloads and installs the providers  (e.g., AWS, Azure, Local). So, once you run  terraform init , Terraform prepares your system to work with the required cloud or local infrastructure providers. 🌍 Understanding Providers in Terraform 🤔 What is a Provider? A  provider  in Terraform is like a plugin that allows Terraform to interact with different platforms such as AWS,...

🚀 Understanding Terraform Syntax & What is Code — A Beginner’s Guide

Image
  By Raees Qazi | DevOps Engineer | Learner | Mentor | Creator 👋 Introduction Today, let’s learn about  Terraform syntax  and understand  what code actually is  — in a way that’s simple and easy to relate to. As a user, I understand both  English and Urdu . But machines don’t understand English or Urdu — machines only understand  binary language  (like  01010101 ). Now, machines are  dumb by default . They don’t know what to do until we tell them clearly  how to do it . That’s why  we need to learn how to communicate with machines . Let me give you an example: When someone texts you  “TC” , you might get confused at first. But with time, you understand that  TC = Take Care . Similarly: GM  = Good Morning GN  = Good Night These are just  short codes . As users, we learn them over time. The same concept applies to  code . We write  simple instructions using a defined format , and machines follo...