Automated CI/CD Pipeline with AWS & GitHub Actions

🚀 Built an Automated CI/CD Pipeline with AWS & GitHub Actions I recently completed a hands-on project where I designed and implemented a complete CI/CD pipeline to deploy a Node.js application on AWS EC2. 🔧 What I built: * A Node.js application running on port 4000 * AWS EC2 (Ubuntu) server setup with proper security groups * Automated deployment using GitHub Actions * Secure SSH-based connection using GitHub Secrets * Process management using PM2 ⚙️ How it works: Every time I push code to the main branch, GitHub Actions automatically: 1. Connects to my EC2 instance via SSH 2. Pulls the latest code 3. Installs dependencies 4. Restarts the application 💡 Challenge I faced: I initially ran into a “Permission denied (publickey)” error during deployment. After debugging, I resolved it by correctly adding the CI/CD SSH key to the EC2 server and setting proper permissions. This was a great real-world troubleshooting experience. 📂 GitHub Repository: https://lnkd.in/g8qMusNS 🎯 Key Takeaways: * Hands-on experience with CI/CD pipelines * Understanding secure SSH-based automation * Debugging real production-like issues * Automating deployments with zero manual intervention This project helped me strengthen my DevOps and SRE skills by working on real-world deployment scenarios. #DevOps #AWS #GitHubActions #CI_CD #SRE #CloudComputing #NodeJS #Automation

To view or add a comment, sign in

Explore content categories