Coder Social home page Coder Social logo

ssm-helpers's Introduction

SSM Helpers

Helpers to manage you systems with AWS Systems Manager suite of management tools.

Tools in this repo

  • ssm subcommands:

    • session - Interactive shell with an instance via AWS Systems Manager Session Manager (ssh and cssh replacement)

    • run - Run a command on multiple instances based on instance tags or names (mco and knife replacement)

If you would like more information about the available commands, see the README for each in ./cmd/<command-name>/.

Install

goreleaser

Homebrew

Install the tools via homebrew with

brew install disneystreaming/tap/ssm-helpers

For more information on Homebrew taps please see the tap documentation

Docker

You can run the tools from docker containers

# ssm run
docker run -it --rm -v $HOME/.aws:/root/.aws \
    -e AWS_PROFILE=$AWS_PROFILE -e AWS_REGION=$AWS_REGION \
    docker.pkg.github.com/disneystreaming/ssm-helpers/ssm run

# ssm session (change detach keys for tmux)
docker run -it --rm --detach-keys 'ctrl-e,e' \
    -v $HOME/.aws:/root/.aws -e AWS_PROFILE=$AWS_PROFILE \
    -e AWS_REGION=$AWS_REGION \
    docker.pkg.github.com/disneystreaming/ssm-helpers/ssm session

Manually

You can find tagged releases for Windows, macOS, and Linux on the releases page

Latest from main

To install the package from git, you can fetch it via:

go get github.com/disneystreaming/ssm-helpers/

Build

make build

Testing

make test

Linting

make check

Develop

Each subcommand lives in the cmd/<command-name> folder and is written in go.
They use the aws-sdk-go as well as our own fork of gomux.
The go-ssm-helpers library has been integrated into this project and will be archived.
If you find bugs or would like to suggest improvements please use GitHub issues on the appropriate repo.

ssm-helpers's People

Contributors

jordanfaust avatar jschell12 avatar ncatelli avatar rothgar avatar sendqueery avatar zbintliff avatar

Watchers

 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.