Posts

Showing posts with the label devops

Updating wazuh manager password in kubernetes

Image
  Updating wazuh manager password in kubernetes Updated as of 2025-11-06 After scouring the internet (where even the LLM was giving me wrong answers), I had to scour for information scattered across gitub issues and various blog posts. All of them were slightly wrong so I want to document my steps on updating the wazuh dashboard admin password for a kubernetes deployment of wazuh. Here is how I did it. The guide assumes the  wazuh-kubernetes  repository was used to deploy the cluster. Step 1 - Generate the password hash Shell into wazuh-indexer pod kubectl exec -it -n wazuh pod/wazuh-indexer-0 -- bash Generate password (the output will be a hash. Remember this!): export JAVA_HOME=/usr/share/wazuh-indexer/jdk bash /usr/share/wazuh-indexer/plugins/opensearch-security/tools/hash.sh < type your password > < PW_HASH > Step 2 - Base64 encode your password Outside of the indexer pod, base64 encode your password. We will need both later. echo -n < new_password...

How I saved $800 a year moving from DigitalOcean to Oracle Free Tier

Image
Migrating from DigitalOcean to Oracle Use case My use-case was relatively simple. We needed an application to track supply chain demands over time. The reason was that the company I was working with were still using hand-written notes and sending these notes to vendors who would then transcribe it and send assets over. All of this took a lot of overhead and time; furthermore, it was very easy to forget what kind of assets were already purchased since there was no searchable history. The tech stack built to approach this problem was a front-end built in react and hosted statically. The backend was a simple Django application, simply wrapping around my DB and simply hosting the API / backend. This was the only thing I needed to host and honestly it could be a completely serverless application, but I didn't want to muck around too much with serverless as this project had a timeline of a week. Digital Ocean Digital ocean, as you may already know, is a cloud hosting provider for develop...