Upgrade AWS T instance to M instance

https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/migrating-latest-types.html 1). Update the AWS PV drivers manually https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/Upgrading_PV_drivers.html#aws-pv-upgrade 2). Update the ENA driver (Part 2 of the top link) 3). Update the config tools in step 4 I did …

Azure SQL Edge on Docker arm64

Windows 11 Pro Control Panel – Programs and Features – Turn Windows Features On or Off Enable Hyper-V (not visible on Home edition, also not sure I needed this) Enable …

Mongo Won’t Restart

MongoDB does not start after a reboot, sudo tail -10 /var/log/mongodb/mongod.log indicates Failed to unlink socket file /tmp/mongodb-27017.sock Operation not permitted To resolve the issue, run commands sudo rm -f …

Wazuh Cheat Sheet

List packages installed on a specific agent GET /syscollector/092/packages/?pretty=true&name=AIMS LPR Sync Delete a specific agent DELETE /agents?pretty=true&older_than=0s&agents_list=327,328&status=all GET /manager/daemons/stats?daemons_list=wazuh-analysisd

Git RESET

Git stable has changes that have been committed and not pushed. Stable doesn’t allow changes to be pushed. Rollback the branch to match the repo. Locate the specific commit # …

Setting Up DMARC

Before you start: https://support.google.com/a/answer/10032674?hl=en Add the DMARC record https://support.google.com/a/answer/2466563?hl=en Setup relay for third party senders https://support.google.com/a/answer/2956491 Defining the DMARC record https://support.google.com/a/answer/10032169#zippy=%2Cdmarc-record-tag-definitions-and-values Rollout for large orgs https://support.google.com/a/answer/10032473 Finally, test the config: …

Convert Cloudflare Origin Cert to pfx

1). Locate all the files needed Download the Origin Certificate following files from Cloudflare dashboard origin.pem Locate the private key for the Certificate pk.pem Download the Cloudflare intermediate certificate in …

SQL Server High CPU

Troubleshoot high CPU from specific queries https://learn.microsoft.com/en-us/troubleshoot/sql/database-engine/performance/troubleshoot-high-cpu-usage-issues Identify Queries Contributing to High CPU SELECT TOP 10 s.session_id,            r.status,            r.cpu_time,   …