ModischFabrications / CutSolver

Webservice to determine ideal cut placement on stocks

Home Page:https://cutsolver.modisch.me

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Find permanent hosting

ModischFabrications opened this issue · comments

Domain is easy, but a server takes money.

Might want to go serverless: https://www.deadbear.io/simple-serverless-fastapi-with-aws-lambda/

https://www.koyeb.com/pricing offers a nano instance (0.5GB RAM) for free, could be fine for tiny (private) usage

Heroku offers the same as Koyeb, just slightly less defined

Oracle is shit, but has a surprisingly good offer for free: https://www.oracle.com/cloud/free/#always-free

AWS, Azure and Google only offer 12months of free usage, which would result in a new maintenance down the line. Don't want that.

Trying out oracle for now, seems to be the best (cheapest) option available. ARM 2vCPU + 12GB RAM should be plenty for everything and leaves me with the same one again and another 2 x86 with fewer resources.

http://vps.modisch.me:8080 is the simple version, path resolving shouldn't be far off. Needs reverse proxy for paths, e.g. Traefik.

Ideal path: https://vps.modisch.me/cutsolver and https://vps.modisch.me/cutsolver/api[/solve]

Related to #45

Seems to work, https://vps.modisch.me/cutsolver/ is online and linked, just need to fix git lfs for the frontend. Postfixing /cutsolver with another slash would also be nice, but I can't get that to work.