Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

This page details how the code goes from development to deployment on a pre-prod VM.

...

Git repo: https://github.com/ral-facilities/user-upload-service

...

VM Deployment (VPN needed): http://host-172-16-114-165.nubes.stfc.ac.uk/

View metadata in pre-prod

VM ICAT metadata can be seen by:

...

At the moment the deployment in the VM is done manually by bringing up/down the docker-compose stack.

Preparing for pre-prod deployment

The following variables need to be changed/checked to deploy to pre-prod from a local working system:

  • Change/check the reverse proxy options for the upload container

  • Change/check the docker-compose options for:

    • datagateway UPLOAD_URL

    • upload S3 endpoint and credentials to point to ECHO

    • upload image should be pulled from Harbor

Metrics on Pre-Production

Metrics are gathered using a Prometheus server at http://host-172-16-103-209.nubes.stfc.ac.uk:8080/ (details on how it was set up here)

This polls the Upload metrics URL, available at http://host-172-16-114-165.nubes.stfc.ac.uk/upload-service/metrics

These are then displayed in Grafana at http://host-172-16-114-165.nubes.stfc.ac.uk/grafana/

Alex Kemp holds the access credentials for these.