GithubHelp home page GithubHelp logo

jumpbox-tools's Introduction

Do it!

curl -L https://raw.githubusercontent.com/bonnefoa/jumpbox-tools/master/bootstrap.sh | sh

Available commands

jr (jump role)

Connect and deploy jumpbox-tools to the first hostname of this role Autocompletion is supported

jr mcnulty-query

ji (jump instance)

Connect and deploy jumpbox-tools to the specified instance name or ip Hostname autocompletion is supported

ji i-1234

chosts_by_role (consul hosts by role)

Get the list of all instance with this role

chosts_by_role mcnulty-query

chosts_by_role (consul ips by role)

Get the list of all ip with this role

cip_by_role mcnulty-query

tmux.multi

Open a synchornised tmux on the 6 first instances with this role

.jumpbox-tools/tmux.multi -r mcnulty-query -m 6

Open a synchornised tmux on the 3 given instances

.jumpbox-tools/tmux.multi -d "i-0e7024e9fac36c16c i-0a65c0784df322ce6 i-0a11e73d23ea042b2"

Caveat

Capistrano tasks like

cap kafka-cold:topic[points.multi]

will fail since zsh interpret [] as arguments.

To avoid this problem, prefix it with noglob or quote cap the command

cap "kafka-cold:topic[points.multi]"

jumpbox-tools's People

Contributors

bonnefoa avatar leocavaille avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.