Do you know the History of Data Science? READ MORE

Regarding setting up API node

akshay
Level 1
Regarding setting up API node
Hi team
In the scenario, we have to call python API in other remote applications which will send data over parameters to the python function created on an endpoint and after processing on those parameters need to send the result back to other applications.
Currently, I am using a free enterprise DSS instance.

I have created a python function within api deployer endpoint also I have published it with v1 version
I have a question regarding infrastructure
1) while setting up api node its asking me for a licence.json file where do I get that?
2) which API node URL needs to be passed within the infrastructure so that my function will be accessible from the outside application?


I have gone through reference documentation I found it bit difficult to understand as there is no practical examples included.
Can you please help me with this
 
Thanks
Akshay
0 Kudos
3 Replies
AlexT
Dataiker
Dataiker

Hi Akshay,

If you already have an Enterprise trial version of DSS you should already have your license.json.  Please note that the Free Community edition does include the Real-time prediction API nodes.

1) The license.json is under in  DATA_DIR/config/license.json on the design node. 

2) The URL would need to be the IP/URL where the API node can be reached from the API deployer. For example http://IP-OR-URL:PORT

That URL you access the API node with does not need to be the same you can use a public or add a reverse proxy in front the API nodes as needed so other applications can reach the API nodes. 

For a practical example please see: https://knowledge.dataiku.com/latest/courses/o16n/real-time-deployment/deploy-realtime.html

Hope this helps!

0 Kudos
akshay
Level 1
Author

Hi Alex
I used same license.json file from DATA_DIR/config/
I am getting following error:

 

Executing following command:

dataiku-dss-9.0.1/installer.sh -t api -d /home/ubuntu/dir_created/ -p 9100 -l /home/ubuntu/DATA_DIR/config/license.json

which says license does not cover API node usage

dataiku3.JPG

 

Thank you

0 Kudos
AlexT
Dataiker
Dataiker

Just to clarify the Free edition with Advanced feature (trial) which you activate from DSS  "Start 2 Week Trial" does include an API node trial. 

See : https://community.dataiku.com/t5/Setup-Configuration/Prediction-API-using-Azure-AKS-Doesn-t-work-in-...

To get access to a license that includes the ability to please contact us via  https://www.dataiku.com/home/contact-us/. 

 One of our representatives will be in touch in order to set up your full DSS Enterprise evaluation and this new license will allow the installation of API nodes. 

0 Kudos
A banner prompting to get Dataiku DSS