couchdb-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Apache Wiki <wikidi...@apache.org>
Subject [Couchdb Wiki] Update of "Getting started with Amazon EC2" by JasonSmith
Date Sun, 08 Mar 2009 11:25:30 GMT
Dear Wiki user,

You have subscribed to a wiki page or wiki category on "Couchdb Wiki" for change notification.

The following page has been changed by JasonSmith:
http://wiki.apache.org/couchdb/Getting_started_with_Amazon_EC2

The comment on the change is:
Add info about an SSH tunnel

------------------------------------------------------------------------------
     1. {{{./bootstrap && ./configure && make && sudo make install}}}
     1. {{{sudo adduser --system --home /usr/local/var/lib/couchdb --no-create-home --shell
/bin/bash --group --gecos 'CouchDB account' couchdb}}}
     1. {{{sudo chown -R couchdb.couchdb /usr/local/var/{lib,log}/couchdb}}}
+    1. ''(Optional)'' Enable direct web access.  '''NOTE: This step makes your CouchDB instance
available for everyone. See [http://wiki.apache.org/couchdb/Frequently_asked_questions#secure_remote_server
the FaQ] for some (but not all) security options.'''
-    1. {{{sudo vim /usr/local/etc/couchdb/default.ini }}}
+      1. {{{sudo vim /usr/local/etc/couchdb/default.ini }}}
       1. Search for "bind_address" and change it to 0.0.0.0
       1. Save and exit
-    '''NOTE: This step makes your CouchDB instance available for everyone. See [http://wiki.apache.org/couchdb/Frequently_asked_questions#secure_remote_server
the FaQ] for some (but not all) security options.'''
+    1. ''(Alternative option)'' Set up port forwarding to access your DB, for example with
SSH.
+      1. {{{ssh -L 5984:localhost:5984 -l ubuntu <public DNS name>}}}
+      1. Leave that session open as long as you need the proxy to work
+      1. Your new DB URL will be http://127.0.0.1:5984/ instead.
     1. {{{sudo -i -u couchdb couchdb }}}
   1. Test it by going to {{{http://<public dns name>:5984/_utils/}}}
  

Mime
View raw message