Cloud hosted
If you choose Cloud Hosted, you will receive an onboarding email with instructions for signing into Prequel as soon as your cloud hosted deployment is ready.Private-cloud hosted
In a private-cloud deployment, the Prequel team will be right there with you to ensure a smooth delivery. You will receive an onboarding email with instructions for signing into the shared-cloud instance of Prequel as soon as it’s ready.Self-hosted
Deploy Prequel on cloud infrastructure you control. Select your cloud below for the full guide. Self-hosted deployments rely on a few tools:- Terraform v1.0.x for provisioning the services required by Prequel
- Helm 3.9.4+ for installing and upgrading Prequel
- Kubernetes CLI for managing and inspecting the Kubernetes cluster
- AWS self-hosted deployment guide
- GCP self-hosted deployment guide
Before we get started
- Validate that you have access to the Terraform directory and Helm chart we sent over. If not, please email or Slack
support@prequel.coto request access. - Create the dedicated cloud project where you’d like Prequel to run. We typically recommend creating a new cloud project for this, which allows all resources to be fully sandboxed from any other existing infrastructure and ensures that there will not be contention between VPCs, networks, or other resources.
Get HTTPS certs ready
In the project you created for Prequel, navigate to the AWS Certificate Manager and
Request a certificate. We’ll need a certificate here for *.your-domain.com, since this is how we’ll enable TLS/HTTPS for the Prequel deployment.Grab the ARN of the certificate you created and keep it handy for later.Set up the infrastructure
Take a look through Terraform the Auth into the cluster we just created.
variables.tf and fill in the required values. We have a terraform.tfvars.example that can be your reference.Perform a Terraform dry-run and double check that everything looks good.Terraform
main.tf file. This will create all the necessary infrastructure for Prequel to run. Save the output variables, you’ll need them later.Terraform
Authenticate to cluster
Deploy Prequel
Create the following Kubernetes secrets that Prequel requires:Make sure to store these generated values securely for future maintenance and troubleshooting. Each value is:The cluster should now be up and running. Nice work, we’re almost there!
Create Kubernetes secrets
datafeed-postgres.password: The password for your Postgres database.datafeed-ssh-salt.salt: A random 32-char string used for hashing SSH public keys.datafeed-shepherd.workOSApiKey: The WorkOS API key provided to you by Prequel.datafeed-shepherd.apiKey: A random 32-char string used for admin API authentication.datafeed-shepherd.authToken: A random 32-char string used to encrypt/decrypt authentication tokens.datafeed-license.licenseKey: The license key provided to you by Prequel.datafeed-otlp.api-key: The Honeycomb API key provided to you by Prequel.
aws_on_prem_values_overrides.yaml for the Prequel Helm chart. The following values should be set from the secrets created above:postgresDb.secretName:datafeed-postgresor the name of the secret created for Postgres DB.postgresDb.passwordSecretKey:passwordor the key in the secret created for Postgres DB that contains the password.sshSaltSecretName:datafeed-ssh-saltor the name of the secret created for SSH salt.sshSaltSecretKey:saltor the key in the secret created for SSH salt that contains the salt.shepherd.secretName:datafeed-shepherdor the name of the secret created for Shepherd service.shepherd.workOS.apiKeySecretKey:workOSApiKeyor the key in the secret created for Shepherd service that contains the WorkOS API key provided to you by Prequel.shepherd.apiKeySecretKey:apiKeyor the key in the secret created for Shepherd service that contains the admin API key.shepherd.authTokenSecretKey:authTokenor the key in the secret created for Shepherd service that contains the authentication token key.licenseKeySecretName:datafeed-licenseor the name of the secret created for the license key.licenseKeySecretKey:licenseKeyor the key in the secret created for the license key that contains the license key.
Install Helm chart
Update your DNS records
Grab the address of the ingress / LB for the Prequel deployment.and look for the
Get ingress address
ADDRESS field.In your domain settings, create DNS records for the three hosts used by Prequel. Specifically, for each, create a CNAME record which points to the address from the previous step.DNS records
Updating Prequel
We’ll notify you when a new release is available, and provide you with the release tag. You can then run the following command to update your deployment to the new release.Upgrade Helm release