Connections > SAP connection properties > Use the serverless runtime environment
  

Use the serverless runtime environment

You can use a serverless runtime environment hosted on AWS or Azure to connect to the SAP system when you configure an SAP connection on Linux.
You can't use the serverless runtime environment if you want to use SAP Secure Network Communication (SNC) Protocol.
Before you configure an SAP connection using the serverless runtime environment, perform the following tasks:
Add the SAP libraries in the Amazon S3 bucket or Azure container in your AWS or Azure account
Perform the following steps to configure an SAP connection in a serverless runtime environment:
  1. 1Create the following structure for the serverless agent configuration in AWS or Azure: <Supplementary file location>/serverless_agent_config
  2. 2Add the SAP libraries in the Amazon S3 bucket or Azure container in the following location in your AWS or Azure account: <Supplementary file location>/serverless_agent_config/sap
Configure the .yml serverless configuration file
Perform the following steps to configure the .yml serverless configuration file in the serverless runtime environment, and to copy the SAP libraries to the serverless agent directory:
  1. 1Copy the following code snippet to a text editor:
  2. version: 1
    agent:
    dataIntegrationServer:
    autoDeploy:
    sap:
    nwrfcs:
    - fileCopy:
    sourcePath: sap/nwrfc/<rfc_libary_filename>
    - fileCopy:
    sourcePath: sap/nwrfc/<sapnwrfc_filename>
    where the source path is the directory path of the library files in AWS or Azure.
  3. 2Ensure that the syntax and indentations are valid, and then save the file as serverlessUserAgentConfig.yml in the following AWS or Azure location: <Supplementary file location>/serverless_agent_config
  4. When the .yml file runs, the libraries are copied from the AWS or Azure location to the serverless agent directory.
Configure the JAVA_LIBS property for the serverless runtime environment
Perform the following steps in Administrator to configure the JAVA_LIBS property for the serverless runtime environment on Linux:
  1. 1Log in to Informatica Intelligent Cloud Services.
  2. 2Select Administrator > Serverless Environments.
  3. 3On the Serverless Environments tab, expand the Actions menu for the required serverless runtime environment, and then select Edit.
  4. 4On the Runtime Configuration Properties tab, select Data Integration Server as the service and Tomcat_JRE as the type.
  5. 5Click Add Property.
  6. 6Enter JAVA_LIBS in the Name field and set the following value:
  7. ../bin/rdtm-extra/tpl/sap/sapjco3.jar:../bin/rdtm/javalib/sap/sap-adapter-common.jar
  8. 7Click Save.
For more information about how to configure and use the serverless environment, see Serverless runtime environment setup.