Menu
blog.headdesk.me
blog.headdesk.me

Category: tech

AWS Compute Savings Plans

We all love discounts. But do you know what you’re getting yourself into?

Loading

External modules on Terraform

External terraform modules can speed up IAC deployments, promote code reuse, and let us do things more consistently. In this post, I will demonstrate 2 ways to use an external module.

Loading

Error 0xc1900101 when updating to Windows 11 22H2

I have Windows 11 VM running inside Qemu. Been trying to update it a few times, and everytime the VM could not boot. Perhaps some virtio driver might have prevented it from booting. After some googling, I was able to fix it.

Loading

Apply changes to all member accounts in an AWS organization

In this demo, I will use Cloudformation StackSets to create an IAM group in all accounts.

Loading

RPI4 under voltage

Out of curiosity, I ran some comparison between connecting my RPI4 to a USB port on a power strip, and to a QC power adapter. There is a clear winner.

Loading

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.

Loading

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…

Loading

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.

Loading

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.

Loading

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.

Loading

  • 1
  • 2
  • 3
  • 4
  • 5
  • Next
  • aws (14)
  • coffee (2)
  • headfi (1)
  • linux (9)
  • others (61)
  • security (2)
  • tech (41)
  • terraform (3)
  • wordpress (2)

Loading

apache aws awscli azure backup boot cloud coffee docker ec2 EL8 ElasticBeanstalk espresso featured git kernel lelit linux lvm meltdown MFA nat gateway php power proliant python rdp Redhat RHEL rpm Ryzen scp security smartarray smart switch snapshot spectre tech terraform ubuntu ubuntu upgrade vpn windows wordpress workspace

©2026 blog.headdesk.me | Powered by SuperbThemes