DevOps Week 1: My Journey Begins π
From Basics to Hands-on Learning β What I Explored in My First Week of DevOps

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:
Requirement
Development
Testing
Deployment
β Problems:
Slow
Manual work
Communication gap
π DevOps-Based Flow:
Continuous process
Automated pipeline
Faster delivery
πΉ 3. DevOps Lifecycle (Important π₯)
π Steps:
Plan
Requirement gathering
Tools: Jira
Code
- Development using Git
Build
Convert code β executable
Tools: Maven / Gradle
Test
Automated testing
Tools: Selenium, JUnit
Release
- Prepare for deployment
Deploy
- Deploy on server/cloud
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 clonegit addgit commitgit push
πΉ 6. Jenkins (CI/CD Tool)
β What Jenkins Does:
- Automates pipeline
π Workflow:
Code pushed to GitHub
Jenkins triggers build
Run tests
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:
Developer writes code
Push to GitHub
Jenkins triggers pipeline
Docker builds container
Kubernetes deploys app
Cloud hosts application
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
What is DevOps?
Difference between CI & CD?
What is Docker?
What is Kubernetes?
What is Jenkins?
Explain DevOps lifecycle
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:
Physical server (data center)
Hypervisor installed
Multiple VMs created
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:
Developer writes code
Deploy on VM
Test application
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:
Login to AWS Console
Go to EC2 Dashboard
Click Launch Instance
Enter:
Instance Name
OS (AMI β Amazon Linux / Ubuntu)
Select Instance Type
- e.g., t2.micro (Free tier)
Create / Select Key Pair (.pem file)
Configure Network:
Enable Public IP
Security Group β Allow SSH (Port 22)
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)
Go to Azure Portal
Create Virtual Machine
Select:
Image (Ubuntu/Windows)
Size
Configure:
- Username + Password / SSH
Open ports (22/3389)
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
Click Session β SSH
Enter:
Remote host = EC2 Public IP
Username
Go to Advanced Settings
- Select your
.pemfile
- Select your
π 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:
Go to EC2 β Instances
Select instance
Click Connect
Choose:
- EC2 Instance Connect
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 fileec2-userβ usernamepublic-ipβ EC2 IP
πΉ Steps:
Open terminal (Git Bash / CMD)
Navigate to key location
Run SSH command
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. π






