0 votes
Hello, I am trying to deploy API in my AWS instance, I have already done all step from the tutorial (https://www.dataiku.com/learn/guide/tutorials/deploy-scoring.html). However, I don't understand what should I put to List of API nodes. I tried to put here my Public DNS (IPv4) (like http://ec2-34-196-149-179.compute-1.amazonaws.com:11700) or IPv4 Public IP (like but I got a warning: Connection refused (Connection refused). Port 11700 have added in my AWS security group rules. If I try to put URL without port I get an error: Use JsonReader.setLenient(true) to accept malformed JSON at line 1 column 12 path $
Hi, have you generated an API node admin key and put it into the API deployer interface?
Yes, I have generated API key in API keys section in Admin page and put it into my API node
if I try to use port 10001 I got another warning: Failed to get deployment status from API Node 'http://ec2-34-196-149-179.compute-1.amazonaws.com:10001': Unknown error on command: <html> <head> <meta http-equiv="Content-Type" content="text/html;charset=ISO-8859-1"/> <title>Error 404 </title> </head> <body> <h2>HTTP ERROR: 404</h2> <p>Problem accessing /admin/api/services/. Reason: <pre> Not Found</pre></p> <hr /><i><small>Powered by Jetty://</small></i> </body> </html>
What port have you installed the API node in? You need to specify the port number in the URL in the API Deployer node. Have you double checked that the network is open between the API deployer node and the API node, as these may be sitting on 2 different instances?
Alex, thank you for answers. I have already understood my mistake, I didn't install API node. I thought that my DSS instance can be API node.

1 Answer

0 votes

Indeed to deploy an API service, you will need to make a dedicated "API node" installation, as documented in https://doc.dataiku.com/dss/latest/apinode/installing-apinode.html.

Then you can use your "Design node" as an "API Deployer" to push API services to production on the installed API node. In a large team, you would probably configure a standalone API Deployer node that multiple Design nodes can push to. See this documentation for more details: https://doc.dataiku.com/dss/latest/apinode/installing-apideployer.html#using-a-standalone-api-deployer.

Note that the "Design node" contains an internal "development API server" for simple testing of API services. But it cannot be used for real production testing and deployment.

Hope it helps,

1,046 questions
1,084 answers
9,090 users

┬ęDataiku 2012-2018 - Privacy Policy