Skip to main content

Command Palette

Search for a command to run...

DevOps Week 1: My Journey Begins πŸš€

From Basics to Hands-on Learning β€” What I Explored in My First Week of DevOps

Updated
β€’16 min read
DevOps Week 1: My Journey Begins πŸš€
H
πŸ‘‹ Hi, I’m Hritik Ranjan β€” a B.Tech CSE student and a passionate tech enthusiast focused on Quality Engineering, AI/ML, Cybersecurity, and DevOps. πŸ’‘ I enjoy building and testing scalable, secure, and intelligent systems that solve real-world problems. My expertise and interests include: πŸ”Ή Quality Assurance & Testing Hands-on experience in manual and automation testing using Selenium & Java, ensuring high-quality and reliable applications. πŸ”Ή Artificial Intelligence & Machine Learning Exploring advanced algorithms and developing intelligent systems for practical use cases. πŸ”Ή Cybersecurity Focused on vulnerability assessment, security testing, and system hardening. πŸ”Ή Web Development Building responsive and user-friendly applications using modern technologies. πŸ”Ή Data Science Analyzing complex data to extract actionable insights. πŸ’Ό Key Projects: πŸš€ Blindness Detection System Applied computer vision techniques to detect blindness-related conditions. πŸš€ AI-Powered Rail Madad Enhancement Developed an intelligent complaint management system to improve railway customer service. πŸš€ Interactive Applications Built multiple projects like quiz apps, calculators, and productivity tools. 🌱 I’m continuously learning and improving my skills in DevOps, Cloud, and Automation to become a well-rounded engineer. 🀝 Open to collaborations, internships, and opportunities in QA, DevOps, AI/ML, and Cybersecurity. πŸ“« Let’s connect: hritikranjan1408@gmail.com

1. πŸ”Ή What is DevOps?

  • DevOps = Development + Operations

  • It is a culture + process + tools that helps teams:

    • Build software faster

    • Deploy quickly

    • Reduce errors

πŸ‘‰ Goal: Faster delivery + High quality + Automation


2. πŸ”Ή Why DevOps is Needed?

Traditional model problems:

  • Dev team builds code

  • Ops team deploys

  • ❌ Communication gap

  • ❌ Slow delivery

  • ❌ More bugs

DevOps solves:

  • βœ” Collaboration

  • βœ” Automation

  • βœ” Continuous delivery


3. πŸ”Ή DevOps Lifecycle (Very Important)

1. Planning

  • Requirement gathering

  • Tools: Jira, Trello

2. Development

  • Writing code

  • Tools: Git, GitHub

3. Build

  • Convert code β†’ executable

  • Tools: Maven, Gradle

4. Testing

  • Manual + Automated testing

  • Tools: Selenium, JUnit

5. Release

  • Prepare for deployment

6. Deployment

  • Push to server

  • Tools: Docker, Kubernetes

7. Operations

  • Run application

8. Monitoring

  • Track performance

  • Tools: Prometheus, Grafana


4. πŸ”Ή Key DevOps Concepts

βœ” CI (Continuous Integration)

  • Code is merged frequently

  • Detect bugs early

βœ” CD (Continuous Delivery / Deployment)

  • Automatic deployment

  • Faster release cycle

βœ” Automation

  • Reduces manual work

βœ” Infrastructure as Code (IaC)

  • Manage infra using code

  • Tools: Terraform, Ansible


5. πŸ”Ή Important DevOps Tools (Must Know)

πŸ”Έ Version Control

  • Git, GitHub

πŸ”Έ CI/CD Tools

  • Jenkins, GitLab CI

πŸ”Έ Containerization

  • Docker

πŸ”Έ Orchestration

  • Kubernetes

πŸ”Έ Configuration Management

  • Ansible, Puppet

πŸ”Έ Cloud Platforms

  • AWS, Azure, GCP

6. πŸ”Ή DevOps Pipeline (Flow)

πŸ‘‰ Code β†’ Build β†’ Test β†’ Deploy β†’ Monitor

  • Fully automated pipeline

  • Improves efficiency

  • Reduces human errors


7. πŸ”Ή Benefits of DevOps

  • πŸš€ Faster delivery

  • πŸ”„ Continuous updates

  • 🐞 Fewer bugs

  • 🀝 Better teamwork

  • ⚑ High efficiency


8. πŸ”Ή Real-World Example

Without DevOps:

  • App update takes weeks

With DevOps:

  • App update takes minutes/hours

9. πŸ”Ή DevOps Engineer Role

Responsibilities:

  • Manage CI/CD pipelines

  • Automate deployment

  • Monitor systems

  • Work with cloud & containers

Skills required:

  • Linux

  • Networking

  • Scripting (Python/Bash)

  • Cloud (AWS, Azure)

  • Tools (Docker, Jenkins, Kubernetes)


2. Software Development Lifecycle (SDLC)

πŸ“Œ Traditional Flow:

  1. Requirement

  2. Development

  3. Testing

  4. Deployment

❌ Problems:

  • Slow

  • Manual work

  • Communication gap


πŸ“Œ DevOps-Based Flow:

  • Continuous process

  • Automated pipeline

  • Faster delivery


πŸ”Ή 3. DevOps Lifecycle (Important πŸ”₯)

πŸ”„ Steps:

  1. Plan

    • Requirement gathering

    • Tools: Jira

  2. Code

    • Development using Git
  3. Build

    • Convert code β†’ executable

    • Tools: Maven / Gradle

  4. Test

    • Automated testing

    • Tools: Selenium, JUnit

  5. Release

    • Prepare for deployment
  6. Deploy

    • Deploy on server/cloud
  7. Monitor

    • Track performance

πŸ”Ή 4. CI/CD Pipeline (Core Concept)

βœ” CI (Continuous Integration)

  • Developers push code regularly

  • Auto build + test

βœ” CD (Continuous Delivery / Deployment)

  • Auto deployment to server

πŸ”„ Pipeline Flow:

πŸ‘‰ Code β†’ Build β†’ Test β†’ Deploy β†’ Monitor


🎯 Benefits:

  • Faster delivery

  • Less bugs

  • Automation

πŸ“Œ Video emphasizes:

πŸ‘‰ β€œAutomation is the heart of DevOps”


πŸ”Ή 5. Git & Version Control

βœ” Git:

  • Track code changes

  • Collaboration tool

βœ” GitHub:

  • Remote repository

πŸ“Œ Commands (basic idea):

  • git clone

  • git add

  • git commit

  • git push


πŸ”Ή 6. Jenkins (CI/CD Tool)

βœ” What Jenkins Does:

  • Automates pipeline

πŸ“Œ Workflow:

  1. Code pushed to GitHub

  2. Jenkins triggers build

  3. Run tests

  4. Deploy automatically


🎯 Key Feature:

  • Pipeline as code (Jenkinsfile)

πŸ”Ή 7. Docker (Containerization)

βœ” Problem Solved:

  • β€œIt works on my machine” issue

βœ” Solution:

  • Package app + dependencies

πŸ“Œ Docker Concepts:

  • Image

  • Container

  • Dockerfile


βœ” Benefits:

  • Lightweight

  • Fast

  • Portable


πŸ”Ή 8. Kubernetes (K8s)

βœ” Role:

  • Manage containers at scale

πŸ“Œ Features:

  • Auto scaling

  • Load balancing

  • Self-healing


βœ” Used For:

  • Microservices architecture

πŸ”Ή 9. Cloud Computing

βœ” Why Cloud?

  • No physical servers

  • Pay-as-you-go


πŸ“Œ Platforms:

  • AWS

  • Azure

  • GCP


βœ” Services:

  • Compute (EC2)

  • Storage (S3)

  • Networking


πŸ”Ή 10. Infrastructure as Code (IaC)

βœ” Meaning:

  • Write infra using code

πŸ“Œ Tools:

  • Terraform

  • Ansible


βœ” Benefits:

  • Automation

  • Consistency

  • Easy scaling


πŸ”Ή 11. Monitoring & Logging

βœ” Why Important?

  • Detect issues

  • Improve performance


πŸ“Œ Tools:

  • Prometheus

  • Grafana


πŸ”Ή 12. Real-World DevOps Workflow (Most Important πŸ”₯)

πŸ‘‰ This is what companies actually do:

  1. Developer writes code

  2. Push to GitHub

  3. Jenkins triggers pipeline

  4. Docker builds container

  5. Kubernetes deploys app

  6. Cloud hosts application

  7. Monitoring tools track performance


πŸ”Ή 13. DevOps Tools Stack

Category Tools
Version Control Git, GitHub
CI/CD Jenkins
Container Docker
Orchestration Kubernetes
Cloud AWS
Monitoring Grafana

πŸ”Ή 14. Benefits of DevOps

  • πŸš€ Faster delivery

  • ⚑ Automation

  • πŸ” Continuous updates

  • 🐞 Less bugs

  • 🀝 Better teamwork


πŸ”Ή 15. Interview Questions

  1. What is DevOps?

  2. Difference between CI & CD?

  3. What is Docker?

  4. What is Kubernetes?

  5. What is Jenkins?

  6. Explain DevOps lifecycle

  7. What is IaC?

What is a Virtual Machine (VM)?

  • A Virtual Machine (VM) is: πŸ‘‰ A software-based computer running inside a physical computer

  • It behaves like:

    • Real computer

    • Has OS, CPU, RAM, storage

πŸ‘‰ Example:

  • Your laptop = Physical machine

  • Inside it β†’ multiple VMs (Windows, Linux)


πŸ”Ή 2. Why Virtual Machines are Needed?

❌ Problem (Before VM):

  • One server = One OS

  • Resources wasted:

    • CPU idle

    • RAM unused

βœ” Solution (VM):

  • Run multiple OS on one system

  • Better resource usage

πŸ‘‰ Result:

  • Cost saving

  • Efficient system usage

πŸ“Œ VMs improve resource efficiency by running multiple isolated environments on one server


πŸ”Ή 3. Concept of Virtualization

βœ” Virtualization = Core Idea

  • Divide one physical machine into multiple virtual machines

πŸ‘‰ Each VM:

  • Independent

  • Isolated

  • Secure


🧠 Example (Easy Analogy)

  • Land = Physical server

  • Houses = Virtual machines

πŸ‘‰ Instead of one big house:

  • Build multiple small houses

  • Use land efficiently


πŸ”Ή 4. Hypervisor (Very Important πŸ”₯)

βœ” What is Hypervisor?

  • Software that creates & manages VMs

πŸ‘‰ It sits between:

  • Hardware

  • Virtual machines


πŸ“Œ Types of Hypervisor:

1. Type 1 (Bare Metal)

  • Directly on hardware

  • Faster & efficient

πŸ‘‰ Examples:

  • VMware ESXi

  • Microsoft Hyper-V


2. Type 2 (Hosted)

  • Runs on OS

πŸ‘‰ Examples:

  • VirtualBox

  • VMware Workstation


🎯 Role of Hypervisor:

  • Allocate CPU, RAM

  • Manage VMs

  • Ensure isolation

πŸ“Œ Hypervisors enable cloud providers to offer scalable resources


πŸ”Ή 5. Virtual Machines in Cloud

βœ” Cloud Providers Use VMs

πŸ‘‰ Example:

  • AWS EC2

  • Azure VM


πŸ“Œ How it Works:

  1. Physical server (data center)

  2. Hypervisor installed

  3. Multiple VMs created

  4. Users rent VMs


🎯 Benefit:

  • Pay only for usage

  • Scalable resources


πŸ”Ή 6. VM vs Physical Machine

Feature Physical Machine Virtual Machine
Cost High Low
Resource Usage Wasted Optimized
Flexibility Low High
Scalability Limited Easy

πŸ”Ή 7. Advantages of Virtual Machines

  • βœ” Better resource utilization

  • βœ” Cost efficient

  • βœ” Isolation (secure)

  • βœ” Easy backup & recovery

  • βœ” Run multiple OS


πŸ”Ή 8. Limitations of VM

  • ❌ Heavy (needs full OS)

  • ❌ Slower than containers

  • ❌ More resource usage


πŸ”Ή 9. VM vs Containers (Important πŸ”₯)

Feature VM Container
OS Full OS Shared OS
Size Heavy Lightweight
Speed Slow Fast

πŸ‘‰ Containers (Docker) are more efficient than VMs


πŸ”Ή 10. Role of VM in DevOps

VM is used for:

  • Testing environments

  • Running applications

  • Cloud deployment


πŸ”„ DevOps Flow with VM:

  1. Developer writes code

  2. Deploy on VM

  3. Test application

  4. Scale using cloud


πŸ”Ή 11. Real-World Example

πŸ‘‰ Company server:

  • Without VM β†’ 1 app only

  • With VM β†’ multiple apps

πŸ‘‰ Saves:

  • Cost

  • Infrastructure


πŸ”Ή 12. Key Takeaways

  • VM = Virtual computer

  • Virtualization = Divide resources

  • Hypervisor = VM manager

  • Cloud = Uses VMs

  • Goal = Efficiency + Cost saving

AWS & Azure – How to Create Virtual Machines

πŸ”Ή A. AWS EC2 (Virtual Machine Creation)

πŸ“Œ Step-by-Step Process:

  1. Login to AWS Console

  2. Go to EC2 Dashboard

  3. Click Launch Instance

  4. Enter:

    • Instance Name

    • OS (AMI – Amazon Linux / Ubuntu)

  5. Select Instance Type

    • e.g., t2.micro (Free tier)
  6. Create / Select Key Pair (.pem file)

  7. Configure Network:

    • Enable Public IP

    • Security Group β†’ Allow SSH (Port 22)

  8. Click Launch Instance

πŸ‘‰ EC2 instance = Virtual Server in AWS Cloud (AWS Documentation)


πŸ”Ή Important Concepts (From Video)

  • AMI β†’ OS template

  • Key Pair β†’ Used for login

  • Security Group β†’ Firewall

  • Instance Type β†’ CPU + RAM


πŸ”Ή Azure VM (Similar Steps)

  1. Go to Azure Portal

  2. Create Virtual Machine

  3. Select:

    • Image (Ubuntu/Windows)

    • Size

  4. Configure:

    • Username + Password / SSH
  5. Open ports (22/3389)

  6. Deploy VM


πŸ”₯ Key Difference (AWS vs Azure)

AWS Azure
EC2 Virtual Machine
Key Pair (.pem) Username + Password
Security Group Network Security Group

πŸŽ₯ 2. Connect to EC2 from Windows (MobaXterm)

πŸ”Ή What is MobaXterm?

  • SSH tool for Windows

  • Used to connect Linux servers easily


πŸ”Ή Steps to Connect EC2 using MobaXterm

πŸ“Œ Step 1: Download MobaXterm

  • Install & open app

πŸ“Œ Step 2: Get EC2 Details

From AWS:

  • Public IP

  • Username (ec2-user / ubuntu)

  • .pem key file


πŸ“Œ Step 3: Create Session

  1. Click Session β†’ SSH

  2. Enter:

    • Remote host = EC2 Public IP

    • Username

  3. Go to Advanced Settings

    • Select your .pem file

πŸ“Œ Step 4: Connect

  • Click OK

  • Terminal opens β†’ connected to EC2

πŸ‘‰ MobaXterm uses SSH with .pem key authentication (Braincuber Technologies)


πŸ”Ή Common Errors (Important)

  • ❌ Permission denied β†’ Wrong key

  • ❌ Timeout β†’ Security group issue

  • ❌ Host unreachable β†’ No public IP


πŸŽ₯ 3. AWS CLI + Connect EC2 (UI & Terminal + CFT)


πŸ”Ή A. Connect EC2 from AWS UI (Browser)

πŸ“Œ Steps:

  1. Go to EC2 β†’ Instances

  2. Select instance

  3. Click Connect

  4. Choose:

    • EC2 Instance Connect
  5. Click Connect

πŸ‘‰ Opens terminal in browser

πŸ‘‰ AWS pushes temporary SSH key for login (AWS Documentation)


πŸ”Ή B. Connect EC2 via Terminal (CLI)

πŸ“Œ Command:

ssh -i your-key.pem ec2-user@public-ip

βœ” Explanation:

  • i β†’ key file

  • ec2-user β†’ username

  • public-ip β†’ EC2 IP


πŸ”Ή Steps:

  1. Open terminal (Git Bash / CMD)

  2. Navigate to key location

  3. Run SSH command

  4. Connected to server


πŸ”Ή C. AWS CLI Basics (From Video)

πŸ“Œ Install AWS CLI

  • Download from AWS site

  • Configure:

aws configure

Enter:

  • Access Key

  • Secret Key

  • Region


πŸ“Œ Common Commands:

  • List instances:
aws ec2 describe-instances
  • Start instance:
aws ec2 start-instances --instance-ids <id>
  • Stop instance:
aws ec2 stop-instances --instance-ids <id>

πŸ”Ή D. CloudFormation (CFT Overview)

βœ” What is CFT?

  • Infrastructure as Code tool

πŸ“Œ Use:

  • Create EC2 using template

βœ” Benefits:

  • Automation

  • Repeatable setup

  • No manual work


πŸš€ Continue Your Learning Journey

Thank you for taking the time to read this article.

Technology is evolving rapidly, and continuous learning is one of the most valuable investments you can make in your career. Whether you're exploring DevOps, Cloud Computing, Artificial Intelligence, Cybersecurity, Software Development, Data Science, or Career Growth, the resources below can help you deepen your knowledge and stay ahead in the industry.


πŸŽ“ Recommended Learning Platforms

πŸš€ Coursera

Learn from world-renowned universities and industry leaders including Google, IBM, Stanford, Microsoft, Meta, and many more.

βœ” Professional Certificates βœ” Career-focused Learning Paths βœ” AI & Machine Learning Programs βœ” Cloud & DevOps Certifications βœ” Business & Leadership Courses

πŸ”— https://imp.i384100.net/k0KvbV


πŸ’» Udemy

One of the largest online learning platforms with practical, hands-on courses covering:

βœ” DevOps & Kubernetes βœ” Docker & Cloud Computing βœ” AWS, Azure & GCP βœ” Programming & Development βœ” Cybersecurity & Ethical Hacking

πŸ”— https://trk.udemy.com/MAL2MY


πŸ“Š DataCamp

A great platform for anyone interested in:

βœ” Python Programming βœ” SQL & Databases βœ” Data Analytics βœ” Machine Learning βœ” Artificial Intelligence

Interactive learning paths and hands-on projects make it ideal for beginners and professionals alike.

πŸ”— https://datacamp.pxf.io/nX4kER


πŸŽ“ edX

Access high-quality courses and certifications from leading institutions such as:

βœ” Harvard University βœ” MIT βœ” Berkeley βœ” Microsoft

Perfect for learners seeking university-level education online.

πŸ”— https://edx.sjv.io/POvVeN


🎨 Domestika

Enhance your creative skills with courses on:

βœ” Graphic Design βœ” Video Editing βœ” Animation βœ” Digital Marketing βœ” Content Creation

πŸ”— https://domestika.sjv.io/dynKAW


πŸ› οΈ Recommended Tools & Resources

πŸ”₯ AppSumo

Discover exclusive lifetime deals on:

βœ” AI Tools βœ” Productivity Software βœ” Developer Utilities βœ” Marketing Platforms βœ” Business Applications

A must-have resource for developers, creators, freelancers, and entrepreneurs looking to save money while accessing premium tools.

πŸ”— https://appsumo.8odi.net/L04a33


πŸ›’ Shopify

Looking to start an online business or launch an eCommerce store?

Shopify provides everything you need to build, manage, and scale an online business.

βœ” Online Store Builder βœ” Payment Integration βœ” Inventory Management βœ” Marketing Tools

πŸ”— https://shopify.pxf.io/Vxv09k


🌐 WordPress, WooCommerce & Jetpack

Create professional websites, blogs, and online stores with one of the most trusted web ecosystems in the world.

Ideal for:

βœ” Personal Blogs βœ” Portfolio Websites βœ” Business Websites βœ” eCommerce Stores

πŸ”— https://automattic.pxf.io/Z6vR5W


🌍 Language Learning Resources

πŸ—£οΈ Preply

Learn English and other languages through personalized one-on-one tutoring sessions with experts from around the world.

πŸ”— https://preply.sjv.io/o4gBDY


πŸ“š British Council English Online

Improve your professional communication skills and English fluency through structured learning programs.

πŸ”— https://englishonline.sjv.io/9VOGa4


🧠 Rosetta Stone

One of the most recognized language-learning platforms for immersive language acquisition.

πŸ”— https://aff.rosettastone.com/X4OyqG


πŸ§ͺ Science & Educational Resources

πŸ”¬ MEL Science

Interactive science kits and educational experiences designed to make STEM learning engaging and practical.

πŸ”— https://imp.i328067.net/bk2beg


πŸ“– Carson Dellosa Education

Educational materials and learning resources for students, teachers, and lifelong learners.

πŸ”— https://carsondellosaeducation.sjv.io/E0JbjW


❀️ Support My Work

Creating detailed technical content, tutorials, guides, and learning resources takes significant time and effort.

If you find my articles helpful and would like to support my work, you can do so through the following platforms:

⭐ Become a GitHub Sponsor

Support my open-source contributions, technical content, and community projects.

πŸ”— https://github.com/sponsors/hritikranjan1


β˜• Buy Me a Chai

Enjoying my content? Consider buying me a chai and supporting future tutorials, guides, and educational resources.

πŸ”— https://www.chai4.me/hritikranjan


πŸ‘¨β€πŸ’» Connect With Me

Hritik Ranjan

πŸ’‘ AI Enthusiast ☁️ DevOps Learner πŸ” Cybersecurity Advocate πŸ’» Software Developer

Connect & Follow

πŸ”— GitHub: https://github.com/hritikranjan1

πŸ”— LinkedIn: https://linkedin.com/in/hritikranjan1


πŸ“’ Found This Article Helpful?

If this article added value to your learning journey:

βœ… Share it with your network βœ… Bookmark it for future reference βœ… Follow for more DevOps, AI, Cloud, Cybersecurity, and Software Engineering content

Thank you for reading and being part of this learning journey.

Keep Learning. Keep Building. Keep Growing. πŸš€

111 views

DevOps Learning Journey πŸš€

Part 1 of 14

Documenting my step-by-step journey of learning DevOps β€” from basics to advanced concepts. In this series, I’ll share weekly notes, hands-on practice, tools, and real-world insights as I grow in DevOps.

Up next

πŸ“˜ DevOps Week 2 – Linux OS Fundamentals & Shell Scripting

Learn Linux commands, shell scripting fundamentals, and build a real-world AWS Resource Tracker project to automate monitoring and optimize cloud costs.

More from this blog

D

DevOps Journey by Hritik

14 posts

Started my DevOps journey from scratch, covering Linux, shell scripting, and a real-world AWS project for beginners.