#can I deploy flask, celery, redis, postgreSQL on runpod?

41 messages · Page 1 of 1 (latest)

vapid mason
#

Hi,
as you know the pod only persist data under /workspace folder. for all python related packages I can use venv to put all the data and configuration under /workspace.

while if I need to install all the tools like flask, celery, redis, postgreSQL they are not python installation, the configuration files will be scattered here and there. all these file and configuration will disappear after pod restart.

So, what is the best practice to do so ? or runpod is not designed to be used in this scenario.

thank you !

thick rainBOT
#

To help others find answers, you can mark your question as solved via Right click solution message -> Apps -> ✅ Mark Solution

strange cedar
#

You can install whatever you want but I don't recommend installing databases etc on RunPod. Its better to deploy those things to a CPU cloud provider and use RunPod serverless for offloading tasks that need to run on a GPU.

#

I run my applications on AWS and send my GPU tasks to RunPod serverless.

frozen gorge
#

Runpod, I would run it as a pure processing unit as digigoblin said. Otherwise, you're paying a really high premium for something that a bunch of other providers are way more optimized to do.

vapid mason
strange cedar
vapid mason
frozen gorge
#

This one is probably better

#

This person set it up i think more for a direct thing

#

But tbh, I think diffuser directly still the best, if u don't need comfy ui. Just pure code makes it easier to work with than worrying about conforming to something else

strange cedar
#

How is it better? I use the one above and it works perfectly

frozen gorge
strange cedar
#

Documentation is fine, it works fine for me like I said

frozen gorge
#

Railway less pain in the ass than AWS

#

Railway + runpod

#
  • Railway has default templates i believe for what u want
#

And then u dont need to fight with aws lamdas / gateways / iam roles

vapid mason
vapid mason
frozen gorge
#

Yeah from there, it's basically just calling the runpod serverless endpoint with an http request

strange cedar
#

The only difference I see in the blib one is it supports S3

frozen gorge
#

both is solid then haha

vapid mason
frozen gorge
#

It really really streamlined

#

i think tons of startups honestly just do a way better job than AWS

#

if i can avoid GCP / AWS / Azure i try to lol

vapid mason
frozen gorge
#

Ik it isn't flask, but can imagine similar

#

lul

#

but its nice cause they got starters just like that

#

Also I like u can actually specify a spend limit - i believe - haven't tried myself

#

vs aws u can just keep running the bill infinitely

vapid mason
#

looks sexy

#

definitely sounds like a time and dollar saver

#

thank you @frozen gorge