medic/cht-user-management

Medic-hosted CIV User Management Tool

Closed this issue · 10 comments

Based on #110

  • verify URL: https://users-chis-civ.app.medicmobile.org
  • ensure repo has config for civ - see #189
  • create DNS entry: CNAME of users-chis-civ.app.medicmobile.org -> k8s-prodchtalb-dcc00345ac-1792311525.eu-west-2.elb.amazonaws.com
  • create helm values file in correct location
  • deploy helm chart so the instance is live at above URL

@kennsippell
Could you assist us with the deployment?

I currently don't have the access to deploy, but I have submitted a ticket to request access.

@inromualdo We'll create a namespace along with your access for this project. We'll give Kenn access to that namespace as well, so he can support any configuration of this deployment.

The following issue is blocking the creation of users for the go-live planned for August.
@Hareet I'd like to request this to be treated as a priority. Thank you!

Hi @medic/site-reliability-engineering ,
May we please have an update on this ?
Thx

cc @henokgetachew @Marina-Kenf @inromualdo @loukmantidjani

I'm putting this on my plate for next week.

I'll have some time to look into this today and will update this ticket accordingly

Created CNAME for users-moh-civ.app to point to k8s-prodchtalb-dcc00345ac-1792311525.eu-west-2.elb.amazonaws.com on this AWS page:

image

There's now 4 users*.app DNS entries:

image

Note that because we match config name <> URL, I change the URL to be users-chis-civ.app so that it matches the config of chis-civ. This matches the deployments for UG, KE, and TG.

body of this ticket updated to match

Oh! I see the existing values YAML file for CIV has this updated URL too - we're good!

whew! This took a bit of remembering how we deploy things. I've covered the steps in detail in a pending PR, but tl;dr:

  1. make sure your helm charts repo is up to date
  2. make a new values YAML in deploy branch for CIV
  3. make sure the right version in the tag: field is in the values file. As of this writing it is 1.3.20
  4. check out the deploy branch
  5. in the scripts/deploy directory and run the install command:
helm install --kube-context arn:aws:eks:eu-west-2:720541322708:cluster/prod-cht-eks \
   --namespace users-chis-prod  \
   --values values/users-chis-civ.yaml users-chis-civ  \
   helm-charts/charts/cht-user-management
  1. wait a good 5 minutes for EKS to deploy

In step 4 above, helm-charts/charts/cht-user-management may need be the full path to your helm charts - for me this was /home/mrjones/Documents/MedicMobile/helm-charts/charts/cht-user-management

Thank you @mrjones-plip 🍾