Skip to content

mostafaibrahim24/CICD-configurationmanagement-monitoring-alerting-nanodegree-project

 
 

Repository files navigation

Advanced Cloud DevOps Nanodegree Project 3:

logo

Description:

  • Built a pipeline using CircleCI which includes building, running unit tests, analyzing and scanning for security vulnerabilities in dependencies, creating the "Green" infrastructure and configuring it, deployment,migrating the database, deployment, running automated smoke tests, updating the CloudFront distribution (Blue-Green Strategy), and cleaning up the "Blue" infrastructure.
  • Used Ansible to manage server configurations.
  • Set up Prometheus to monitor resources and manage alerts by notifying the Udapeople team on a dedicated Slack channel

CI/CD Pipeline Diagram

diagram

Built With


Project specifications

Specifications Proof Meets specifications
Job failed because of compile errors. SCREENSHOT01
Job failed because of unit tests (backend). SCREENSHOT02-BE
Job failed because of unit tests (frontend). SCREENSHOT02-FE
Job that failed because of vulnerable packages (backend). SCREENSHOT03-BE
Job that failed because of vulnerable packages (frontend). SCREENSHOT03-FE
An alert from one of your failed builds (slack). SCREENSHOT04-SLACK
An alert from one of your failed builds (email). SCREENSHOT04-EMAIL
Appropriate job failure for infrastructure creation. SCREENSHOT05
Appropriate job failure for the smoke test job. SCREENSHOT06
Successful rollback after a failed smoke test. SCREENSHOT07
Successful promotion job. SCREENSHOT08
Successful cleanup job. SCREENSHOT09
Only deploy on pushed to master branch. SCREENSHOT10
Provide a screenshot of a graph of your EC2 instance including available memory, available disk space, and CPU usage. Memory, Disk, CPU
Provide a screenshot of an alert that was sent by Prometheus. SCREENSHOT12
Public Url to GitHub repository (not private) URL01
Public URL for your S3 Bucket (aka, your green candidate front-end) URL02
Provide a screenshot showing the evidence of deployed and functioning front-end application (aka, your production front-end) S3 Bucket URL03_SCREENSHOT_S3
Provide a screenshot showing the evidence of deployed and functioning front-end application (aka, your production front-end) Cloudfront URL03_SCREENSHOT_CF
Screenshot of cloudfront distribution being up. SCREENSHOT-CF
Provide a screenshot showing the evidence of a healthy backend application. The backend endpoint status should show a healthy response. URL04_SCREENSHOT
Provide a screenshot of your Prometheus server showing UP state. URL05_SCREENSHOT
  • CI/CD presentation (What is CI/CD? and why do we need it?) presentation.pdf. ✓
  • Note that the URLs are broken now, because the infrastructure was destroyed after completing the project.

License

License

About

Advanced Cloud DevOps - CI/CD, Configuration management, IaC, Monitoring and Alerting

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • TypeScript 63.0%
  • CSS 35.6%
  • JavaScript 1.3%
  • EJS 0.1%