Life ConnectLife Connect
Table of contents
Architecture
Services
Swagger Docs
GitHub
Table of contents
Architecture
Services
Swagger Docs
GitHub

Set up of separate DB for env

  1. Create a new cluster. Warning: MO tier due to triggers limitations allows you to create only up to 10 triggers.

  2. Link a new Data Source for Triggers. Go to https://services.cloud.mongodb.com/groups/<project_id>/apps/<app_id>/dataSources. Click "Link new Data Source" button and create a new Data Source.

  3. Connect to VPS. Open messaging.tf (if it doesn't exist, copy it from other environments). Check configuration and update service_id property with value of a newly created Linked Data Source from previous step (you can get its id from page url).

  4. Plan and Apply messaging module. Check out this section. It should set up new triggers and queues.

  5. Set up user policies for new queues by planning and applying aws module (if it does not exist, copy it from other envs) - check out this section

  6. Update K8s Secret adb-secret with new mongoDbUri and new queue links.

  7. Do kubectl rollout restart deployment <deployment-id> -n <namespace> for deployments to create new pods with updated configs.

Edit this page
Last Updated:
Contributors: gregory