https://github.com/ahmedgrati/devops-lab
This is a devops lab which will run CI/CD pipelines.
https://github.com/ahmedgrati/devops-lab
aws aws-ecs cicd docker gcp jenkins pipelines terraform
Last synced: about 15 hours ago
JSON representation
This is a devops lab which will run CI/CD pipelines.
- Host: GitHub
- URL: https://github.com/ahmedgrati/devops-lab
- Owner: AhmedGrati
- Created: 2022-05-03T13:29:23.000Z (over 3 years ago)
- Default Branch: master
- Last Pushed: 2022-06-07T21:39:30.000Z (over 3 years ago)
- Last Synced: 2025-03-02T11:17:49.743Z (7 months ago)
- Topics: aws, aws-ecs, cicd, docker, gcp, jenkins, pipelines, terraform
- Language: TypeScript
- Homepage:
- Size: 1.14 MB
- Stars: 1
- Watchers: 3
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: readme.md
Awesome Lists containing this project
README
# Pipeline Overview
It is about a CI/CD pipeline built using Jenkins, Docker, AWS, Terraform.
The Jenkins application was hosted on Google Cloud Platform(GCP) Virtual Machine.Many Plugins were installed into Jenkins like NodeJS Executor, Docker, Terraform, AWS, BlueOcean, any many other plugins.
For Terraform code: click on this link
## Continuous Integration
1- Checkout for the specific project2- Build the NPM project
3- Execute Unit & E2E Tests
## Continuous Deployment
1- Build Docker Image and push it to dockerhub2- Checkout to Terraform Code
3- Apply our ECS cluster using Terraform
# Execution
## ECS Cluster## Application
Access Application through Application Load Balancer of AWS# Things to Improve
1- Add Image versioning instead of pushing as latest tag, we could use the hash of the commit as tag.2- Integrate security tools in our pipeline and transform it to DevSecOps, to increase the security of our infrastructure. e.g: Snyk to scan docker images and find vulnerabilities.