Menu
blog.headdesk.me
blog.headdesk.me

Category: tech

Dumping AWS Organization tree

Recently, I’m tasked to transfer a set of AWS accounts to another cloud service provider. I realize there is not a simple way to capture the organizational tree structure. Knowing the tree structure is quite important in understanding the net effects of SCP. A python script is developed to solve this problem.

Free is the most expensive

Today, I found out my domain one.27 is offline. Took me a while to figure out freenom might have deleted my domain for unknown reasons. Fortunately, this is just a personal blog. Nothing important runs off this domain. Spent half hour to reconfigure my cloudflared argo tunnel and changed the header image. Everything is back…

Terraform conditional resource and blocks

In this example, I will first demonstrate how to conditionally create a terraform resource. Then how to add a configuration block inside a resource conditionally.

Upgrade Ubuntu 16.04 to latest release

Ubuntu 16.04 went EOL on April 2021. In this post, I will demonstrate how to do an in-place upgrade to the latest release.

Inspect and control network traffic on AWS

In this example, I will deploy a software router between Internet Gateway and a workload EC2 instance. All traffic will be routed through the software router. With this setup, I can gain visibility on network traffic. I can also control the traffic with iptables, such as rate limit certain type of network requests.

TLS1.3 on older linux distro

TLS1.3 is not commonly supported on older distro due to slow adaptation of new version of openssl. To get around that, we can compile libressl from source. Here is how I did it on AmazonLinux2.

Plan your migration to AWS with AWS Migration Hub

AWS Migration Hub provides a set of tools for planning your migration to cloud. An agent needs to be installed either inside the OS or on the hypervisor. Captured usage will be used to make recommendation on migration approach and even sizing. In this example, I will put agents to 2 Linux VMs and then…

HPE SmartArray won’t boot

Perhaps you’ve forgotten to set the bootable logical drive.. and here is how

My first attempt to serverless API hosting

Here, I’ll demonstrate how to host an HTTP api call on AWS using Lambda and Api Gateway.

mikrotik

My adventure on MikroTik

Recently, I came across the MikroTik routers and so happen I need to troubleshoot a site-to-site VPN issue.

  • 1
  • 2
  • 3
  • 4
  • Next
  • aws (8)
  • coffee (1)
  • headfi (1)
  • linux (6)
  • others (58)
  • security (2)
  • tech (36)
  • wordpress (2)

apache aws awscli azure backup clearlinux cloud coffee docker DOCP ec2 EL8 epyc espresso featured gpg jenkins kernel lelit linux lvm meltdown memory MFA mikrotik php python rdp Redhat RHEL roasting rpm Ryzen site-to-site snapshot spectre tech terraform tuning ubuntu ubuntu upgrade vim vpn wordpress xdotool

©2023 blog.headdesk.me | Powered by SuperbThemes & WordPress