Terraform Installation on Amazon Linux 2 – EC2

Step1 : Install yum-config-manager to manage your repositories. sudo yum install -y yum-utils Step2 : Use yum-config-manager to add the official HashiCorp Linux repository. sudo yum-config-manager –add-repo https://rpm.releases.hashicorp.com/AmazonLinux/hashicorp.repo Step3 : Install Terraform from the new repository. sudo yum -y install terraform Step4 : Verify that […]

Ansible AWS EC2 Dynamic Inventory

Step 1:Make sure you have installed python3 and pip in your Ansible server. python3 –version If you don’t have python3, you can install it using the following command. sudo yum install python3 -y sudo yum -y install python-pip Step 2: Install the boto3 library. Ansible […]

How to install Jenkins on Amazon Linux EC2 Machine

Step 1 : Update your EC2 instance machine sudo yum update Step 2 : Add the Jenkins repo using the following command sudo wget -O /etc/yum.repos.d/jenkins.repo https://pkg.jenkins.io/redhat-stable/jenkins.repo Import a key file from Jenkins-CI to enable installation from the package: sudo rpm –import https://pkg.jenkins.io/redhat-stable/jenkins.io.key Step 3 […]