Blog

9 Key Feedbacks For Prod Envs Maintenance

To break silos and improve availability, DevOps/Ops should be actively collecting useful feedback of prod env maintenance on a regular basis. Enable developers to easily access it and improve feedback loop together as a team effort. The very first and most important part. What To Examine, Providing Developers Meaningful Feedback?

Read More...

Check Shell Output Without Stdout/Stderr Compromised

Ever need to check the output of shell functions/scripts? If no fatal/error messages found, resume normal procedure. Otherwise, go to error handling. Usually people solve this, by redirecting stdout/stderr to grep command. But What About Time-consuming Functions/Scripts? Say several minutes. During this period, end users are blinded with nothing printed. It could be confusing and scaring to […]

Read More...

Effectively Technical Writing In GitHub

Delivering short and precise documents quickly is a key asset for DevOps. Nowdays, hosting code in GitHub is not only fancy but also overwhelming. Consequently more and more documentation effort goes to GitHub. As a late fanboy of Atlassian Confluence, I also make my preference in GitHub wiki now. Enclosed are tips for how to do […]

Read More...

Docker Run Out Of Disk

We have changed daily CI tests from VM to Docker, ever since early last year. It is just awesome! Way too fast and cost-effective. But one annoying thing keeps dragging us slow. The Docker daemon server runs into low disk capacity quite often.

Read More...

Explore Docker Image For Security Concern

Nowadays people are happy to use community Docker images. It’s super fast and easy to setup infrastructure, compared to old black days. But watch out security risks hidding inside! Ignoring them could result in serious damages sooner or later. How to easily identity security holes inside docker images?

Read More...

Detect Suspicious Linux Processes

Ever bothered by suspicious processes running in your servers? No doubt how dangerous they might be: valuable data leaked, CPU/memory wasted, or DDoS attack other victims, etc. How to easily capture those annoying troublemakers? Even better, get alerted without extra human effort.

Read More...

Challenge Your Shell Scripts By ShellCheck

Bash scripting is a must-have skill for DevOps. I used to be very very confident at bash. But when I first tried ShellCheck , I realized that I’m just too proud and arrogant. ShellCheck is a powerful code analysis tool for bash scripts. Like Pylint for Python or Rubocop for Ruby. Give it a try! […]

Read More...

Automate Insecure Ports Check By Nmap

While go cloud is a prevailing trend, security is something we can’t afford to ignore. People hate malicious access. Periodically check all widely open TCP Ports is one good practice to secure our system in cloud. Obviously DB ports can’t be exposed to the whole internet. Our internal REST API also need to be protected. […]

Read More...

Easy and Reliable Sandbox Setup Matters

Sandbox indicates an isolated and autonomous play-yard, where anyone can do their own code build, deployment and debugging locally. It won’t effect anything outside. Ideally it should not be effected by outer world either. This is especially useful for new member on-board, daily development, QA cycle, etc. How to get an easy and reliable sandbox […]

Read More...

5 Tips For Building Docker Image

No doubt container is a breakthrough technology in DevOps world. How to effectively build and use docker image to speed up our deployment? This would be important to in both our development and release cycle. Here are some our experience and sharing. Check it out, buddy!

Read More...