Convenience tool to create SSH tunnels to cluster applications on AWS
Project description
Convenience tool to create SSH tunnels to cluster applications on AWS.
Example cluster applications would be:
Kafka
Zookeeper
Cassandra
This tool automatically adds the private VPC IPs to your local loopback lo interface and to your /etc/hosts file. Cluster nodes can be accessed directly from your local machine.
$ tunnels my-senza-stack 9092 odd-eu-central-1.myteam.example.org --region eu-central-1
Installation
$ git clone https://github.com/zalando-stups/ssh-tunnels.git
$ cd ssh-tunnels
$ sudo python3 setup.py install # remove "sudo" if you have user-local Python setup
Usage
Connecting to a Cassandra cluster deployed with Senza:
$ piu odd-eu-west-1.myteam.example.org SSH tunnel to Cassandra for keyspace management
$ tunnels my-cassandra 9042 odd-eu-west-1.myteam.example.org --region eu-west-1
# open a new terminal
$ cqlsh 172.31.141.1 # take one seed IP printed by tunnels.py
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
stups-ssh-tunnels-0.1.tar.gz
(3.3 kB
view details)
Built Distribution
File details
Details for the file stups-ssh-tunnels-0.1.tar.gz
.
File metadata
- Download URL: stups-ssh-tunnels-0.1.tar.gz
- Upload date:
- Size: 3.3 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 237f65a49a57c3ccb8d85d5eca97464a3c4d0e5a2e970eaf8902cc0f628ba423 |
|
MD5 | 362cc6a82b0a989b73f001eb2d69587d |
|
BLAKE2b-256 | 5b1296a7f0e97014bf48c6fbc52f1a8b45e3045e76632b001a4e3d6ab7a65c10 |
File details
Details for the file stups_ssh_tunnels-0.1-py3-none-any.whl
.
File metadata
- Download URL: stups_ssh_tunnels-0.1-py3-none-any.whl
- Upload date:
- Size: 4.9 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 37757a1f28801d3ebe29fcdb966006609d6c9a2763b0719d39706dbe9eb66512 |
|
MD5 | 23f2136cf71ead6a72c443d28bcd67e8 |
|
BLAKE2b-256 | 78350c61213c6328041e80fe00086d3627cfa9b92f053af22852ab842b50215d |