npm package discovery and stats viewer.

Discover Tips

  • General search

    [free text search, go nuts!]

  • Package details

    pkg:[package-name]

  • User packages

    @[username]

Sponsor

Optimize Toolset

I’ve always been into building performant and accessible sites, but lately I’ve been taking it extremely seriously. So much so that I’ve been building a tool to help me optimize and monitor the sites that I build to make sure that I’m making an attempt to offer the best experience to those who visit them. If you’re into performant, accessible and SEO friendly sites, you might like it too! You can check it out at Optimize Toolset.

About

Hi, 👋, I’m Ryan Hefner  and I built this site for me, and you! The goal of this site was to provide an easy way for me to check the stats on my npm packages, both for prioritizing issues and updates, and to give me a little kick in the pants to keep up on stuff.

As I was building it, I realized that I was actually using the tool to build the tool, and figured I might as well put this out there and hopefully others will find it to be a fast and useful way to search and browse npm packages as I have.

If you’re interested in other things I’m working on, follow me on Twitter or check out the open source projects I’ve been publishing on GitHub.

I am also working on a Twitter bot for this site to tweet the most popular, newest, random packages from npm. Please follow that account now and it will start sending out packages soon–ish.

Open Software & Tools

This site wouldn’t be possible without the immense generosity and tireless efforts from the people who make contributions to the world and share their work via open source initiatives. Thank you 🙏

© 2024 – Pkg Stats / Ryan Hefner

leapp-ec2-instance-connect-plugin

v1.0.51

Published

The Leapp plugin to establish SSH remoting and forwarding via EC2 instance connect

Downloads

18

Readme

Leapp EC2 Instance Connect Plugin

Introduction

This plugin aims to help developers and AWS users in general for remoting and forwarding into EC2 instance! This plugin source code inspiration ~~(copy and edit)~~ based on:

https://github.com/christian-calabrese/leapp-ssm-tunnels-plugin

How it works?

The plugin uses this command aws ec2-instance-connect send-ssh-public-key to upload SSH public key to EC2 instance. Then SSH-ing (remote/forward) to EC2 instance (test).

Plugin in action!

It's possible to install and use this plugin as well explained by the Noovolari team throughout the Leapp's documentation that you can find here: Leapp plugins introduction

How to install?

  1. Open Settings (⚙)
  2. Click Plugins
  3. Type leapp-ec2-instance-connect-plugin in Insert an npm package name
  4. Click plus icon (⊕)

How to install

How to configure the plugin?

This plugin makes use of a json configuration file (ec2-connect-config.json) where you can specify the parameters needed to establish the tunnel.

You can use the below example to create your own file and place it in the Leapp installation folder (usually in $HOME (macos/linux/powershell) or %USERPROFILE% (windows/CMD) user directory).

For example:

$HOME/.Leapp/ec2-connect-config.json

You can find an example of such file in this repository called ec2-connect-config.example.json

[
  {
    "sessionName": "Session1",
    "availabilityZone": "ap-southeast-1c",
    "instanceId": "i-0abcdefghijkl1234",
    "instanceOSUser": "ec2-user",
    "instanceIPAddress": "8.8.8.8",
    "sshPath": "/home/username/.ssh",
    "sshPublicKeyFile": "id_ed25519.pub",
    "sshPrivateKeyFile": "id_ed25519",
    "modeType": "remoting/forwarding",
    "mode": "forwarding",
    "configs": [
      {
        "remoteHost": "ec2instancename.xxxx.ap-southeast-1.rds.amazonaws.com",
        "remotePort": "3306",
        "localPort": "3307"
      }
    ]
  },
  {
    "sessionName": "Session2",
    "availabilityZone": "ap-southeast-1c",
    "instanceId": "i-0abcdefghijkl1234",
    "instanceOSUser": "ec2-user",
    "instanceIPAddress": "8.8.8.8",
    "sshPath": "/home/username/.ssh",
    "sshPublicKeyFile": "id_ed25519.pub",
    "sshPrivateKeyFile": "id_ed25519",
    "modeType": "remoting/forwarding",
    "mode": "remoting"
  }
]

How to use?

  1. Configure the plugin (see How to configure the plugin? section)
  2. Create AWS session
  3. Right click on the session
  4. Choose Plugins
  5. Click Start EC2 instance connect

How to use