June 13, 2022

Deploy HarperDB on ROSA (Red Hat OpenShift Service on AWS)

Welcome to Community Posts
Click below to read the full article.
Summary of What to Expect
Table of Contents
See HarperDB's certified container image on Red Hat OpenShift here

This post provides a step-by-step guide on how to deploy HarperDB on ROSA (Red Hat OpenShift Service on AWS). The process involves several steps:

  1. Enable ROSA on the AWS console by accepting the terms and conditions.
  2. Download and install the ROSA CLI (Command Line Interface) and the oc CLI (OpenShift CLI) on your local machine.
  3. Obtain an API token from the Red Hat OpenShift console and use it to log in to ROSA using the ROSA CLI.
  4. Validate permissions and quota in AWS, and increase the EC2 quota if necessary.
  5. Provision the cluster using the ROSA CLI, specifying a cluster name.
  6. Create an admin user for the cluster using the ROSA CLI and log in using the oc CLI.
  7. Deploy HarperDB by creating a new project, cloning the HarperDB deployments repository, and applying the Kubernetes manifests using the oc CLI.
  8. Verify that the HarperDB pod is running and retrieve the HarperDB API endpoint.
  9. Test schema creation using curl by sending a POST request to the API endpoint.
  10. Test persistence by deleting the HarperDB pod and checking if the previously created schema still exists after a new pod is created.

This guide provides detailed instructions and commands for each step, allowing users to successfully deploy HarperDB on ROSA using AWS.