Skip to content
This repository has been archived by the owner on Dec 20, 2019. It is now read-only.
/ ssh-tunnels Public archive

Command line utility to manage SSH tunnels for cluster applications on AWS

Notifications You must be signed in to change notification settings

zalando-stups/ssh-tunnels

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

27 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

SSH Tunnels

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

$ sudo pip3 install --upgrade stups-ssh-tunnels

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

About

Command line utility to manage SSH tunnels for cluster applications on AWS

Resources

Stars

Watchers

Forks

Packages

No packages published

Contributors 4

  •  
  •  
  •  
  •  

Languages