5
$\begingroup$

I'd like to have my code and api deployed, but not to the Wolfram Cloud. I have a an APIFunction, and I'd like to CloudDeploy it to a specific url backed by my own instance.

Notes:

  • I don't see anything in the docs on this so I'm thinking it might not be possible.
  • I'm running on my own ec2 box with mathematica 10.4 installed.
$\endgroup$
  • $\begingroup$ A private Wolfram Cloud would be one way to do this. The currently advertised private cloud could be on your server, but is priced to include custom installation, maintenance, and support by Wolfram Research. $\endgroup$ – Christopher Haydock Apr 20 '16 at 18:48
  • 2
    $\begingroup$ I'd like this too, but a private cloud is the only way to do it and I'm pretty sure the price is stratospheric. $\endgroup$ – C. E. Apr 20 '16 at 19:15
  • $\begingroup$ Are you running a server-side platform (PHP, Python, Ruby on Rails, Java, Node.js, Go etc.) on your ec2 box? $\endgroup$ – Christopher Haydock May 29 '16 at 18:36
  • 1
    $\begingroup$ @ChristopherHaydock I have a flask app $\endgroup$ – M.R. Sep 27 '16 at 17:51
4
$\begingroup$

Currently APIFunction / CloudDeploy works only with the Public Cloud or an Enterprise Private Cloud.

So either you need an EPC on your side or you can use WebMathematica or Mathematica (WebMMA license required anyway). Though WebMMA does not support APIFunctions anyway so you'd have to adapt it to create JSP based api interface.

Let's hope someone in WRI sees the potential and an upgrade for WebMMA is on the way.

$\endgroup$
  • $\begingroup$ Nominally you could imagine running it through the little WebServer stuff in the "HTTPHandling`" context and then using python or something as a little interface server layer...but that basically buys you nothing. Maybe one day we'll hack that stuff to allow us to expose it more broadly but I'm not sure and I certainly don't care enough to figure this out without some compelling use case. $\endgroup$ – b3m2a1 Jan 16 at 1:32

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.