UNCTAD research page
What we want to run
How is it done
Guidebook/documentation: ERegistrations installation manual
How to access the APIs: OpenAPI3
How to run in kubernetes: no instructions
Full installation of the ERegistrations is intended to be run in 7 Docker containers: 1) GDB 2) PostgreSQL DB 3) Redis DB 4) Graylog 5) ElasticSearch 6) Mongo DB 7) Keycloak for authentication
Minimal installation of the ERegistrations can be run with just 3 Docker containers: 1) GDB 2) PostgreSQL DB 3) Redis DB
How it will be done for the Sandbox
The main difference is that ERegistrations components will be installed to the Sandbox as containers and as the components should be configured and already working after deployment, those containers need to be pre-configured
The process step by step:
Install GDB (the application), PostgreSQL database and Redis database to local computer as Docker containers.
Configure the containers
Commit those containers as new Docker images
Push the pre-configured Docker images of the ERegistrations components to AWS ECR.
Create Helm charts that 1) create random password for the remote PostgreSQL database; 2) store the password as secret to the AWS Kubernetes cluster; 3) create PostgreSQL database instance in the Kubernetes cluster using that secret; 4) create Redis DB in the Kubernetes cluster 5) pull images of ERegistrations components from AWS ECR; 6) create containers from those images and deploy to AWS EKS Kubernetes cluster.