Skip to content

Configuring SAS Viya AWS Quick Start for serverless functions

devakumaraswamy edited this page Dec 17, 2019 · 2 revisions

Configuring SAS Viya Quick Start on AWS for serverless functions

If you are deploying SAS Viya using the Quick Start templates, you must do the following to enable your lambda functions to access the Viya Server.

Step 1: Elastic IP for use with Lambda functions

  1. Create a new EIP
  2. Attach it to the instance named SAS-Viya-stack for Viya Services.
  3. Set the ip address to the private ip for the stack. The AWS UI should give this as the only choice in the drop down.
  4. Note the value of this ip address for later use in step 4

Step 2: Security group

  1. Note the security group for ProxySecurityGroup- This is already setup with the necessary rules.

Step 3: vpc configuration for the lambda function

In the vpc configuration of the serverless function use the following:

  1. For subnet use the private subnet that was created for your Viya Instance
  2. For security group use the ProxySecurityGroup you saved in Step 2.

Step 4: Set the value of VIYA_SERVER

Modify the secret you created earlier and set the VIYA_SERVER to https://the-ip-address-from-1c

Now you can deploy your lambda function and access the analytics in Viya.

Clone this wiki locally