/WAS-Kubernetes

Primary LanguageShellMIT LicenseMIT

Getting Started

The Wolfram Application Server (WAS) combines the computational power of the Wolfram Engine with the robust containerization technologies available today. It provides a scalable deployment model for your Wolfram-powered web applications. The documentation provided here along with the appropriate license will get you started in no time.

In order to deploy and use Wolfram Language content, you will need a license file provided by Wolfram Research. Contact your sales representative at 1-800-WOLFRAM to discuss licensing options.

The Wolfram Application Server runs within Kubernetes. You need to choose your Kubernetes environment. We support deploying the Wolfram Application Server onto Amazon, Azure and your on-premises cluster.

Amazon

Instantiate a cluster in Amazon EKS, check out the following repository (EnvironmentSetup/AWS) and follow the instructions in README.md.

Azure

Instantiate a cluster in Azure, check out the following repository (EnvironmentSetup/Azure) and follow the instructions in README.md.

On-premises

Contact Wolfram Technical Support for options and documentation.

Activation

Obtain a license file from your sales representative. This file needs to be deployed to the WAS as a node file in the conventional location .Wolfram/Licensing/mathpass. From a Wolfram Language client load the Wolfram Application Server package (you need do this only once in a Wolfram Language session to enable WAS service functions)

Needs["WolframApplicationServer`"]

then evaluate the following code:

was = ServiceConnect["WolframApplicationServer", "http://<your-base-url>"];
ServiceExecute[was, "DeployNodeFile",
{"Contents"-> File["path/to/mathpass"], "NodeFile" -> ".Wolfram/Licensing/mathpass"}]

Alternatively you may use the node files REST API to install the license file.

Restart the application using the restart API to enable your Wolfram Engines.

Development

In your Wolfram Language environment, evaluate PacletInstall["WolframApplicationServer"]. The guide page contains documentation links to Wolfram Application Server functions (WolframApplicationServer/guide/WolframApplicationServer). The service page describes the details of a ServiceConnection to a Wolfram Application Server (WolframApplicationServer/ref/service/WolframApplicationServer).

Additional Documentation

API Specifications

Other