Ask HN: How to deploy an AI App?
My mate and I are thinking of deploying a website (maybe running Node & Express), where users can upload an image. That image will be passed to a python script in the same environment, which will contain the AI logic / neural network. Then we want the image to be sent back to the front end.
We are looking for the lowest-cost solution as this is just a hobby project, maybe even a solution where the server starts up on demand when someone tries to reach the website.
How would you deploy an application of this sort, using what cloud service?
5 comments
[ 22.9 ms ] story [ 38.3 ms ] threadThen deploy your server side API code using lamda and serve users from that layer(Read abt serverless architecture, u don't need an ec2 instance). Which is relatively cheap, its pricing is based on number of times it runs, if i remember correctly they give 1 million free call per month i guess, even if its not, its pricing is relatively cheap.
And store the images in s3.
Do you need a website running (same pages with html)? Or just need API to the model?
We will only be doing inference with this particular app, the training on another machine.
Images will vary based on what users upload, but larger ones a couple GBs.
Would be ideal to have a website running, to be user friendly and present all of this.
Have you checked https://www.tensorflow.org/serving/ ?