Skip to content

Commit

Permalink
Add VPC deployment instructions to FAQ. Fixes #134.
Browse files Browse the repository at this point in the history
  • Loading branch information
dan-blanchard committed Jul 27, 2016
1 parent ef3f6b1 commit d2bd1ac
Showing 1 changed file with 20 additions and 0 deletions.
20 changes: 20 additions & 0 deletions doc/source/faq.rst
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,7 @@ General Questions
* `How do I trigger some code before or after I submit my topology?`_
* `How should I install streamparse on the cluster nodes?`_
* `Should I install Clojure?`_
* `How do I deploy into a VPC?`_

Why use streamparse?
~~~~~~~~~~~~~~~~~~~~
Expand Down Expand Up @@ -99,3 +100,22 @@ servers.

.. _bundles Clojure as a requirement: https://github.com/apache/storm/blob/5383ac375cb2955e3247d485e46f1f58bff62810/pom.xml#L320-L322

How do I deploy into a VPC?
^^^^^^^^^^^^^^^^^^^^^^^^^^^

Update your ``~/.ssh/config`` to use a bastion host inside your VPC for your
commands::

Host *.internal.example.com
ProxyCommand ssh bastion.example.com exec nc %h %p

If you don't have a common subdomain you'll have to list all of the hosts
individually::

Host host1.example.com
ProxyCommand ssh bastion.example.com exec nc %h %p
...

Set up your streamparse config to use all of the hosts normally (without bastion
host).

0 comments on commit d2bd1ac

Please sign in to comment.