JDBC V2 Connector > Connections for JDBC V2 > Configure the elastic runtime environment
  

Configure the elastic runtime environment

You can configure custom binary files in an elastic runtime environment to ensure that the runtime environment can access and execute these files during mapping runs.
Before you configure custom binary files, make sure that you deploy the elastic runtime environment on AWS to create a Kubernetes cluster that can process data within Informatica Intelligent Cloud Services.
For more information about deploying an elastic runtime environment, see Deploy an elastic runtime environment.
After you deploy the elastic runtime environment, place the custom binary files on the mounted disk and copy the exact path of the binary files to use in the POST request.
Perform the following steps within Informatica Intelligent Cloud Services for the elastic runtime environment to manage the custom binary files:
  1. 1Log in to your organization and obtain the session ID and runtime environment ID.
  2. 2Make a POST call to the REST API, passing the session ID, runtime environment ID, and the binary file path copied earlier from the mounted disk.
  3. For more about information about making the POST calls, see Supplementary files in the REST API Reference guide.
    The following is an example of the POST request:
    POST <base URL>/api/v3/RuntimeEnvironment/<runtime environment ID>/ElasticConfig
    Content-Type: application/json
    Accept: application/json
    INFA-SESSION-ID: <SessionId>
    {
    "rteId": "rte-12345",
    "specification": {
    "agent": {
    "dataIntegrationServer": {
    "jdbcv2": {
    "common": [{"sourcePath": "/<path to binaries>/common1.jar"}],
    "spark": [{"sourcePath": "/<path to binaries>/spark1.jar"}]
    }
    The POST call triggers a restart of the Data Integration Server.
  4. 3Verify that the elastic runtime environment is up and running by checking the status of the Data Integration Server in Administrator.
  5. 4Test a connection or run a mapping to confirm that the elastic runtime environment can access and use the custom binary files.
For more information about how to configure and use the elastic runtime environment, see Elastic runtime environment.