Category

Application

Kong API Gateway + Docker Demo

Monolith vs Microservices Before we discuss the API, API Gateway or Kong Gateway, let’s talk about what is monolith and microservices architecture. Normally when we start to develop a new application, we will keep all the code in a single repository, it will contain the front end code, business logic,…

Using custom domain on Synology NAS with Dynamic IP

I own a few Synology NAS at my home for personal and business purposes for many years, all the while I’m using the No-IP DDNS service to point the free domain (*.ddns.net) to my home NAS for me to access from outside, everything is working fine except I need to re-validate my domain every 30 days. To…

Git Command-Line Shortcuts

As a programmer cum consultant who have a lot of hand-on on programming, I actually spend a lot of time on typing Git commands. I actually found a set of keyboards shortcuts with Bash aliases and it actually speed up my Git workflow as well as save me hundreds of keystrokes every single day. Git…

Setup and run website in Docker Container with Terraform

In this post, I will share on how to create the simple Hello World Nodejs Docker container and deploy it with Terraform in your local machine. To test on this demo, you need to make sure that you have docker and terraform installed, if not, you may refer to their official website on how to…

Laravel Code Analysis using SonarQube Docker Container

DevOps automation become a mainstream nowadays, there are plenty of tools available for you to build, deploying and automated testing. SonarQube is one of the tools that empower all developer to write a clean and safer code by inspecting the code base on static code analysis rule. SonarQube currently supporting 27 most common use programming…

Installing OpenVPN server in AWS EC2 with User data

OpenVPN Server is one of the common and popular VPN server available in the market, I will share the installation of the OpenVPN with EC2 using the user-data to automate the installation during the boot up of the server. You may refer to the official AWS user guide about what’s User Data at https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/instancedata-add-user-data.html. With…

Monitoring server with Prometheus + Grafana

Server monitoring is always the major responsibility of system admin, whether you have 1 server or 10 servers, right tools always make your life easy. I will share the installation for Prometheus + Node exporter + Grafana in this article. I will using docker for Prometheus and Grafana, but for Node exporter it’s not recommended…

How to remove server header in Nginx

Nginx is one of the world most famous web server as per market share, security always a main concert when come to the web server and web application. By default, Nginx will always send the information in server HTTP header as well as on the error page. It’s always the best practise to hide up…

How to automate IP2Location BIN database download in Linux

IP2Location is one of the top IP database provider in the world as their database is being updated every 1st day of the month, in order to make use the latest database to keep data up to date, we may need to download, extract and import the database to our system. Thanks for the automation…

Blocking Ads using Squid Proxy Server

Squid Proxy Server is one of the famous open source proxy server available and widely used by a lot of enterprise. Squid proxy server not only will help to speed up your corporate network to the Internet by cache the content in the server it self, it also have a lot of useful feature such…

google.com, pub-3772983857049267, DIRECT, f08c47fec0942fa0