Category Archives: HOWTO’s

OpenVPN: Let’s Encrypt DNS verification on AWS Route53 and OpenVPN Access Server SSL certificate auto update
0 (0)

24 May 2019

In addition to the OpenVPN: SSL and hostname configuration post about OpenVPN Access Server, set up and configuration. So, three months passed and it’s time to renew Let’s Encrypt SSL certificate (see. Prometheus: Alertmanager и blackbox-exporter — проверка срока действия SSL и нотификация в Slack, Rus). I could use a well-know for me scheme with… Read More: OpenVPN: Let’s Encrypt DNS verification on AWS Route53 and OpenVPN… »

Loading

Debian: unattended-upgrades – automatic upgrades installation with email notifications via AWS SES
0 (0)

23 May 2019

A unattended-upgrades package performs automated upgrades installation on Debian/Ubuntu systems. It’s a Python script (1500 lines) located at /usr/bin/unattended-upgrade (and /usr/bin/unattended-upgrades is a symlink to the /usr/bin/unattended-upgrade). CentsOS/RHEL analog – yum-cron. Install it: [simterm] $ sudo apt -y install unattended-upgrades [/simterm] The main config file is /etc/apt/apt.conf.d/50unattended-upgrades where upgrade types, email settings etc can be… Read More: Debian: unattended-upgrades – automatic upgrades installation with email notifications via… »

Loading

Sentry: running self-hosted errors tracking system on an AWS EC2
0 (0)

18 May 2019

Previously we used cloud-based Sentry version but then reached emails limit and our backend-team left without those notifications which are critical for their work. A self-hosted version was planned a long time ago so now we have a chance to spin it up. The post below describes how to start self-hosted Sentry on an AWS… Read More: Sentry: running self-hosted errors tracking system on an AWS EC20… »

Loading

AWS: VPC peering DNS resolution and DNS settings for OpenVPN Access Server
0 (0)

17 May 2019

We have a VPC with OpenVPN Access Server running. This VPC is connected with other VPCs in our AWS account. The issue is that currently when a user is connected to VPN for the DNS resolution into EC2 instances private IPswe are using dnsmasq service on the VPN-host which has a /etc/dnsmasq.hosts file where are manually… Read More: AWS: VPC peering DNS resolution and DNS settings for OpenVPN… »

Loading

Linux: A stop job is running for Session c1 of user setevoy (1min 30s)
0 (0)

15 May 2019

The issue happened on a fresh Arch Linux installation but the solution here can be used on any systemd-based distributive. So, during restarts system hangs for 1.5 minutes with a message like: A stop job is running for Session c1 of user setevoy (1min 30s) To check which process(es) exactly caused this you can use… Read More: Linux: A stop job is running for Session c1 of… »

Loading

Bitwarden: an organization’s password manager self-hosted version installation on an AWS EC2
0 (0)

1 May 2019

We consider Bitwarden as a passwords keeper for our project with the main goal to have an ability to have separated access to secrets by user roles and/or ACLs. I.e. Pass or KeePass are good for self-usage by one person but they have no main things – a normal web-interface and role-based access to data.… Read More: Bitwarden: an organization’s password manager self-hosted version installation on an… »

Loading

Linux: GPG-keys, Pass – passwords manager, and passwords import from the KeePass database
0 (0)

25 April 2019

pass – a password manager for Linux/UNIX. Stores data in tree-based directories/files structure and encrypts files with a GPG-key. In Arch Linux present by default, in Debian can be installed using apt from default repositories: [simterm] $ sudo apt install pass [/simterm] For macOS can be installed with Homebrew: [simterm] $ brew install pass [/simterm]… Read More: Linux: GPG-keys, Pass – passwords manager, and passwords import from… »

Loading

Golang: pointers – detailed overview
0 (0)

20 April 2019

What is the pointer? Shortly, the pointer is a variable which stores an address of another variable, where some data is stored. A pointer example Let’s take the simplest example where a pointer is used: package main import “fmt” func main() { a := 1 b := &a fmt.Println(“A: “, a) fmt.Println(“B: “, b) fmt.Println(“B:… Read More: Golang: pointers – detailed overview0 (0) »

Loading

Authy: step by step Multi-Factor Authentication configuration for Github and AWS
0 (0)

17 April 2019

I’m sure that using MFA (Multi-Factor Authentication) today is oblivious. For 2FA (2-Factor Authentication) the most used method is TOTP – Time-based One-time Password, when alongside with the common login:password also needs to enter a code generated by a device or software. The most known implementation is Google Authenticator but also there is a lot… Read More: Authy: step by step Multi-Factor Authentication configuration for Github and… »

Loading

Jenkins: a job to check a Github organization’s public repositories list
0 (0)

16 April 2019

Proceeding with a Github repositories checker. To recall: the idea is to have such a check in case if somebody from developers accidentally will share our project’s private repository as public, or will create a public repository instead of making it as a private one – we will get a Slack alarm about such a… Read More: Jenkins: a job to check a Github organization’s public repositories… »

Loading