Blog 2024 12 - lago-morph/chiller GitHub Wiki

2024-12-17

Things to learn about in the next couple of weeks

  • Spring Boot and a review of Java syntax/idioms
    • Building containers for Spring Boot-based services
  • Angular, Spring Cloud Gateway and a review of Javascript syntax/idioms
    • Sample project/walkthrough on github here
    • Longer multi-step walkthrough using different Angular versions here
  • Elasticsearch and ELK stack
  • Some basic Docker Compose tutorial (I know the concepts, just need some fluidity)
  • Try out IntelliJ and get familiar with it. I'm very much a vi/Make kind of guy, but that isn't an ideal solution for larger projects using a bunch of different technologies

2024-12-16

  • Automated the process of getting a Jenkins server up and running using Packer and Vagrant. More info here.

2024-12-15

  • Want to learn a bit more about both Jenkins and Vagrant. So I'll spin up a Vagrant box and do the experimentation there.
    • Start with fresh Vagrantfile: vagrant init ubuntu/focal64, vagrant up, vagrant ssh. Note, I have not found a Canonical or Hashicorp noble box, so I'll stick with 20.04 (focal) for now. May switch to 22.04 (jammy) if JVM 21 not available.
    • Do what is needed to get Jenkins running. Installing openjdk-21-jre takes a LONG time. Should build a box with Packer to make this fast.
      • sudo apt install fontconfig openjdk-21-jre -y
    • Create a bootstrap.sh file with the things I manually did
sudo wget -O /usr/share/keyrings/jenkins-keyring.asc \
  https://pkg.jenkins.io/debian-stable/jenkins.io-2023.key
echo "deb [signed-by=/usr/share/keyrings/jenkins-keyring.asc]" \
  https://pkg.jenkins.io/debian-stable binary/ | sudo tee \
  /etc/apt/sources.list.d/jenkins.list > /dev/null
sudo apt-get update
sudo apt-get install jenkins

2024-12-13

  • Played around with Vagrant. I never realized it was so easy to spin up VMs for experimentation. Literally three commands, vagrant init hashicorp/bionic64 followed by vagrant up, and once it has booted, vagrant ssh. I am using the virtualbox provider.
  • Also played around some with WSL2. wsl.exe --install ubuntu and after asking for me to create a user, I'm running Ubuntu. Again, this is new to me. I've been using PuTTY into a VMWare Workstation VM that I installed using a downloaded ISO, where I went through the interactive GUI to install it. I thought at the time "there must be a better way..." and indeed there very much is.

2024-12-06

  • Found a problem with the IaC terraform config for chiller. When I try to do a terraform destroy, it fails when deleting the VPC. The reason is that the aws-load-balancer-controller has created an ALB, but it does not get deleted when the application is uninstalled with Helm. I had to manually remove the ALB and then rerun terraform destroy. This isn't severe enough to freak out about, but maybe I need to delete the egress when the Helm chart is uninstalled, then wait for the load-balancer-controller to remove the ALB before proceeding.