Docker Deployment system that can deploy any application created, just using the docker image form docker hub and the port on which the app runs. This scalable systems project has one host machine that has many machines connected to it on which the docker image can be deployed. If the load on one machine increases, another instance of the app will be deployed on the another machine to balance the load.
- Mulitple Machienes Architecture, Load balancing by creating bash file for Nginx
- Local DNS configuration for subdomains, so that apps have a good looking domain name
- We use Fork call while creating instances so that the user experience will be great and he gets updates in the background if the app if deployed successfully.
- Building Docker container on different machines using just the docker image
- Choosing best machine for instance creation, Machine Statistics and charts
- A terminal with limited access using socket communication. so that users can access the machine and check logs for their app.
- Heath_checker that runs in background and creates another instance if one instance gets failed. Thus increasing availability.
- Flask – Different flask apps run on both the backend machines and the master machine responsible for proper functioning of the service
- HTML/CSS/JS – To create the various frontends
- tinydb – No sql database of choice to save information about the various running instances/applications
- Sockets – To host instances on free ports of the server machines
- nginx – To provide load balancing functionality over separate instances of the same docker app
- os module (Python) – To provide various functionalities such as fork(), terminal access on server machines, machine health, etc.