Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[DevOps] Plan horizontal scaling / swarming of UCI backend #26

Closed
7 tasks
karntrehan opened this issue Apr 6, 2023 · 4 comments
Closed
7 tasks

[DevOps] Plan horizontal scaling / swarming of UCI backend #26

karntrehan opened this issue Apr 6, 2023 · 4 comments
Assignees

Comments

@karntrehan
Copy link
Contributor

karntrehan commented Apr 6, 2023

  • Fix Docker compose of docker deploy before hand
  • Docker swarm cluster to be provisioned and setup
    • Master node
    • Slave node (we can increase the spec later as load increases)
  • Another node needed for stateful DBs
  • Transfer all data from current deployment to new deployment
  • Testing e2e before making the swarm cluster prod
@tushar5526
Copy link
Collaborator

Swarm deployment of UCI is ready for testing.
Server Configuration:

UCI-Docker-Swarm-Master : 142.93.217.128 - Holds all the stateless services
Specs: 8GB RAM Basic CPU BLR datacenter 

UCI-DB : 139.59.42.92 - Holds all the stateful services - Redis, Postgres, Cassandra, Kafka cluster
Specs: 8GB RAM Basic CPU BLR datacenter 

We can scale horizontally by adding new slave to docker cluster and DBs data are mounted as directories for easier backups and scaling of disk size. We can add a volume and move the DB data to there when needed. All DBs connect to services using Digital Ocean's VPC - private IP

@karntrehan
Copy link
Contributor Author

ODK aggregate password not taken from env. Need to fix in #23.

Org and OwnerID to be created. AdapterIDs to be created.

@karntrehan
Copy link
Contributor Author

karntrehan commented Apr 17, 2023

@Nirali010129 to start testing end to end from Admin panel to UCI FE. Updated build to be shared by @karntrehan

Test with Segment 3.

@Nirali010129
Copy link

Hey, @karntrehan this is done, bug report was shared with you, on Discord.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants