Skip to content

Instantly share code, notes, and snippets.

Avatar
🎓
Still Learning

Gilang Virga Perdana gilangvperdana

🎓
Still Learning
View GitHub Profile
@gilangvperdana
gilangvperdana / README.md
Last active February 6, 2022 11:06
Installation OpenStack Victoria All-in-One on Cloud with Kolla Ansible
View README.md

Installation OpenStack Victoria on VM Cloud

Environment

1. Virtual Machine Ubuntu 20.04LTS (Azure, GCP, AWS, Aliyun, etc)
2. 16GB RAM
3. 512 GB Storage
4. One disk add for PV
@gilangvperdana
gilangvperdana / README.md
Last active March 15, 2022 13:30
Kerebros Installation on Ubuntu Server 20.04 LTS
View README.md

Instalasi Kerberos pada Ubuntu 20.04 LTS

Mencoba untuk implementasi Kerberos pada Ubuntu 20.04LTS.
Jika saya menuliskan Server, silahkan eksekusi di Server Node begitupun sebaliknya.

Kerberos Cluster:

1 Server & 1 Client.
Realm : kerberos.com
@gilangvperdana
gilangvperdana / README.md
Last active April 16, 2022 14:30
Monitoring Nginx with InfluxDB - Telegraf - Prometheus - Grafana
View README.md

Monitoring Nginx from Grafana with InfluxDB-Telegraf & Prometheus

InfluxDB for Time Database
Telegraf for Metrics Server Agent
Prometheus for Metrics Collector
Grafana for Metrics Visualizator
I just want to exploration about monitoring some metrcis Nginx with LoadBalancer Topology on Grafana. 
This is an continous project from [https://gist.github.com/gilangvperdana/53a70f9a64d3f7becebfa5f3a3d54c1f]
@gilangvperdana
gilangvperdana / README.md
Last active April 25, 2022 11:54
Docker GitLab & Jenkins
View README.md

GitLab & Jenkins Docker Provisioning

Just my Learning Documentation

Docker-Compose.yml

nano docker-compose.yml
@gilangvperdana
gilangvperdana / README.md
Last active April 25, 2022 13:11
DNS Server with BIND9
View README.md

Installation DNS Server with BIND9

Environment

Ubuntu 20.04 Server LTS
BIND9

Node Description

@gilangvperdana
gilangvperdana / README.md
Last active April 27, 2022 04:19
Kube Watcher BOT on Slack
View README.md

Kubernetes Monitoring on Slack

Just an Learning Documentation

Slack Configuration

  • Configure Slack BOT
https://my.slack.com/services/new/bot
Create a new BOT, then copy API TOKEN
@gilangvperdana
gilangvperdana / MINIKUBE.md
Last active May 1, 2022 07:47
Expose Service with NodePort to Private Network Subnets Cluster on Minikube
View MINIKUBE.md

Expose Service to Private Network with Minikube

You must have gotten a client where the client wants to see the results of the application work on Kubernetes, this we can use Nginx Proxy to reverse the IP service that is above Minikube to the IP private network around us. At least, if we can access it on our private network subnet, we can use the router to reverse private ip to public ip again.

Use Case

I want to expose my ReactJS apps to Private Network Subnet on Minikube. So user can access my ReactJS apps on Minikube with Private Network

I have an ReactJS apps run on Minikube with port 3000
@gilangvperdana
gilangvperdana / README.md
Last active May 4, 2022 11:06
Multi Port Nginx Block
View README.md

Multi Port Reverse Proxy on Nginx Configuration

This tutorial are suitable for you if you want to reverse multi endpoint with one domain different port.

Goals

  • You can access on localhost:8443 to access localhost:9200
  • You can access on localhost:8442 to access localhost:5601

Configuration

nano /etc/nginx/sites-enabled/default
@gilangvperdana
gilangvperdana / README.md
Last active May 5, 2022 06:40
Speedtest & Check Public IP on Linux CLI
View README.md

Check Public IP on Linux CLI

curl ifconfig.me
curl -4/-6 icanhazip.com
curl ipinfo.io/ip
curl api.ipify.org
curl checkip.dyndns.org
dig +short myip.opendns.com @resolver1.opendns.com
host myip.opendns.com resolver1.opendns.com
curl ident.me
@gilangvperdana
gilangvperdana / README.md
Created May 6, 2022 00:48
DevStack with Magnum & Heat local.conf Template
View README.md

DevStack with Magnum & Heat local.conf Template

Installaion

Provisioning with DevStack can be seen Here

Local.conf Configuration

nano local.conf