AWS Deployment

Summary of Steps

Prerequisites

  1. Set up an SMTP server. When a Gov is deploying care, the Gov should provide email gateway credentials along with domains.

  2. Set up a Sentry project for error management.

CARE Infrastructure Deployment

  1. Create a VPC.

  2. Create a PostgreSQL Server. Create database and add PostGIS extension.

  3. Create an Amazon S3 bucket.

  4. Create a private EKS cluster.

  5. Create a EC2 instance as a jump server.

  6. Create a EC2 instance as a bastion host, install VPN, and whitelist its IP in the jumpservers network security group.

  7. Configure a self-hosted runner (linux) in the jumpserver for CI/CD pipelines.

  8. Update configurations for each deployment in their corresponding YAML files.

  9. Create the deployments using the CI/CD pipelines from Github.

Metabase Deploymen

  1. Create a EC2 instance in the same VPC as CARE.

  2. Create a PostgreSQL Server. Create a database for Metabase in it.

  3. Create a read-replica of CARE Database for Metabase to read data from.

  4. Follow the installation steps from the official documentation.

  5. Create a load balancer and expose the service.

Last updated