r/flask Oct 31 '24

Show and Tell Upify - quickly deploy Flask apps to the cloud for free

I see a lot of posts in here asking about where to deploy Flask or where to deploy it for free. You can deploy your app to serverless environments, so that it’s not taking up resources if it’s not being used, which should be good for most projects since they don’t get that much traffic. Both AWS Lambda and GCP Cloud Run offer free tiers that should be more than enough for most people to host multiple apps.

Upify is an open source CLI tool, written in Go that makes deploying a Flask app to serverless very easy. It just creates configs and wrappers on top of your existing app. Basically, you have to set up creds for the provider, run a few commands, and you should get back a URL that you can call.

https://github.com/codeupify/upify

https://reddit.com/link/1ggjs87/video/r7tuf4bbk4yd1/player

14 Upvotes

4 comments sorted by

1

u/BostonBaggins Nov 01 '24

What's the problem it's trying to remedy?

2

u/acidcoder Nov 01 '24

The problem is that deploying an app can be a pain. I remember having to set up a VM, get gunicorn, supervisord so that things stay up, nginx.... Serverless, coupled with tools like this just make this really simple and quick to get something up in the cloud.

2

u/BostonBaggins Nov 01 '24

Thanks for the response

Any suggestions on more literature or YouTube videos Abt it?

1

u/acidcoder Nov 01 '24

My specific tool, I wrote some basic documentation on how to use - https://codeupify.github.io/upify/

Serverless in general there's lots of stuff out there on it, since it's been around for a while. I don't even remember how I learned about it. I think I just read about AWS lambda and tried to get it to run until it clicked. I'm sure there are great tutorials and YouTube videos on it, I just don't know which ones are good.