When I started building my full-stack project, VendorVerse, my primary focus was on development. I worked on its frontend, backend, database, authentication, payment integration, dashboards, and other features. Eventually, I deployed the application and made it accessible online.
At that point, I thought:
“My project is complete. It works!”
But then I faced a problem that changed the way I looked at software development.
I tried moving my project from my machine to another machine and running it there.
And guess what?
It didn't work.
That raised an important question:
If my project works perfectly on my machine, why doesn't it work on another machine?
The code was the same. The project files were the same. So, what was different?
- Maybe the Node.js version was different.
- Maybe some dependencies were missing.
- Maybe environment variables were not configured.
- Maybe the operating system or configuration was different.
This was my first practical encounter with the problem behind the famous developer statement:
“It works on my machine!”
I wanted to understand why this happens and, more importantly, how developers solve it.
That is where my DevOps journey began.
1. Understanding DevOps
Before exploring different tools, I wanted to understand what DevOps actually means.
In simple terms, DevOps combines development and operations practices to help teams build, test, deploy, operate, and monitor software more consistently and reliably.
DevOps is not just Docker.
It is not just cloud computing.
And it is not just CI/CD.
It is a broader approach to managing the software delivery process, encouraging collaboration, automation, and continuous improvement.
Imagine we are building an e-commerce application like VendorVerse. The journey involves several activities:
- Planning features
- Writing code
- Building the application
- Testing functionality
- Preparing releases
- Deploying the application
- Operating the application
- Monitoring its performance
These activities are connected and continuously repeated as the application evolves.
2. Understanding the DevOps Lifecycle
One of the first concepts I explored was the DevOps lifecycle, commonly represented through an infinity loop.
A commonly used model includes eight stages:
Plan → Code → Build → Test → Release → Deploy → Operate → Monitor
Let's understand these stages with a simple VendorVerse example.
1. Plan
Before writing code, we decide what we want to build.
For VendorVerse, the requirements included:
- Customer registration and login
- Product management
- Shopping cart and wishlist
- Orders and payments
- Seller dashboard
- Admin dashboard
- Product reviews
- Chat functionality
Planning helps answer one basic question:
What are we going to build?
2. Code
This is where developers write and maintain the application code.
VendorVerse uses technologies such as:
- React
- Node.js
- Express.js
- MongoDB
- JavaScript
Developers implement features, fix bugs, and improve the application during this stage.
3. Build
After writing code, we need to prepare the application for execution or deployment.
For example:
npm install npm run build With Docker, we can also build an image:
docker build -t vendorverse-backend . The build process prepares the application and its required artifacts.
4. Test
Now we need to check whether the application works correctly.
For an e-commerce application, possible test cases include:
- Can a user log in?
- Can a user add a product to the cart?
- Can a customer place an order?
- Does the payment process work?
- Can a seller update an order?
- Can an admin manage users?
Testing helps identify problems before they affect users.
5. Release
Once an application version is ready, it can be prepared for release.
For example:
- Version 1.0
- Version 1.1
- Version 1.2
Each release represents a particular state of the application.
6. Deploy
Deployment makes the application available in an environment where users can access it.
A simplified flow looks like this:
Local Development | v Server / Cloud | v Live Application This is where deployment platforms and cloud infrastructure become important.
7. Operate
Deploying an application does not mean the work is finished.
We need to keep it running and manage its environment.
This may involve:
- Restarting services
- Managing servers
- Handling failures
- Updating applications
- Managing resources
- Scaling the application
8. Monitor
Finally, we need visibility into how our application is performing.
Some important things to monitor include:
- CPU usage
- Memory usage
- Application errors
- Response time
- Server health
- Application logs
Monitoring helps us identify problems and understand what is happening after deployment.
That is why the DevOps lifecycle is often represented as an infinity loop: software development and operations are continuous processes rather than one-time activities.
3. My First Step: Revisiting Linux
After understanding the DevOps lifecycle, I followed a DevOps learning roadmap. One of the next major topics was Linux.
Fortunately, Linux was not completely new to me. In my previous semester, I had studied Operating Systems and learned several concepts related to operating systems and Linux.
But instead of thinking, “I have already studied this, so I can skip it,” I decided to revise Linux from a DevOps perspective.
Why?
Because Linux is widely used in servers, cloud environments, containers, and DevOps workflows.
I revised commands such as:
pwd ls cd mkdir touch cp mv rm cat grep find For example:
cd VendorVerse moves into the VendorVerse directory.
I also revised concepts such as:
- File and directory management
- File permissions
- Processes and jobs
- Users
- SSH
- Environment variables
- Basic networking
One important concept was Linux file permissions:
-
r= Read -
w= Write -
x= Execute
For example:
chmod +x script.sh adds execute permission to a script for the applicable user, group, or others, depending on the existing permissions.
This made me realize something important:
DevOps is not only about learning new tools. It is also about understanding the fundamentals behind those tools.
4. Git and GitHub: Understanding Version Control
After Linux, I focused on Git and GitHub.
I had already used both in my projects, but during my DevOps journey, I wanted to understand them more systematically.
What is Git?
Git is a distributed version control system.
In simple terms, Git tracks changes in our code over time.
Imagine a project evolving through different versions:
Version 1 → Login system Version 2 → Payment integration Version 3 → Product reviews If something breaks after Version 3, Git helps us inspect changes and work with previous versions.
Some commands I practiced included:
git init git status git add . git commit -m "message" git branch git checkout git switch git pull git push git clone git merge What is GitHub?
Git and GitHub are related, but they are not the same.
- Git is the version control system.
- GitHub is a platform for hosting Git repositories and collaborating on projects.
A simple workflow looks like this:
Write Code | v git add | v git commit | v git push | v GitHub This became especially important later when I started learning CI/CD, because GitHub can trigger automated workflows when code changes are pushed to a repository.
5. Docker: Understanding the Solution to My Original Problem
Remember the problem?
My project works on my machine, but not on another machine.
This is where Docker became particularly interesting to me.
What is Docker?
Docker is a platform that helps package applications and their dependencies into containers so they can run in a more consistent environment.
For example, my project may require:
- Node.js
- Application dependencies
- Application code
- Configuration
If another machine has a different setup or is missing required dependencies, the application may behave differently.
Docker helps address this problem by packaging the application and its required runtime components into an image.
A simplified view:
Application Code + Dependencies + Runtime Configuration | v Docker Image | v Container Docker Image vs. Container
This was one of the most important Docker concepts I learned.
Docker Image
An image is a packaged, read-only template used to create containers.
Docker Container
A container is an isolated running instance of an image.
Think of it like this:
Docker Image | v Docker Container For example:
docker build -t vendorverse-backend . This builds an image using the Dockerfile in the current directory.
Then:
docker run vendorverse-backend creates and starts a container from that image.
What is a Dockerfile?
A Dockerfile contains instructions that Docker uses to build an image.
Here is a simplified example for a Node.js application:
FROM node:20 WORKDIR /app COPY package*.json ./ RUN npm install COPY . . EXPOSE 8000 CMD ["npm", "start"] Let's understand the instructions:
-
FROM— Selects the base image. -
WORKDIR— Sets the working directory inside the image. -
COPY— Copies files into the image. -
RUN— Executes commands during the image build. -
EXPOSE— Documents the port the application is intended to use. -
CMD— Defines the default command to run when a container starts.
One important thing I learned is that containers are not complete virtual machines. They share the host operating system's kernel while providing isolated environments for applications.
I Didn't Just Study Docker — I Dockerized VendorVerse
This was the point where DevOps became practical for me.
Instead of only learning definitions, I decided to apply Docker to my own project.
I created Dockerfiles for:
- VendorVerse Frontend
- VendorVerse Backend
Then I built Docker images and ran containers.
I also worked with Docker Compose because VendorVerse consists of multiple components:
- Frontend
- Backend
- Database
Docker Compose allows us to define and manage multiple services through a configuration file.
Instead of starting each component separately, I could use:
docker compose up to start the services defined in the Compose configuration.
I also explored:
- Docker images
- Containers
- Dockerfiles
- Port mapping
- Environment variables
.dockerignore- Docker Compose
- Docker Hub
Eventually, I pushed my Docker images to Docker Hub.
The workflow looked like this:
VendorVerse Source Code | v Dockerfile | v Docker Image | v Container | v Docker Hub This brought me closer to solving my original problem.
Instead of relying only on my local setup, I was learning how to package an application so its runtime environment could be reproduced more consistently across machines.
6. CI/CD: What Happens After I Push My Code?
After learning Docker, another question naturally came to my mind:
What if I change my code tomorrow? Do I have to manually build everything and push the Docker images again?
This led me to CI/CD.
What is CI?
CI stands for Continuous Integration.
The basic idea is that developers frequently integrate code changes into a shared repository. Automated processes can then build and test those changes.
For example:
Developer | v git push | v GitHub | v Automated Build | v Automated Tests Instead of waiting until the end of development to discover problems, teams can identify issues earlier.
What is CD?
CD can refer to either:
- Continuous Delivery
- Continuous Deployment
Continuous Delivery keeps changes ready for release, often with a manual approval step before production deployment.
Continuous Deployment goes further by automatically deploying changes that pass the required checks.
A simplified software delivery pipeline can look like this:
Code | v Build | v Test | v Release | v Deploy The exact pipeline depends on the project's requirements and workflow.
Exploring GitHub Actions
While learning CI/CD, I explored GitHub Actions.
GitHub Actions allows developers to automate tasks using workflows defined in YAML files.
For example, we can define a workflow that runs whenever code is pushed to a particular branch.
A workflow can automate tasks such as:
- Installing dependencies
- Building an application
- Running tests
- Building Docker images
- Publishing images to a registry
For VendorVerse, I created a GitHub Actions workflow to automate the Docker image build and push process.
My workflow looked approximately like this:
git push | v GitHub Actions | v Build Frontend Image | v Build Backend Image | v Authenticate with Docker Hub | v Push Images I also faced an issue while configuring Docker Hub authentication and token permissions.
Debugging this issue became an important part of my learning experience.
It made me realize that DevOps is not just about knowing commands or writing configuration files.
It is also about asking:
Why did this fail?
And then investigating the problem step by step.
7. Exploring Cloud Deployment
After learning Docker and CI/CD, I started exploring cloud deployment.
Before this, I had already deployed projects using platforms such as Vercel.
However, learning about cloud infrastructure from a DevOps perspective made me curious about what happens behind these platforms.
What is Cloud Deployment?
In simple terms, cloud deployment means running and hosting applications on remote infrastructure provided by a cloud service provider rather than relying only on a local computer.
A simplified view:
My Laptop | v Internet | v Cloud Infrastructure | v Application Cloud providers such as AWS and Google Cloud Platform offer services for:
- Computing
- Storage
- Networking
- Databases
- Security
- Monitoring
What Does a Cloud Server Actually Mean?
Think about my laptop. It has:
- CPU
- RAM
- Storage
- Operating System
A cloud server is also essentially a computer, but it runs remotely in a data center and can be accessed over a network.
For example:
My Laptop | v Internet | v Cloud Server | v Application A Dockerized application can be deployed on suitable cloud infrastructure.
At this stage of my learning, I was exploring cloud concepts and understanding how remote infrastructure fits into the DevOps workflow. My earlier experience deploying projects through Vercel gave me a starting point for understanding application hosting.
8. Connecting Everything: My DevOps Learning Path
At this point, I could finally connect the topics I had explored.
My learning journey looked something like this:
VendorVerse Problem | v "It Works on My Machine!" | v DevOps Lifecycle | v Linux | v Git & GitHub | v Docker | v Docker Compose | v Docker Hub | v CI/CD | v GitHub Actions | v Cloud Concepts Each topic connected to a problem or a question.
That made learning much more meaningful for me because I was not just memorizing tools; I was understanding why they are used and how they fit into the software development process.
9. What Did VendorVerse Teach Me About DevOps?
The biggest lesson was not a particular command or tool.
It was understanding that:
Building an application and delivering an application are two different challenges.
Initially, as a developer, I mostly focused on one question:
Does my code work?
But DevOps introduced several other questions:
- Can someone else run my application?
- Can I reproduce the same environment?
- Can I automate the build process?
- Can I test changes automatically?
- Can I deploy changes reliably?
- Can I monitor the application after deployment?
- What happens if something fails?
These questions changed the way I think about software projects.
Final Thoughts
Looking back, my DevOps journey started with a simple problem: my project worked on my machine, but it did not run as expected when I moved it to another machine.
Instead of ignoring the problem, I started asking:
Why does this happen?
That question introduced me to DevOps and helped me understand how tools and practices such as Linux, Git, Docker, CI/CD, GitHub Actions, and cloud infrastructure fit together.
Docker helped me understand containerization. Git introduced me to version control. GitHub helped me understand repository hosting and collaboration. CI/CD introduced me to automation, while GitHub Actions allowed me to automate parts of my Docker workflow.
Most importantly, I learned that DevOps is not simply about learning different tools. It is about understanding the complete journey of software — from development to delivery and ongoing operations.
There is still a lot more for me to explore, but this is where my DevOps journey begins.
And I am excited to keep learning, experimenting, and building.


