My First Steps into DevOps: Taming Git and Deploying to the Cloud
I’ve officially started my journey into DevOps, and the last few days have been a whirlwind of terminal commands, SSH keys, and green commit messages. Here’s a look at how I went from "installing software" to deploying a live website on AWS.
Phase 1: The Setup (Assignment 1)
It all started with the basics. I installed Git (goodbye, default Windows command prompt; hello, Git Bash!) and learned the importance of identity.
The Big Lesson: git config --local vs git config --global. It seems small, but keeping work and personal emails separate is a pro move I’m glad I learned early.
Phase 2: Building & Deploying (Assignment 2)
This was the "cool" part. I didn't just write code; I shipped it.
Local: I built a simple "CodeTrack" website and used git add and git commit to save snapshots of my work.
Cloud: I spun up an AWS EC2 instance, installed Nginx, and moved my files to the live server. Seeing my name on a public IP address was a huge "I made this!" moment.
Phase 3: The Safety Net (Assignment 3)
Finally, I learned why developers don't just push code directly to production. I practiced the Feature Branch Workflow.
Instead of risking the main code, I created a sandbox using git checkout -b feature/contact-page.
I built a Contact page in isolation, verified it, and then merged it back using git merge. It felt like magic watching the files disappear and reappear as I switched branches.
Current Mood: 💻☁️ Feeling like a real engineer. Next stop: Open Source!
#DevOps #Git #AWS #LearningToCode #TechJourney #CloudComputing #Nginx #WebDev