Introduction We are going to install traefik proxy in a docker container. The traefik proxy is going to use Let’s encrypt to get certificates(using cloudflare for the domain verifications). We are also going to setup DNS records to point to our traefik proxy which will inturn re-route the traffic to its respective domain. With this setup, I wi...
Self Signed Certificates and DNS Setup using Traefik
Initial Setup of Proxmox
Introduction The base of my homelab is virtualization. As a security engineer, I would need to have access to multiple machines with multiple images like kali and ubuntu. On top of requiring multiple machines with different images, we would need also need a testing and a production environment to test all the configurations before making them l...
Linux Essentials Certification Training
NOTE: This is mu notes in order to prepare for the CNCF linux essential certification Linux Distributions The main distributions in the field right now are, these distributions have evolved into a similar state. making the management of these different distributions similar and easy than they initially were. Red Hat OpenSUSE Cent OS ...
Using Loops and Conditions in Bicep
Conditions and Loops Conditions can especially usefull in multi environment deployments. We can deploy a certain resources in dev or test environment and deploy anothor in production environment. Consider the following example @description('Set this to true, if we want to deploy a storage account') param deployStorageAccount bool param storag...
Optimization of Bicep template with Parameters.
Optimizing Bicep Templates One of the best ways to optimize a bicep template, first would be to have proper reusable parameters along with making them secure. Since bicep is using Azure resource manager, we can pull in any data that the azure has and use them in the template, which allows us to reduce number of parameters we need in any given t...
Introduction to Bicep.
Introduction to Infrastructure as code using Bicep Deployment of resources using a code gives us more control on what it is we are deploying. It is like an instruction manual on what resources to deploy and how to deploy it. Infrastructure as code also makes it easy for automating the asset deployment using pipelines or workflows. IaC also mak...
Deploy Proxmox servers using Cloud Init
Proxmox VM Templates using Cloud-Init Using cloud images, which are essentially light weight, certified images compared to normal iso’s in tandam with cloud init making it really fast to spin up a virtual machine. Cloud images have cloud init preinstalled and can accept cloud configuration right out of the box. Proxmox can also leverage cloud i...
Modules in Bicep
Introduction When we are trying to deploy large number of resources or architecture, we can use modules. The two main benifits of using modules in biecp are: 1. Modularity :: Breaking down the components into smaller pieces. 2. Reusability :: Once we breakdown our code, we can reuse them to other solutions. Module can be passed with in...