8000 GitHub - lmn0/PAWN: Daas: Deployment as a Service using Docker and K8s as backend · GitHub
[go: up one dir, main page]

Skip to content
lmn0Public

About

Daas: Deployment as a Service using Docker and K8s as backend

Resources

Stars

0 stars

Watchers

0 watching

Forks

Latest commit

 

History

74 Commits

Folders and files

Repository files navigation

What is PAWN?

Our attempt at making DevOps and SREs cooler. It is a Drag and Drop deployment of applications and linking of APIs on a no-frill user interface that looks like a drawing board. It is a deployment service, where the users don’t need to maintain their own infrastructure as it is a cloud system. The servers where the user applications will be run are on AWS EC2 instances.

Alt text

The user develops their applications locally in a Docker container. After the development is complete, they push the changes to remote Docker Repository as a private container. The container can then be connected to the PAWN service and deployed through PAWN drawing board.

Kubernetes is the backbone of this cloud system. The Docker containers that users locally develop are pushed to the PAWN cloud service from the Docker Repositories.

The below diagrams depict the architecture and what the interface looks like.

Alt text

System Architecture —————————————————————————————————————————————

Alt text

A multi-tenant architecture where the user or a startup can subscribe for the application and then be able to use it for a monthly charge.

Stormpath API, a simple REST API, over HTTP was used to implement the multi-tenant architecture. It is a flexible cloud service which can manage millions of users and also provide authentication for the administartors.

MVC architecture was used for modularity.The entire platform was built on Node JS as the base image as it helps to expose the REST API’s. Elastic scaling would be possible as the servers would be AWS EC2 instances. The configured images are then stored in the docker hub.

Rabbit MQ becomes an important part in the implementation of the middle tier subsystem as the messages from the Node JS server were carried to the config servers where carried out by it.

Running the code —————————————————————————————————————————————

All you need to do is edit the bin/www file to set the port and start the code with the following:

	npm start

To install the node modules use,

	npm install .

About

Daas: Deployment as a Service using Docker and K8s as backend

Resources

Stars

0 stars

Watchers

0 watching

Forks

Releases

Packages

Used by

Contributors

Languages

0