Category: IaC
-
Real World DevOps CI/CD Python Project – Part 3
Read This Post: Real World DevOps CI/CD Python Project – Part 3Part 1 – Here Part 2 – Here Jenkins So let’s install Jenkins on the server02 by following the Jenkins Documentation, it’s pretty simple. After the installation completes we need to enable and start Jenkins. Ok, we confirmed that the service is up and running. Now type the following to get the initial admin password…
-
Real World DevOps CI/CD Python Project – Part 2
Read This Post: Real World DevOps CI/CD Python Project – Part 2Part 1 – Here Kubernetes Cluster Following part 1 of our project, if you deployed all the VMs using the Vagrant Scripts that I used, it is going to be easy to configure our Kubernetes Cluster because the container runtime is already installed as well as the kubelet and kubeadm, so, to configure the cluster…
-
Real World DevOps CI/CD Python Project – Part 1
Read This Post: Real World DevOps CI/CD Python Project – Part 1In this post, I will show how to deploy a Python + Flask app to a Kubernetes cluster using Jenkins + Ansible from a GitHub repository. Scenario This is a real-world use case that I had to do on my job, the App is a self-service portal where the users can log in with their…
-
Automating tasks with Ansible
Read This Post: Automating tasks with AnsibleIn this post, I will show how to automate tasks using Ansible. For this example, I will use the script to Domain join Ubuntu servers to the Active Directory domain. First, install ansible on the Control Node, which is the server you will use to manage the others, in our case, server01 is the chosen…
-
Multiple VMs at once with Vagrant and VirtualBox
Read This Post: Multiple VMs at once with Vagrant and VirtualBoxIn this post, I showed how to provision a Ubuntu VM using Vagrant and VirtualBox, now here is an updated version to provision as many as you want (and your hardware supports) within a single script. Basically, the script is the same as before, the difference is that I’ve set some variables and moved the…
-
Locally provisioning VMs in Virtualbox using Vagrant
Read This Post: Locally provisioning VMs in Virtualbox using VagrantVagrant is a tool from Hashicorp that enables you to deploy Infrastructure as code very fast. First, create a directory and open the Terminal on that directory and run the vagrant init command. It will create a Vagrantfile, edit this file to provision the resources you want. Here is a script to provision an Ubuntu…