This file has been truncated. show original
# Project Title: WM-DevOps
The aim of the project is to Automate Machine/Environment Creation On Amazon Web Service , so you can make your Environment up or down in short time and with a few scripts.
We need to create the below machine , so we can build and deploy any App using a CI pipeline consisting of Docker, GitHub, Jenkins, and Docker Registry.
- Bastion : Machine with ubuntu OS which hosts wm-devop folder with all DevOps Scripts.
To make the Environment up ,all the Script should be run from there .
- Jenkins : Machine with ubuntu OS for Continouse Integration /Continouse Delivery.
- Registry: Machine with ubuntu OS to act as Docker Local Registry .
- Swarm:(Node-1"Leader",Node-2"Worker",Node-3"Worker") : Machines with Rancher OS to act as Docker Swarm Cluster .
The following diagram illustrates the CI pipeline that "you need to configure by Yourself" after machine creation on AWS:
The pipeline will be kicked off by a commit to a GitHub repository. The commit will cause Jenkins machine to run (3) build+push to Docker Registry Machine, and upon successful completion of these jobs, pull new images from DR and deploy the app on Swarm cluster using docker-compose. The following diagram illustrates the CI pipeline.