Hilux Web Scraper: Kumpul Data Kereta Dari Mudah.my Guna AWS

Live dashboard: hilux.azmi.my Apa Benda Ni Aku bina web scraper yang kumpul listing Toyota Hilux dari Mudah.my setiap hari, simpan dalam AWS, dan papar dalam dashboard dengan charts dan filters. Automated — tak perlu buat manual. Tech Stack Terraform — IaC untuk semua AWS resources Lambda — serverless scraper, bayar ikut guna DynamoDB — simpan … Read more

Cara Drop Database di RDS SQL Server

1. Sambung ke RDS SQL Server Guna sqlcmd dari server (atau PC): 2. Pindah ke msdb 3. Jalankan Prosedur RDS untuk Drop Database Contoh nak delete JIRA_Linux_Copy: Ulang untuk JIRA_Linux_Copy1 dan JIRA_Linux_Test: 4. Confirm Database Dah Hilang Kalau result kosong → DB dah berjaya drop ✅ ⚠️ Nota Penting

EC2 Boot Issue After Terraform Deployment: Fix NVMe Initramfs Kernel Panic on Rocky Linux

If you’re facing an EC2 boot issue after Terraform deployment, you’re not alone. In my recent experience using Rocky Linux 9 on AWS EC2, everything worked perfectly after provisioning — until I rebooted. The instance failed to come back online due to a missing NVMe driver in the initramfs, resulting in a kernel panic. Here’s … Read more

Resolving AWS Vault Login Error: InvalidClientTokenId

If you encounter the following error while using AWS Vault: Follow these steps to resolve it. Step 1: Remove the Existing Profile Clear the credentials and sessions for the problematic profile. Step 2: Add the Profile Again Re-add the profile and provide valid AWS credentials (Access Key ID and Secret Access Key). Step 3: Validate … Read more

Error: FAILED: failed to get start and end for /dev/nvme1n11

NVMe Disk Error

Aku dapat error ini masa tengah nak extend filesystem application. Jadi aku tengok balik apa yang salah. Kalau tengok betul-betul dari output lsblk di bawah kita boleh nampak yang type disk untuk mount point /opt/prod_jira adalah lvm. Jadi dekat sini kita kena guna konsep LVM. Di sini kita tengok saiz disk nvme1n1 adalah 80G. Jadi … Read more

Update AWS SG Dengan Dynamic IP dan Debug Cron

AWS Security Group Dynamic IP

Hari ini aku baru sahaja deploy satu script untuk aku sentiasa update AWS Security Group ( AWS SG ) dengan dynamic IP. Script ini akan di’execute” setiap minit menggunakan cron supaya AWS SG akan sentiasa dikemaskini dengan IP yang terbaru. Ini juga demi mengelakkan sebarang kehilangan data berlaku. Script ini bukan aku yang bina tetapi … Read more

Extend EBS Volume AWS

Extend EBS Volume

Bila filesystem dah mencecah lebih 90%, kita kena usahakan untuk menambahkan space di filesystem tersebut, Kalau filesystem tersebut adalah root fileystem, concern perlu lebih sebab sebarang database file boleh corrupt sekiranya space penuh dan aplikasi akan berhenti beroperasi. Untuk task yang aku dapat yang mana aku dah perasan yang filesystem usage untuk salah satu server … Read more