Back

Hosted Appwrite EC2 server keeps breaking

  • 0
  • Self Hosted
  • Web
Tanmay Juneja
13 Mar, 2024, 20:24

Hey everyone!

My EC2 server keeps failing status checks in the EC2 console and keeps crashing, which in turn shuts my Appwrite db down. I have hosted my Appwrite db on t3.small and have redirected it to my domain. I don't know how to debug this error. I have tried rebooting the instance and it worked in the past, but it is not working now.

AWS CLoudwatch error: CPUUtilization >= 20 for 2 datapoints within 10 minutes. Please help asap, any help would be highly appreciated!

TL;DR
Hosted Appwrite EC2 server breaking and showing 500 Internal Error. - Ensure swap is configured, install Appwrite version `1.5.3`, and share output of `docker logs appwrite`. EC2 server fails status checks and crashes - Diagnose high CPU usage, consider upgrading resources, and monitor using AWS Cloudwatch.
Tanmay Juneja
13 Mar, 2024, 20:24

Now the hosted version is working, but very slow and shows 500 Internal Error. I don't know why, please help.

Binyamin
13 Mar, 2024, 20:33
  1. Is this a new production? If so it's preferred to install version 1.5.3
  2. How did you install Appwrite?
  3. Share the output of
TypeScript
docker logs appwrite
Evdog
13 Mar, 2024, 20:39

Honestly it depends on your load. That's a small instance so you will be resource constrained, especially if you don't have any swap configured.

D5
13 Mar, 2024, 20:56

Could you share too if possible the usage of CPU and ram in the machine?

Reply

Reply to this thread by joining our Discord

Reply on Discord

Need support?

Join our Discord

Get community support by joining our Discord server.

Join Discord

Get premium support

Join Appwrite Pro and get email support from our team.

Learn more