Mobil Mewah

Salah satu sumber Inspirasi.

Thursday, 28 May 2020

Securing your Web services using Nginx

If we have an API service and want to publish to public, better use a reverse proxy like nginx to handle all the dirty traffic trying to taken down your services. With Nginx you will make your API server live prosper and not minding the dirty request which should not coming on your server if not using Nginx in front of it. So lets do the Nginx configuration for securing your backend API server.     add_header Cache-Control public;    ...

Thursday, 7 May 2020

Monitoring tools in the new age with Grafana

We know for old school monitoring tools are using Nagios, Cacti, CollectD. Well, that's what i use on my job to monitoring infrastructure. No fancy graphic and display, no filter , only plain time range value with the monitored data. Now, we see Grafana. I try grafana and its looks a like elastic kibana. Well, apparantly Grafana was a fork of Kibana 3.0 . Grafana is Free to use, but also have enterprise version which have support. With grafana...

Wednesday, 6 May 2020

Create a Services in linux box

In linux box, everything runs at startup is a service. Service located on  /etc/systemd/system/servicename.service Step to create a service are : 1. Create a service user account 2. Change ownership of config file to the service account 3. Create a service file to load when startup Create service user account the secure way : $ sudo useradd --no-create-home --shell /bin/false blackbox_exporter Here are template for create a service...

Page 1 of 2512345Next
Twitter Delicious Facebook Digg Stumbleupon Favorites More