Category Archives: HOWTO’s

Terraform: modules, Outputs, and Variables
0 (0)

11 December 2022

Eventually, I got to the modules in Terraform. Namely, I had to figure out how to transfer the values ​​of the variables between two modules. So in this post, the most basic and simple examples of working with modules and their values ​​&& outputs. See more in the documentation – Modules. The Root module First, let’s… Read More: Terraform: modules, Outputs, and Variables0 (0) »

Loading

Kubernetes: ServiceAccount from AWS IAM Role for Kubernetes Pod
0 (0)

11 December 2022

We have Grafana Loki for logs and need to connect an AWS IAM Role with AWS IAM Policy, which gives access to an AWS S3 bucket where Loki’s chunks and indexes will be stored. IAM roles for Kubernetes Pods will work in the same way as IAM roles to EC2 instances: a process inside a… Read More: Kubernetes: ServiceAccount from AWS IAM Role for Kubernetes Pod0 (0) »

Loading

Networking: when there is no power – ZTE 4G modem + external antenna
0 (0)

19 November 2022

What to do when there is no electricity, mobile communication towers are turned off, and you want to watch the outcasts with Ukrainian cats? That’s right – buy yourself a 3/4G modem with an antenna! In addition, the antenna itself does not need power, and the modem can be inserted into an ordinary power bank,… Read More: Networking: when there is no power – ZTE 4G modem… »

Linux: saving laptop’s battery energy
0 (0)

19 November 2022

This time it became interesting to me – is it possible to somehow save the charge of the laptop battery? Not to say that it discharges quickly, it is enough for 5-6 hours of work, but it will not be too much, especially with the current power outages in Ukraine. Found several utilities, and will… Read More: Linux: saving laptop’s battery energy0 (0) »

Pritunl: running VPN in Kubernetes
0 (0)

5 October 2022

Pritunl is a VPN server with a bunch of advanced security and access control features. In fact, it is just a wrapper over OpenVPN, adding such Access Control Lists to it in the form of Organizations, users, and routes. The task is to deploy a Pritunl test instance in Kubernetesб so we can take a closer… Read More: Pritunl: running VPN in Kubernetes0 (0) »

Loading

Kubernetes: Minikube, and a LoadBalancer in the Pending status
0 (0)

5 October 2022

After running Pritunl in Minikube, it is not possible to connect to the VPN: … 2022-10-03 13:50:32 TCP/UDP: Preserving recently used remote address: [AF_INET]194.168.3.100:1194 2022-10-03 13:50:32 UDP link local: (not bound) 2022-10-03 13:50:32 UDP link remote: [AF_INET]194.168.3.100:1194 … Check its Kubernetes Service: [simterm] $ kubectl -n pritunl-local get svc NAME TYPE CLUSTER-IP EXTERNAL-IP PORT(S) AGE… Read More: Kubernetes: Minikube, and a LoadBalancer in the Pending status0 (0) »

Loading

PostgreSQL: PostgreSQL Operator for Kubernetes, and its Prometheus monitoring
0 (0)

23 September 2022

So, we’ve launched Druid, see Apache Druid: Overview, Running in Kubernetes, and Monitoring with Prometheus . So far, a local Apache Derby database is used as the default storage for metadata . Next, we will switch Druid to PostgreSQL, and later we will remove ZooKeeper from the cluster setup. To begin with, let’s start a PostgreSQL cluster in Kubernetes, add… Read More: PostgreSQL: PostgreSQL Operator for Kubernetes, and its Prometheus monitoring0 (0) »

Loading

Apache Druid: overview, running in Kubernetes and monitoring with Prometheus
0 (0)

18 September 2022

Apache Druid is a columnar database, focused on working with large amounts of data, combining the features and benefits of Time-Series Database, Data Warehouse, and a search engine. The general task is to set up monitoring of the Druid cluster in Kubernetes, so at first, we will see what it is in general and how… Read More: Apache Druid: overview, running in Kubernetes and monitoring with Prometheus0… »

Loading

AWS: VPC Flow Logs – an overview and example with CloudWatch Logs Insights
0 (0)

19 July 2022

AWS VPC Flow Logs allow you to log traffic information between network interfaces in a VPC. Further, these logs can be stored in AWS S3 or sent to AWS CloudWatch Logs, while enabling traffic logging does not affect the performance of the network interface in any way. Let’s briefly review the basic concepts, and available… Read More: AWS: VPC Flow Logs – an overview and example with… »

Loading

NGINX: IP Geolocation by Cloudflare and “nested” if conditions
0 (0)

2 April 2022

Among other features provided by Cloudflare, it can add a special header with a country value, from where a visitor came. As a Ukrainian, I’d like to ban all visitors from russia, but: redirect all visitors from russian IPs to another web domain – russki-voenny-korabl-idi-nahuy.com during this, I’d like to filter requests and leave requests… Read More: NGINX: IP Geolocation by Cloudflare and “nested” if conditions0 (0) »

Loading