Day 18 DevOps Journey: Debugging Deployment Issues with Jenkins and Docker

🚀 Day 18 of My DevOps Journey — The Day My Deployment Broke (And What It Taught Me) Everything was working fine. Code was ready. Pipeline was successful. Deployment completed. But… 👉 The application wasn’t opening. 🔹 What I Saw: - Jenkins pipeline ✅ successful - Docker container ✅ running - EC2 instance ✅ active But: ❌ Browser → “This site can’t be reached” 🔹 What I Did First (Wrong Approach): - Re-ran pipeline - Restarted container - Checked code Still not working. 🔹 Then I Changed My Approach: Instead of guessing, I started debugging step by step. 🔹 Actual Problem: 👉 Port was not exposed correctly / Security Group issue 🔹 How I Fixed It: ✔ Checked "docker ps" → verified port mapping ✔ Verified EC2 Security Group (port 80 open) ✔ Ensured container was bound to correct port ✔ Retested using public IP 🔹 What Happened Next: 🌐 Application loaded successfully 💡 Key Learning: “A successful deployment doesn’t mean a working application.” 🔹 What This Taught Me: - Always verify end-to-end flow - Don’t assume — validate - Debugging is more important than deploying This one issue taught me more than hours of tutorials. If you're learning DevOps, don’t fear failures — they teach the most. Let’s grow together 🤝 #DevOps #Debugging #AWS #Docker #CICD #Cloud #LearningInPublic

To view or add a comment, sign in

Explore content categories