[Bash] Terraform install

To make sure the latest version of terraform is used when applying IaC code (mostly on a local Linux terminal) this bash script comes in handy ! The script is designed to automate the installation and update process of Terraform (binary).What does the script do: Below Bash Code will install or update Terraform (File: install_terraform.sh) … Read more

Deploying Azure Storage with Bicep and GitHub Actions (part 1)

In this blog post, it is shown how to deploy an Azure Storage account using Bicep, a declarative language for describing and deploying Azure resources, and GitHub Actions, a CI/CD solution that’s directly integrated into GitHub. The Bicep File Our Bicep file, main.bicep, starts by defining a few parameters: The Bicep file then defines a … Read more

[Cloudflare – Letsencrypt] Renew SSL Certificate with Certbot

This Article assumes renewal of an existing SSL (Letsencrypt) Certificate with DNS managed by Cloudflare. Renewal steps: 0. Preparation 1.Check Validity of the Certificate: In browser / SSL checker / openssl on host Example: vpn.devops100.net 2. Run the certbot command to renew the SSL Certificate for vpn.devops100.net 4. Check the TXT via Google Toolbox 5. … Read more

[GITLAB RUNNER – self hosted] Fix for Docker in Docker (DinD)

CI Job failed

1.2 The self hosted Gitlab runner (executable on Linux VM) is not configured properly to use DinD Source: https://docs.gitlab.com/ee/ci/docker/using_docker_build.html#use-docker-in-docker 2.3 THIS SOLUTION IS POTENTIALLY UNSAFE – ALTERNATIVE Alternative is to use kaniko to create the docker image. kaniko solves two problems with using the Docker-in-Docker build method: * Docker-in-Docker requires privileged mode to function, which … Read more

[DNS] Email undeliverable when using Cloudflare

Cloudflare does not proxy traffic on port 25 (SMTP) unless Cloudflare Spectrum is enabled and configured to proxy email traffic across Cloudflare. If you do not have Spectrum enabled, then no email traffic (SMTP) will actually pass through Cloudflare, and we will simply resolve the DNS. This also means that any DNS record used to send email … Read more