elastic / elasticsearch-cloud-aws

AWS Cloud Plugin for Elasticsearch
https://github.com/elastic/elasticsearch/tree/master/plugins/discovery-ec2
577 stars 180 forks source link

Separate proxy traffic for ec2 and s3 #191

Closed dadoonet closed 9 years ago

dadoonet commented 9 years ago

Based on PR #178 by @paul-e-cooley. Thanks Paul!

In addition to:

cloud:
    aws:
        protocol: https
        proxy_host: proxy1.company.com
        proxy_port: 8083

You can also set different proxies for ec2 and s3:

cloud:
    aws:
        s3:
            proxy_host: proxy1.company.com
            proxy_port: 8083
        ec2:
            proxy_host: proxy2.company.com
            proxy_port: 8083

PR rebased on master and lastest changes about component settings removal. Documentation added. Changes in tests. If a proxy is provided we run the tests, otherwise we ignore the test.

Closes #177.

dadoonet commented 9 years ago

@imotov @tlrx wanna review it?

tlrx commented 9 years ago

LGTM

dadoonet commented 9 years ago

Pushed in master, es-1.x and es-1.4 branches.