Skip to main content

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

This version

0.1

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 hashes)

Uploaded Source

Built Distribution

stups_ssh_tunnels-0.1-py3-none-any.whl (4.9 kB view hashes)

Uploaded Python 3

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page