How to delete Memcached cluster using AWS CLI

If you have an ElastiCache Memcached cluster that you no longer need, it’s better to delete it. Dno’t believe me? Even AWS said so too: It is almost always a good idea to delete clusters that you are not actively using. Until a cluster’s status is deleted, you continue to incur charges for it. [1] Well, I have a Memcached cluster that I don’t need anymore. But instead of deleting this cluster using AWS console [1], I’m going to do this via AWS CLI....

September 29, 2023 · 2 min · 326 words · kenno

Deleting VPC Endpoints With AWS CLI

This is a quick note on how to delete VPC endpoints that are no longer needed with AWS CLI. First, we need to find all the vpc-endpoints-ids [1]. ❯ aws ec2 describe-vpc-endpoints --query 'VpcEndpoints[].VpcEndpointId' [ "vpce-097008f8d26caxxxx", "vpce-07aaeabdefd8xxxx", "vpce-0bc6d548ff2e0xxxx" ] Note: I replaced the last 4 digit with ‘xxxx’. It’s a good idea to try out without really deleting the VPC endpoints by supplying --dry-run to the command below: ❯ aws ec2 delete-vpc-endpoints --vpc-endpoint-ids vpce-097008f8d26caxxxx vpce-07aaeabdefd8xxxx vpce-0bc6d548ff2e0xxxx --dry-run An error occurred (DryRunOperation) when calling the DeleteVpcEndpoints operation: Request would have succeeded, but DryRun flag is set....

September 27, 2023 · 1 min · 166 words · kenno

How to extract a zip archive with Python on Windows

Have you ever been asked or wonder how to learning a programming language? If not, then you can skip this blog post. :-) At work, a coworker said to me “I want to learn a programming language. Where do I start or how do I even start it?” I was asked this question because I had explicitly expressed my interest to my teams that I like programming a lot, though programming is not being used my professional career at the moment....

September 26, 2023 · 3 min · 466 words · kenno

Installing Ingress-Nginx Controller with Helm

In my previous post, I showed how to install helm CLI on a server/instance running AlmaLinux 9. Now, I will share how to use helm to install the Ingress-Nginx Controller for a Kubernetes cluster. We install a package known as “chart” from a Helm repository. Initially, there is no repo, and can be seen below: $ helm repo list Error: no repositories to show In order to install Ingress-Nginx Controller, I first need to add a new repository....

September 26, 2023 · 2 min · 374 words · kenno

Installing HELM Cli on AlmaLinux 9

Recently, I decided to pick up learning Kubernetes again after completely being absent from this world for many years. In this post, I’ll document how to install Helm CLI on AlmaLinx 9. Helm is like a package manager for Kubernetes. Helm CLI can be installed on your local machine, it does not to be installed on the Kubenetes node. However, in order to interact with your Kubernetes cluster, you’ll need to also have kubectl command as well as properly configured it to interact with your Kubernetes cluster....

September 26, 2023 · 1 min · 206 words · kenno

How to restart KDE Plasma without logging out

I’m running KDE Plasma Version 5.27.8 on Fedora 38. It’s been very stable and Plasma crashes a lot less comparing to the old day when running Plasma 5.0 on (older) Kubuntu. Anyway, today, my Plasma’s taskbar froze and I needed to restarted. Instead of logging out and logging back in, I found a way to restart the Plasmashell. Here is the command which worked for me for this Plasma version:...

September 24, 2023 · 1 min · 97 words · kenno

IPv6 addr-gen-mode = default - But what is that default value?

On Fedora 38, the version of NetworkMnager is 1.42.8, and the “default” setting for ipv6.add-gen-mode is default. The possible value for ipv6.add-gen-mode is eui64, stable-privacy, default-or-eui64, and default. This blog post is my attempt to understand a bit more about this IPv6 setting addr-gen-mode. On my workstation, the NetworkManager connection in use in this post is called br0. Here are are some commands to display the version number of NetworkManager and the (default) current setting of ipv6....

September 17, 2023 · 4 min · 848 words · kenno

Configure IPv6 for Proxmox Host via Slaac

The Proxmox server running at home only has an IPv4 statically assigned to it. Since I’ve been trying to get all my connected devices at home to get IPv6 assigned, I figured I should try with this Proxmox server next. I’m running Proxmox VE 8.0.4, and it’s based on Debian 12 (bookwarm). The settings for its network interfaces are stored in /etc/network/interfaces: root@pve:~# cat /etc/network/interfaces auto lo iface lo inet loopback auto vmbr0 iface vmbr0 inet static address 192....

September 16, 2023 · 3 min · 551 words · kenno

Nginx Redirect One Path to Another

Nginx is probably my favorite web server up to this moment, and it runs and serves websites on all of my servers. I should say, I also like Apache web server too, but not as much as Nginx. Today, I need to redirect from one url path to another. It took me a while to get it right, and I’d better write it down before it’s forgotten. This is what I want: https://demo....

September 14, 2023 · 1 min · 112 words · kenno

How to configure IPv6 on FreeBSD via SLAAC

I recently got IPv6 running at home, with most devices including my iPhone happily get an IPv6 assigned. My NAS running FreeBSD13.2 currently only has an IPv4 assigned, so I’m going to configure IPv6 for it too. I’m still new to IPv6. The way I have it setup on my router, running OPNsense, is to set the “Router Advertisements” to “Unmanaged” with DHCPv6 disabled. “Unmanaged” for SLAAC (A flag), and SLAAC stands for Stateless Address Autoconfiguration....

September 8, 2023 · 3 min · 433 words · kenno