Supabase on DigitalOcean
Hi, I don't get to set up supabase on DO. Every time the CPU spikes to 100% although 2 CPU with 4GB is used. Anyone can help?
14 Replies
How are you self hosting supabase? Are you using their one click setup?
I installed docker, docker console and git clone --depth 1 https://github.com/supabase/supabase
cd supabase/docker
GitHub
GitHub - supabase/supabase: The Postgres development platform. Supa...
The Postgres development platform. Supabase gives you a dedicated Postgres database to build your web, mobile, and AI applications. - supabase/supabase
and does the cpu stay at 100%?
Yes, need to shut down the droplet, restart it and the moment I login the CPU spikes
For how long does the cpu stay at 100% because when starting up containers and maybe for a short duration of time after that, it is expected for the cpus to be running at 100% as the db is performing migrations.
I think this is something specific to digital ocean, maybe your instance type. I've ran supabase stack on ec2 instance m6gd.medium. It has 1 Cpu and 4gb ram. Never faced this issue.
So to contact digitalocean?
What is the instance type you use? What cpu does it have?
If you have an AWS account, try with the instance type I mentioned. You can use spot instance for a quick test.
We are a non profit, and want to host customer data in supabase with about 1500 documents a month, and 15 users accessing the data. Is ec2 a good fit?
AWS offers discounts just not sure which size of instance to put
This is a stack I just ran

The thing with aws is that if you're not careful you can shoot yourself in the foot and get charged a lot. With digital ocean you know what you'll be charged upfront.
At the end of the day, these are all just servers. Should work with DO too. You just have to check which instance type can handle the workload
Look at the cpu of the instance you've setup. What is the model
The instance I just setup is running ubuntu 22.04 and has 59 gb ssd
I am starting from scratch now
Ubuntu 25.04 regular CPU: 4gb 2 cpu
I think it might be related to SSH. I am not familiar what I need to do.
There is the standard SSH from DO called admin and jat
Ssh shouldn't spike the cpu
DO Marketplace has Supabase pre-installed Droplet. Testing that now
this worked well, thank you for your care!
Supabase is up and running, but weird thing happens: SQL Editor doesnt work at all and always shows this error: "Application error: a client-side exception has occurred (see the browser console for more information)."
You'll have to ask digital ocean support about this as I don't know how they've setup their 1 click app