Setting up a proxy server

To set up a proxy server you can register an http proxy server as a shared resource and then add that shared resource when you set up your environment.

Make sure you have set up an http proxy server as a shared resource.
  1. In the Management Console, select Environments in the left navigation pane.
  2. Click the Shared Resources tab, then click Proxies from the list below the tab title.
  3. Click Create Proxy Configuration.
  4. Enter the information for your proxy server, then click REGISTER.
  5. Click Environments in the left navigation pane, then click Register Environment.
  6. Add your environment information, navigating through the Register Environment and Data Lake Scaling steps.
  7. When you reach the Region, Networking, Security and Storage steps, choose the Proxy you registered.
  8. Finish setting up your Environment.
  9. As an alternative to using the UI, you can also register the proxy using the CLI.
    1. Use the following commands:
      cdp environments create-proxy-config \
        --proxy-config-name companyProxy \
        --host 10.102.0.19 \
        --port 3128 \
        --user squid \
        --password squid \
        --protocol http
    2. Provide the proxyConfigName in the environment JSON:
      ...
      "subnetIds": [
        "subnet-1",
        "subnet-2",
        "subnet-3"
        ],
        "proxyConfigName": "companyProxy"
      }
    3. Or in the --proxy-config-name argument of the environment creation command, enter the following:

      AWS:

      cdp environments create-aws-environment \
        --cli-input-json '{...}' \
        --proxy-config-name companyProxy
      Azure:
      cdp environments create-azure-environment \
        --cli-input-json '{...}' \
        --proxy-config-name companyProxy