#community-help

Setting Up Replication for Typesense EC2 Cluster

TLDR Raj is setting up a Typesense EC2 cluster and seeks guidance on replicating crawler data across EBS volumes. Jason suggests referring to the HA guide, but Raj has already looked into it.

Powered by Struct AI

1

Jun 14, 2023 (6 months ago)
Raj
Photo of md5-fd3186ce27b535ef0b49080da4844d31
Raj
12:13 AM
Hi guys, I'm doing a POC, currently setting up a highly available Typesense cluster in AWS using both EKS and EC2. I aim to assess the pros and cons of each approach. Additionally, I need to ensure that the data from the docSearch crawler job is replicated automatically across all pods in the EKS approach and across all EBS volumes in the EC2 approach. While I've successfully completed the setup for the EKS approach, I'm now exploring how to achieve the same automatic data replication in an EC2 cluster with AutoScaling. It is clear on how to spin-up new EC2 instances with typesense however I would greatly appreciate your guidance on setting up the EC2 cluster to enable this seamless replication of crawler data across all EBS volumes.
Jason
Photo of md5-8813087cccc512313602b6d9f9ece19f
Jason
01:25 AM
This HA guide walks you through an HA setup: https://typesense.org/docs/guide/high-availability.html

1

01:26
Jason
01:26 AM
It’s no different on EC2, than any server
Raj
Photo of md5-fd3186ce27b535ef0b49080da4844d31
Raj
01:48 AM
Sure. I have looked into it.