#community-help

Integrating Typesense for Search Functionality into Application Hosted on AWS

TLDR Rajashekar needed help integrating Typesense into an AWS-hosted application. Jason confirmed they're correctly implementing it and pointed them to additional guides.

Powered by Struct AI
Sep 22, 2023 (2 months ago)
Rajashekar
Photo of md5-5d254db5bcd998643bef51997e2fcc73
Rajashekar
12:01 PM
Hi All,

I'm looking to integrate Typesense for search functionality into my application (hosted on AWS, using PHP and MySQL (database table) for backend development). Could you please provide guidance or steps on how to set up Typesense on AWS and connect it to my PHP and MySQL stack for efficient searching? My developer is finding it difficult to do it. I'm trying to find help for him. Any help would be appreciated. Thank you!
Jason
Photo of md5-8813087cccc512313602b6d9f9ece19f
Jason
03:35 PM
Typesense runs on any Linux VM, so the instructions you see in the docs for setting up on Linux apply to AWS EC2 as well.
03:36
Jason
03:36 PM
Could you share which steps you've taken following the docs and which step you're running into an error?
Sep 26, 2023 (2 months ago)
Rajashekar
Photo of md5-5d254db5bcd998643bef51997e2fcc73
Rajashekar
05:00 PM
We have developed our application in PHP, Mysql Database. we have hosting in AWS EC2 Instance.

Team is following below steps and working on Implementing Typesense in AWS EC2.

1. Installed Typesense in AWS EC2 with below instructions..
Local Machine / Self-Hosting
https://typesense.org/docs/guide/install-typesense.html#option-2-local-machine-self-hosting
https://blog.stefanolaru.com/how-to-run-highly-available-typesense-cluster-in-aws#heading-ec2-iam-role-andamp-security-groups

1. Using PHP Client libraries
https://typesense.org/docs/guide/installing-a-client.html
https://github.com/typesense/typesense-php

Is this correct or do we have any documentations for core PHP and mysql database.
Jason
Photo of md5-8813087cccc512313602b6d9f9ece19f
Jason
05:09 PM
Yeah those would work.

Here's the official guide on High Availability as well: https://typesense.org/docs/guide/high-availability.html