This article outlines the process of deploying a Node.js application on an EC2 instance and setting up a Jenkins-based CICD pipeline.
The tools utilized in this project are as follows:
- AWS-EC2
- GitHub
- Docker
- Jenkins
What is CICD pipeline?
A CI/CD pipeline is an automated system that integrates, tests, and deploys code changes continuously, allowing for faster and more reliable updates to applications.
A standard CI/CD pipeline comprises several stages:
- Code Integration: Developers combine their code changes into a shared repository.
- Build: The CI system compiles the code and performs required tests.
- Test: Various tests, like unit tests and integration tests, are conducted.
- Deployment: The code is deployed to either the production or staging environment.
- Monitoring: The application’s performance and stability are continuously monitored.