Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

"bosh micro deploy" proxy support #77

Closed
qch1843 opened this issue Mar 15, 2013 · 6 comments
Closed

"bosh micro deploy" proxy support #77

qch1843 opened this issue Mar 15, 2013 · 6 comments

Comments

@qch1843
Copy link

qch1843 commented Mar 15, 2013

Hi,

I seems "bosh micro deploy" doesn't work from behind a proxy? (https://groups.google.com/a/cloudfoundry.org/forum/#!topic/bosh-users/kJ6PCC1CN5A)

Could the proxy support be added? Most of the corporate users are behind firewall/proxy.

Thanks,
Steven

@ghost ghost assigned pmenglund Mar 15, 2013
@pmenglund
Copy link
Contributor

Can you try setting proxy_url in your micro_bosh.yml:

cloud:
  plugin: aws
  properties:
    aws:
      access_key_id: ...
      secret_access_key: ...
      proxy_uri: http://your-proxy.com
apply_spec:
  properties:
    aws:
      access_key_id: ...
      secret_access_key: ...
      proxy_uri: http://your-proxy.com

That should take care of the communication with the AWS API endpoint, but there are later steps which I still think will fail...

@qch1843
Copy link
Author

qch1843 commented Mar 18, 2013

Hi,

I had a try by adding proxy_uri into cloud/properties/aws section, but bosh micro deploy still failed with same error. My micro_bosh.yml is attached below, I don't have apply_spec/properties/aws section, not sure whether it's ciricial.

---
name: aws

logging:
  level: DEBUG

network:
  type: dynamic
  vip: xx.xx.xx.xx

resources:
  persistent_disk: 20000
  cloud_properties:
    instance_type: m1.small
    availability_zone: eu-west-1a

cloud:
  plugin: aws
  properties:
    aws:
      access_key_id: xxxxxxxxxxxxxxxxxxx
      secret_access_key:  xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx
      proxy_uri: http://10.144.1.10:8080
      default_key_name: bosh
      default_security_groups: ["bosh"]
      ec2_private_key: ~/.ssh/bosh.pem
      ec2_endpoint: ec2.eu-west-1.amazonaws.com

apply_spec:
  agent:
    blobstore:
      address: xx.xx.xx.xx
    nats:
      address: xx.xx.xx.xx
  properties:
    aws_registry:
      address: xx.xx.xx.xx

@drnic
Copy link
Contributor

drnic commented Jun 11, 2013

Martin, was his config correct?

@pmenglund
Copy link
Contributor

It looks like it is correct

@jfoley
Copy link
Contributor

jfoley commented Aug 14, 2013

@tsaleh - Can you comment?

@aramprice / @jfoley

@tammersaleh
Copy link
Contributor

Hi @qch1843 - proxy support is something we'd be happy to accept if given a pull request, but not something that's currently prioritized on the roadmap. I'm going to close this issue. Please reference it if you (or anyone else) want to take it on as a PR.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

5 participants