How to shrink Byteplus EBS system volumeAs almost every cloud engineer knows, cloud instance EBS storage volume is only easily expandable, but not allowed to shrink, but still, there are actually some way to achieve this, if you think the p7 min read·calvinleung.hashnode.devOct 28
Sharing Byteplus CDN Purging ScriptThe reason We are coorperating with Byteplus CDN recently and using it to serve an react website, which using bamboo to deploy. Afate bamboo agent copy the new react build to Byteplus TOS storage, wil2 min read·calvinleung.hashnode.dev1Oct 15
MongoDB Failed to Start Due to `/tmp` PermissionsTags: MongoDB Linux DevOps Troubleshooting An afternoon, dev contacted me to help convert a standalone mongodb to a single-node replica set, because they want to do excel bulk import and want to have3 min read·calvinleung.hashnode.devOct 14
Using LUKS2 for Encrypted Application Storage on LinuxRecently I am asked to add one more layer of protection of disk encryption to our data installed on a cloud development instance. I decided to use LUKS2, the goals include: Mount the decrypted filesy7 min read·calvinleung.hashnode.devOct 9
How a Duplicate `proxy_set_header Host` Caused an Nginx 400 Bad RequestI recently hit an Nginx 400 Bad Request while routing selected production traffic to a pre-production backend. The setup was roughly: Client | v CDN / Load Balancer | v Production Nginx |3 min read·calvinleung.hashnode.dev1EOct 1