[Question]: Deployment on AWS #3745
-
What is your question?How can I deploy my version of LibreChat on AWS? More DetailsI have a customized version of LibreChat that I've just been running locally on my machine through npm. I want to know deploy this onto a web application either through an EC2 instance or a ELB. Can someone explain how this is possible, there seems to be very little documentation around this. Also how would user management work, I understand you can create users profile by registering, but how is that process managed, like resetting passwords or seeing the users who have registered? What is the main subject of your question?No response ScreenshotsNo response Code of Conduct
|
Beta Was this translation helpful? Give feedback.
Replies: 2 comments 14 replies
-
I think you should first try setting the app on EC2, it's the same as you would in any other linux environment, assuming you use a distro like Ubuntu: https://www.librechat.ai/docs/remote/docker_linux |
Beta Was this translation helpful? Give feedback.
-
Hello, Have you tried this one: https://gitlab.com/jls42/poc-librechat-ec2 ? This project provides a basis for deploying LibreChat on an EC2 instance, which could help you get started. Feel free to check the repository's documentation to learn about the specific steps and necessary configurations. Readme in English : https://gitlab.com/jls42/poc-librechat-ec2/-/blob/main/README-en-gpt-4o.md?ref_type=heads If you have your own customized version of LibreChat, you might need to adjust the deployment script. For instance, in the user_data.sh script at line 81, replace the default LibreChat repository URL with the URL of your custom version: Example: Replace the default clone URL with your custom repository URL Here : https://gitlab.com/jls42/poc-librechat-ec2/-/blob/main/scripts/user_data.sh?ref_type=heads#L81 Good luck with your deployment! Best regards, |
Beta Was this translation helpful? Give feedback.
You need to build the image yourself on the EC2 instance. See this comment: #3740 (reply in thread)
Note that 2GB of RAM is usually the minimum for building the docker image.