title: Timeout when using remote couchbase an AWS ec2
body: <p>For development purposes, I want to connect my local machine to couchbase installed on remote ec2. 
  I success in making the connection, but I get timeout when I try to access the data.</p>
  
  <p>I've search for the problem and found <a href="https://stackoverflow.com/questions/12117746/client-timeout-on-aws-couchbase-cluster-after-upgrading-to-ruby-1-9-3">here</a>, that the problem is probably related to the fact that couchbase returned the internal IP, which cannot be used outside of AWS.</p>
  
  <p>However, I did not find any solution to this. Any idea? </p>
  
  <p>Thanks.</p>
  
  <pre><code>This is my output:
  
  In [19]: c = couchbase.Couchbase().connect(host='107.20.181.77',bucket='amit')
  
  In [20]: c
  Out[20]: &lt;couchbase.connection.Connection bucket=amit, nodes=['10.185.248.101:8091'] at 0x2f20870&gt;
  
  In [21]: c.set("12345",{'a':100})
  ---------------------------------------------------------------------------
  TimeoutError                              Traceback (most recent call last)
  &lt;ipython-input-21-4df1cb7c8c9a&gt; in &lt;module&gt;()
  ----&gt; 1 c.set("12345",{'a':100})
  
  /usr/local/lib/python2.7/dist-packages/couchbase/connection.pyc in set(self, key, value, cas, ttl, format, persist_to, replicate_to)
      318         """
      319         return _Base.set(self, key, value, cas, ttl, format,
  --&gt; 320                          replicate_to, persist_to)
      321 
      322     def add(self, key, value, ttl=0, format=None, persist_to=0, replicate_to=0):
  
  TimeoutError: &lt;Key=u'12345', RC=0x17[Operation timed out], Operational Error, Results=1, C Source=(src/multiresult.c,286)&gt;
  </code></pre>