-
Notifications
You must be signed in to change notification settings - Fork 35
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Deployment to Cloud for the API #36
Comments
This could be a subsection at the end of https://d-krupke.github.io/cpsat-primer/building_an_optimization_api.html |
For people with unlimited budgets, the AWS on-demand instances might also be an option. Also (in general) for optimization tasks where you don't need an immediate result, the "EC2 spot instances" could offer a nice discount in comparison with other servers types. |
I don't know much about AWS. However, I know that one can do some heavy optimization in Google Cloud with only a few euros for the worker (on big machines). I would also know how to implement that part, though, I have never been responsible for the actual deployment. What I am not sure about, yet, is how to deploy the web and redis containers cheaply.
|
Considering that OR-Tools is Google, I would like to have Google Cloud in there out of respect. They don't make money with OR-Tools but they make money with the cloud. Adding an additional AWS section would of course also be nice, but if we do that, I would like to publish it together with a Google Cloud section. |
Instead of just using some worker containers, it may be cheaper to deploy the code to the cloud and use google cloud run to schedule and run the optimization on demand. Especially for low frequency APIs, this can be significantly cheaper as you only need to rent an expensive cloud machine for the time you are actually optimizing. Should not be too complicated, but I am not a cloud expert, so I am slow in getting all the details right and not just having a "worked for me".
The text was updated successfully, but these errors were encountered: