Connections > SAP HANA connection properties > Use the serverless runtime environment
  

Use the serverless runtime environment

You can use the serverless runtime environment to connect to the SAP system when you configure an SAP HANA connection in Data Integration.
Before you configure a SAP HANA connection using the serverless runtime environment, you need to perform certain prerequisites.
  1. 1Create the following structure for the serverless agent configuration in AWS or Azure:
  2. <Supplementary file location>/serverless_agent_config
  3. 2Add the libraries in the Amazon S3 bucket or Azure container in the following directory in your AWS or Azure account: <Supplementary file location>/serverless_agent_config/hana
  4. 3Copy the following code snippet to a text editor:
  5. version: 1
    agent:
    dataIntegrationServer:
    autoDeploy:
    sap:
    hanas:
    - fileCopy:
    sourcePath: sap/jco/ngdbc.jar
    odbcInst:
    drivers:
    - fileCopy:
    sourcePath: ODBC/libodbcHDB.so
    dsns:
    - name: "HDBODBC"
    entries:
    - key: Driver
    value: libodbcHDB.so
    - key: Description
    value: "HANA Driver"
    - key: CPTimeout
    value: 0

    where the source path is the directory path of the library files in AWS or Azure.
  6. 4Ensure that the syntax and indentations are valid, and then save the file as serverlessUserAgentConfig.yml in the following AWS or Azure directory:
  7. <Supplementary file location>/serverless_agent_config
    When the .yml file runs, the libraries are copied from the AWS or Azure directory to the serverless agent directory.
For more information about serverless runtime environment properties, see the Administrator help.