storm-ssm-session
v1.1.4
Published
Javascript wrapper to start a bash compatible SSM Session
Downloads
2
Readme
STORM SSM Session Manager Tool
About AWS System Manager Session Manager
Session Manager is a fully managed AWS Systems Manager capability that lets you manage your Amazon EC2 instances, on-premises instances, and virtual machines (VMs) through an interactive one-click browser-based shell or through the AWS CLI. Session Manager provides secure and auditable instance management without the need to open inbound ports, maintain bastion hosts, or manage SSH keys. Session Manager also makes it easy to comply with corporate policies that require controlled access to instances, strict security practices, and fully auditable logs with instance access details, while still providing end users with simple one-click cross-platform access to your managed instances.
Quick Start
Requirements
- Install NodeJS
- Install AWS CLI
- Install Session Manager plugin
- Install SAML2AWS
- Use saml2aws to log into the account
NodeJS
Installation
cd /path/where/you/want/to/store/this/project
git clone [email protected]:ictstorm/storm-ssm-session.git
cd storm-ssm-session
npm i
npm i -g ./
Run
storm-ssm-session [-p profile] [-r region] [-i instance-name]
The program will use either the default profile or the provided named profile to log into the account. Region is either passed via CLI or assumed to be eu-west-1. It then prompts you with a list of running instances you can log into. Choose one and a Shell will start.
License
The MIT License (MIT) Copyright (c) 2020 Federico Barbero