I’d like to setup a SaaS where I need to spin up an api server and associated Postgres DB for each client who signs up, triggered from our website backend.
I’m evaluating several options to do that on Fly. Is it better(and possible) to use flyctl to generate the images from templates, and then return the image details in the response? Or to use the GraphQL API and write my own queries to generate the data?
And then I have to handle updating the images from the web somehow.
I never thought that image deployment/management would be one of the most challenging parts of this effort. Maybe there’s a better way?