Skip to content

Latest commit

 

History

History
12 lines (10 loc) · 340 Bytes

File metadata and controls

12 lines (10 loc) · 340 Bytes

Accessing an EC2 Instance via SSH, with key stored in Secrets Manager

This utility connects to an EC2 instance and runs a shell command. The SSH key to the EC2 Instance is retrieved from AWS Secrets Manager.

  • npm install
  • Edit the .env file and supply the key name and instance to connect to
  • node runapp.js