Create an EC2 AMI from Official OPNsense 25.1 Nano (raw) Image
This post shows how to convert the official OPNsense 25.1 Nano disk image (.img.bz2) into an EC2 AMI using VM […]
Engineering field notes
Tested walkthroughs from real lab and production-style setups across Linux, cloud, Kubernetes, networking, security, observability, data platforms, IoT, Android, and self-hosted services.
This post shows how to convert the official OPNsense 25.1 Nano disk image (.img.bz2) into an EC2 AMI using VM […]
OPNsense 25.1.3 is based on FreeBSD 14.2, but follow the build host version recommended by opnsense/tools for your chosen tag.
Certbot is designed to automatically renew certificates before they expire. The process works as follows: To verify the timer is
Start new shell session with root privileges. Make sure you have a database server up and running (I use MariaDB
Your IAM user should have the policy with the following permissions: Replace ACCOUNT with your AWS Account ID. Open Jenkins
Go to AWS Console → CodeBuild. Click Create project. Fill in the Project Name (e.g., android-sample-build). In Source: Inside your
Create a new file called Dockerfile: Run the following command to build your custom image: If you haven’t logged in
If Docker is not installed yet, install it first. Then, add Jenkins to the Docker group to allow it to
Remove any existing Docker packages to avoid conflicts: Ensure your package index is up-to-date: Add Docker’s GPG key to verify
Jenkins requires Java, so install OpenJDK: This will open a blank editor. Add the following lines: Save the file and