I'm using reactjs for frontend with Nginx load balancer and laravel for backend with MongoDB. as old architecture design, code upload to GitHub with different frontend and backend. then i deployed on server VM (iaas).
I did not use DOCKER AND KUBERNETS, I want to implement it in the new Architecture design, I used a private cloud server so, restricted to implementing it on AWS\AZURE\GCP\etc...
implement and design it with OPEN source tools like install (k8s, docker,)in iaas VM.
CodePudding user response:
as per my thinking,
- first make a docker file for react and laravel project
- then upload to docker private registry.[dockerhub]
- install docker and k8s on VM
- deploy container of 1=react and 2=laravel from image
- also deploy 3=nginx and 4=mongo container from default market image
- who to make the connection?
- who to take a new pull on the container, for the new update release version.
- who to make a replica, for disaster recovery plan
- who to monitor errors and performance
- who to make pipeline MOST important
- who to make dev, staging, production environments
CodePudding user response:
This is more of planning question, more of the task can be automated by developer/devops, except few administrative task like monitoring and environment creation.
still this can be shared responsibility. or if team is available to manage product/services.
