GitLab Repo: https://gitlab.com/iquantcicd/CompleteCICD02
Description:
In this tutorial, we’ll walk you through creating a Complete CI/CD Pipeline using GitLab, GitLab Runner on Amazon EC2, NPM, SonarCloud, Docker, Trivy, Amazon ECR, Amazon ECS with Fargate, and an Amazon Application Load Balancer. This end-to-end pipeline will automate your deployment process from code to production with quality checks and security scans.
What You’ll Learn:
1. GitLab Integration: Set up a GitLab repository and CI/CD pipeline.
2. GitLab Runner on Amazon EC2: Configure a self-hosted GitLab Runner on an Amazon EC2 instance to run your pipeline jobs.
3. NPM Build: Build and package your Node.js application with NPM.
4. SonarCloud Scanning: Integrate SonarCloud for code quality and vulnerability analysis.
5. Docker Image Build: Containerize your application with Docker.
6. Trivy Security Scan: Scan the Docker image for vulnerabilities with Trivy.
7. Push to Amazon ECR: Store your Docker image securely in Amazon ECR.
8. Deploy to Amazon ECS: Deploy the containerized app to Amazon ECS with AWS Fargate for serverless scalability.
9. Application Load Balancer Setup: Attach an Amazon ALB to evenly distribute traffic and ensure high availability.
This video is ideal for DevOps engineers, cloud developers, and anyone interested in automating robust, secure deployments on AWS using GitLab’s CI/CD capabilities.
Timestamps:
0:00 Intro
1:33 Configuring GitLab Runner on EC2
12:13 Building & Testing with NPM
17:38 Running SonarCloud Analysis
31:00 Building Docker Image
38:12 Trivy Vulnerability Scanning
43:49 Pushing to Amazon ECR
52:11 Deploying on Amazon ECS with Fargate
58:40 Setting Up Application Load Balancer
1:05:53 Clean Up & Wrap Up
Don't forget to LIKE ?, **SUBSCRIBE** ?, and **SHARE** to help others
#DevOps #GitLab #GitLabCICD #NPM #SonarCloud #Docker #Trivy #AmazonECR #AmazonECS #AWS #CI_CD #Automation #Containers
Disclaimer: Video is made for educational purposes
Follow Us:GitHub: https://github.com/iQuantC
Instagram: https://www.instagram.com/iquantconsult/
Happy DevOps'ing! ?