Tuesday, September 15, 2026

How to Provision Ubuntu 24.0.4 EC2 Instance | How to create EC2 instance in AWS console | Launch Ubuntu 24.0.4 instance in AWS

How to create new EC2 instance in AWS console using new UI experience?

What is EC2 instance? 

It is virtual server provided by AWS. We will be using this EC2 to setup both Jenkins and Tomcat. Please follow the below steps to create an EC2 instance.

Watch in YouTube for a demo:

Steps:
1: Login to AWS console by clicking this link -->  https://aws.amazon.com/console/
click on All services, Click on Compute -->  Click on EC2


2. Click on Launch instance


3. Enter Name as EC2 and enter 2 as number of instances (one for Jenkins and another for Tomcat)


4. Select Ubuntu

 and choose Ubuntu server 24.0.4 as AMI


5. Enter t2.small as instance type
6. Click on Create new Key Pair


7. Choose the existing key pair if you have one, otherwise create new one, give some name as myJenkinsKey. Make sure you download the key in your local machine. Please do NOT give space or any character while naming the key.



8. Under Network settings, Click Edit



Add port range as 8080 and select AnyWhere as Source Type, that should enter 0.0.0.0/0 as Source

9. Configure Storage
Enter 15 GB as root volume 


And then make sure in Summary, values appear as below:


10. Click on Launch Instance.

Click on View instances

Now you should be able to view instances in AWS console. Now you can re-name as Jenkins-EC2 and Tomcat-EC2


Connect to EC2 instance from local machine:
Please click the below link to understand the steps for connecting to EC2 instance from your local machine - windows or Apple laptop.

http://www.cidevops.com/2018/02/how-to-connect-to-ec2-instance-from.html

Sunday, June 14, 2026

Complete AI-Enabled DevOps Learning Roadmap for 2026 | Skills Required to Become a Modern DevSecOps Engineer

🚀AI-Enabled DevOps Engineer Roadmap for 2026

The future belongs to AI-Enabled DevOps Engineers, not AI-only Engineers. Strong DevOps fundamentals combined with AI productivity skills will create the highest demand in the job market.

AI is not a replacement for DevOps skills. 

Top AI and DevOps skills

  1. Linux knowledge and scripting - basic troubleshooting and scripting and looking at the logs
  2. Experience in Git, GitHub, GitLab, Bitbucket, Azure Repos or any source code management tools.
  3. Experience in CI tools such as Jenkins, GitHub Actions, GitLab CICDAzure DevOps
  4. Experience in Code quality tool/security scanning tools - SonarQube, AquaSec Trivy, Checkov
  5. Experience in Infrastructure automation tools such as Terraform, AWS cloud formation
  6. Experience in Configuration Management tools such as Ansible, Puppet or Chef
  7. Experience in scripting languages such as YAML, groovy, Ruby, Python and Shell
  8. Experience in containers such as Docker, Kubernetes and Helm
  9. Experience in Monitoring tools such as Prometheus, Grafana
  10. Ability to troubleshoot in case builds, deployments failure.
  11. Any cloud knowledge and experience - AWS, Azure and Google cloud
  12. AI-assisted DevOps and Cloud Engineering
  13. AI-assisted Troubleshooting and RCA
  14. AI-assisted Infrastructure Automation
  15. AI-assisted DevSecOps
  16. AI-assisted Kubernetes Operations
  17. Understanding AI Agents, RAG and SRE Automation

Soft skills employers are looking:

These days employers are not only looking for strong technical skills but also looking "soft skills" which are essentials to become successful in IT. If you think if you are lagging on any of these skills, no worries. All these skills can be developed and improved over period of time by practicing.

  • Open minded
  • Willingness to learn new skills
  • Communication
  • Approachable
  • "Get it done" attitude
  • Being adaptable

Tuesday, June 9, 2026

How to integrate SonarQube with GitLab CICD Pipeline | SonarQube Integration with GitLab CICD | Automate Code Scan using SonarQube In GitLab CICD

 Please find steps for integrating SonarQube with GitLab CICD



Pre-requisites:

How to integrate SonarQube with GitLab CICD:
We will be following below steps:
  • Create Token in SonarQube to authenticate with GitLab
  • Add Sonar Token, SonarQube URL as Secrets in GitLab
  • Create GitLab CICD yaml
  • Add tasks for Maven build and Sonar Scan
  • Verify scan report in SonarQube

Create Token in SonarQube to authenticate with GitLab
You need to login to SonarQube using your admin password and click on Admin on your top side.
Click on My Account, Security. 
Under Tokens, Give some value for token name and choose global analysis token, click on generate Tokens. Copy the token value generated.


Add Sonar Token and Sonar Host URLs as Secret in GitLab
Go to your GitLab Repo --> Click on Settings --> CICD --> Variables



Click new Repository Secret



Add another variable for storing Sonar token




Create GitLab CICD workflow yaml:

Go to GitLab repo where your Java project is, create a new file:.gitlab-ci.yml

The below file have three stages:
    - build
    - sonar
    - deploy

Create .gitlab-ci.yml CICD Pipeline:
stages:
  - build
  - sonar
  - deploy

build_war:
  stage: build
  image: maven:3.8.6-eclipse-temurin-11

  script:
    - echo "Building WAR file using Maven"
    - mvn clean install -f MyWebApp/pom.xml
    - echo "Listing target directory"
    - ls -la MyWebApp/target

  artifacts:
    paths:
      - MyWebApp/target/*.war
    expire_in: 1 hour

sonarqube_scan:
  stage: sonar
  image: maven:3.9.6-eclipse-temurin-17

  script:
    - |
      mvn sonar:sonar \
        -f MyWebApp/pom.xml \
        -Dsonar.projectKey=MyWebApp \
        -Dsonar.host.url="${SONAR_HOST_URL}" \
        -Dsonar.token="${SONAR_TOKEN}"
      
deploy_to_tomcat:
  stage: deploy
  image: curlimages/curl:latest

  dependencies:
    - build_war

  script:
    - echo "Deploying WAR file to Tomcat running on AWS EC2"

    - |
      curl -v -u ${TOMCAT_USER}:${TOMCAT_PASSWORD} \
      -T MyWebApp/target/MyWebApp.war \
      "http://${TOMCAT_HOST}/manager/text/deploy?path=/MyWebApp&update=true"

Commit the file.

As soon as you commit, build will run immediately in GitLab CICD. 
Now you can see the output of build in Actions tab.



Now login to SonarQube to see the Scan report


Saturday, June 6, 2026

How to Implement CICD Pipeline using GitLab Yaml | GitLab CICD Tutorials | GitLab CICD Pipeline | Build Java WAR file using GitLab CICD YAML file

Here below is the code for creating GitLab CICD yaml file for Java Web App project to automate build and deployment. 

What is GitLab CICD?

GitLab CI/CD is a continuous integration and continuous deployment solution built into GitLab.


GitLab CI/CD

GitLab CI/CD is a feature of GitLab that automates:

  • Building code
  • Testing applications
  • Scanning code
  • Deploying applications

whenever developers push code into Git repositories.

What is .gitlab-ci.yml?

The .gitlab-ci.yml file is the heart of GitLab CI/CD pipelines.

It contains:

  • Pipeline stages
  • Jobs
  • Scripts
  • Variables
  • Artifacts
  • Deployment instructions

GitLab automatically reads this file whenever code changes are pushed into the repository. GitLab Runner uses a Docker container image to run the job. 

Pre-requisites:

.gitlab-ci.yml for implementing CICD using GitLab

stages:

  - build

  - deploy


build_war:

  stage: build

  image: maven:3.8.6-eclipse-temurin-11


  script:

    - echo "Building WAR file using Maven"

    - mvn clean install -f MyWebApp/pom.xml

    - echo "Listing target directory"

    - ls -la MyWebApp/target


  artifacts:

    paths:

      - MyWebApp/target/*.war

    expire_in: 1 hour


deploy_to_tomcat:

  stage: deploy

  image: curlimages/curl:latest


  dependencies:

    - build_war


  script:

    - echo "Deploying WAR file to Tomcat running on AWS EC2"


    - |

      curl -v -u ${TOMCAT_USER}:${TOMCAT_PASSWORD} \

      -T MyWebApp/target/MyWebApp.war \

      "http://${TOMCAT_HOST}/manager/text/deploy?path=/MyWebApp&update=true"




Sunday, May 31, 2026

🚀 Complete AI-Enabled DevSecOps Learning Roadmap for 2026 | Skills Required to Become a Modern DevSecOps Engineer

AI-Enabled DevOps Engineer Roadmap for 2026

The future belongs to AI-Enabled DevOps Engineers, not AI-only Engineers. Strong DevOps fundamentals combined with AI productivity skills will create the highest demand in the job market.

AI is not a replacement for DevOps skills. AI is a productivity accelerator. The best DevOps Engineers of the future will combine strong DevOps fundamentals with AI-assisted problem solving, automation and operational excellence.

Top AI and DevOps skills

  1. Linux knowledge and scripting - basic troubleshooting and scripting and looking at the logs
  2. Experience in Git, GitHub, GitLab, Bitbucket, Azure Repos or any source code management tools.
  3. Experience in CI tools such as Jenkins, GitHub Actions, GitLab CICDAzure DevOps
  4. Experience in Code quality tool/security scanning tools - SonarQube, AquaSec Trivy, Checkov
  5. Experience in Infrastructure automation tools such as Terraform, AWS cloud formation
  6. Experience in Configuration Management tools such as Ansible, Puppet or Chef
  7. Experience in scripting languages such as YAML, groovy, Ruby, Python and Shell
  8. Experience in containers such as Docker, Kubernetes and Helm
  9. Experience in Monitoring tools such as Prometheus, Grafana
  10. Ability to troubleshoot in case builds, deployments failure.
  11. Any cloud knowledge and experience - AWS, Azure and Google cloud
  12. AI-assisted DevOps and Cloud Engineering
  13. AI-assisted Troubleshooting and RCA
  14. AI-assisted Infrastructure Automation
  15. AI-assisted DevSecOps
  16. AI-assisted Kubernetes Operations
  17. Understanding AI Agents, RAG and SRE Automation

Soft skills employers are looking:

These days employers are not only looking for strong technical skills but also looking "soft skills" which are essentials to become successful in IT. If you think if you are lagging on any of these skills, no worries. All these skills can be developed and improved over period of time by practicing.

  • Open minded
  • Willingness to learn new skills
  • Communication
  • Approachable
  • "Get it done" attitude
  • Being adaptable

How to Provision Ubuntu 24.0.4 EC2 Instance | How to create EC2 instance in AWS console | Launch Ubuntu 24.0.4 instance in AWS

How to create new EC2 instance in AWS console using new UI experience? What is EC2 instance?  It is virtual server provided by AWS. We will ...