DevOps - Convergent-Trading/Rocket.Chat GitHub Wiki

Network Diagram

Our Production Environment can be diagramed as follows:

Network Diagram

System Failure and System Overload Notification Policy:

  • If Instance cpu load is over 70% for a period of 5 minutes

  • If system is unreachable for 1 minute over 2 consecutive periods

*notifications will go to [email protected] and [email protected] **this policy applies to all instances: production 1, production 2, staging, and rancher-server

s3 Cors Configuration:

Cors config for production will only allow requests from the https://chat.convergenttrading.com origin. This is best security practice for s3 assets storage. Here is our cors config (json used to apply via aws cli)

{ "CORSRules": [ { "AllowedHeaders": [ "*" ], "MaxAgeSeconds": 3000, "AllowedMethods": [ "GET", "PUT", "POST", "DELETE" ], "AllowedOrigins": [ "https://chat.convergenttrading.com" ] } ] }