Open leandrosardi opened 2 months ago
goal:
Perform all operations with no need to access server via SSH
deployment
locally push secrets remotely pull secrets install environment remotely install components remotely deploy db deploy code deploy extensions stop nodes start nodes
monitoring
watch processes running watch node CPU, RAM, disk space watch logs email alert when a keyword happens in logs email alert when CPI RAM or Disk Available Space goes over a threshold. email alert when a proxy stops working
OPERATIONS
There is a new project: Monitoring servers for a new SaaS.
For servers deployed using TerraForm, we need to monitor:
If you are interested I can share the full requirement.
There is a new project: Auto-Scaling servers for a new SaaS.
Using TerraForm for creating/deleting servers with a specific image.
Also, also we need to setup a new subdomain with SSL for each server.
If you are interested, I can share the full requirement.
Please checkout this model:
https://github.com/MassProspecting/docs/raw/main/assets/internal/1-1.png
Technologies:
Do you know how to do that?
Technologies: Docker, Terraform.
Related documents:
we need to choose a cloud-hosting provider: contabo? aws? hetzner?
create images of different type of nodes that we need to work with.
There are 3 differnt images:
The manual procedure for these 3 kind of images are explained here.
Images have databases installed, so they must persist after restarting. If we are docker instances, such instances must persist.
@leandrosardi should should be albe to request creation/deletion of nodes from Ruby code, passing the following parameters:
@leandrosardi should be able register created/deleted nodes into our database, with the following informaiton: