Runtime Environments > Serverless runtime environment setup in AWS > Using a proxy server
  

Using a proxy server

If your organization uses an outgoing proxy server to connect to the internet, you can configure the serverless runtime environment to connect to Informatica Intelligent Cloud Services through the proxy server.
When you configure a proxy server for the serverless runtime environment, you define the required proxy server settings in the serverlessUserAgentConfig.yml file before you can import metadata or design your mappings. Data Integration copies the proxy entries in the file to the serverless runtime environment.
To apply the proxy when you run mappings, set the proxy configurations on the Serverless Environments page in Administrator.
You can configure proxy settings for the serverless runtime environment in certain connectors. To see if the proxy applies in a connector, see the help for the appropriate connector.

Configure the proxy in the serverlessUserAgentConfig.yml file

To apply proxy server settings when you design mappings and import metadata, add the proxy server details to the serverlessUserAgentConfig.yml file.
Use the following code snippet as a template to provide the values for the proxy server in the serverlessUserAgentConfig.yml file:
agent:
agentAutoDeploy:
general:
proxy:
proxyHost: <Host_name of proxy server>
proxyPort: <Port number of the proxy server>
proxyUser: <User name of the proxy server>
proxyPassword: <Password to access the proxy server>
nonProxyHost: <Non-proxy host>

Configure the proxy in the JVM options

To apply proxy server settings when you run mappings or tasks, configure JVM options in Administrator.
    1On the Serverless Environments page, click the name of the serverless runtime environment.
    2Click Edit.
    3In the Runtime Configuration Properties section, select the Service as Data Integration Server and the Type as DTM.
    4Edit any of the JVMOption fields and specify appropriate values for each parameter based on whether you use an HTTPS or HTTP proxy server.
    The following table describes the parameters:
    Parameter
    Description
    -Dhttp.proxySet=
    Determines if the serverless runtime environment must use the proxy settings when the outgoing proxy server is HTTP. Select -Dhttp.proxySet=True to use the proxy.
    -Dhttps.proxySet=
    Determines if the serverless runtime environment must use the proxy settings when the outgoing proxy server is HTTPS. Select -Dhttps.proxySet=True to use the proxy.
    -Dhttp.proxyHost=
    Host name of the outgoing HTTP proxy server.
    -Dhttp.proxyPort=
    Port number of the outgoing HTTP proxy server.
    -Dhttp.proxyUser=
    Authenticated user name for the HTTP proxy server.
    -Dhttp.proxyPassword=
    Password for the authenticated user.
    -Dhttps.proxyHost=
    Host name of the outgoing HTTPS proxy server.
    -Dhttps.proxyPort=
    Port number of the outgoing HTTPS proxy server.
    -Dhttps.proxyUser=
    Authenticated user name for the HTTPS proxy server.
    -Dhttps.proxyPassword=
    Password for the authenticated user.
    5Click Save.

Allow domains in the proxy server

To run a mapping successfully, the proxy server must allow traffic from the AWS endpoints that are required to process the data in the mapping.
Allow traffic from the following domains:
s3.<region>.amazonaws.com
s3.amazonaws.com
ec2.<region>.amazonaws.com
sts.<region>.amazonaws.com
efs.<region>.amazonaws.com
elasticfilesystem.<region>.amazonaws.com
Specify the region that contains the VPC that connects to the serverless runtime environment.