How to configure C2 to use a proxy to connect to AWS

CloudBolt 4.6.1 and newer

Go to Admin --> Misc Settings --> click the pencil next to the Web Proxy item at the bottom of the page.
After setting a proxy, all outgoing connections to AWS and Azure should go through this proxy.


CloudBolt 4.6 and earlier

To get CB to talk to AWS via a proxy, you can create a file on the C2 server called /etc/boto.cfg.  The contents of that file are:
[Boto]
debug = 0
num_retries = 10

proxy = myproxy.com
proxy_port = 8080
proxy_user = foo
proxy_pass = bar
 
That is an AWS-specific file, we are also going to be adding a setting in the C2 UI for product-wide proxy config in one of the next releases.

 Then run:

chown apache:apache /etc/boto.cfg
service httpd restart
Have more questions? Submit a request

7 Comments

  • 0
    Avatar
    William White

    This is a HUGE downfall for so many applications where installation in a corporate environment is an afterthought.  Thanks for catching this in advance.

  • 0
    Avatar
    Dillon TenBrink

    Is there a similar setting for other cloud providers? What about a global setting? When will this appear in the UI?

  • 0
    Avatar
    Bernard

    Dillon,

    We are looking into this for other cloud providers, are there specific one(s) you're interested in seeing this for?  Some expose better support for this than others.

    We haven't yet scoped adding it as a global setting to the UI (it will appear in the quick setup wizard and also in the admin --> misc settings page), but seems likely that it will fit in our next release (4.6.1, out in December).

    Thanks,

    Bernard

  • 0
    Avatar
    Dillon TenBrink

    Azure would be the most desirable at this point. The UI hook would be a nice to have, but the proxy support is a must have.

  • 0
    Avatar
    Bernard

    Dillon,

    We figured out a way to do this for Azure and will be working on implementing & testing it.  It should fit into our 4.6.1 release (December) with little trouble.   Once we've got a better estimate for when it can be done, we'll reach out to you to see if you'd like an update for this earlier than that.

     

    Thanks,

    Bernard

  • 0
    Avatar
    Rick Kilcoyne

    It appears that SSL proxy support is not included. This precludes users from using intermediary certs that are used for internal SSL packet inspection. Still investigating.

  • 0
    Avatar
    Bernard

    The ability to configure a proxy to use globally  in CloudBolt (to connect to AWS, Azure, etc) has been added for 4.6.1, which will be out in December, 2014.  If you would like an alpha/beta before then, contact CloudBolt support (support@cloudboltsoftware.com) and they can get you an upgrader.

    thanks,

    Bernard

    web_proxy.png

     

Please sign in to leave a comment.