Run the bash shell interactively on Lambda Custom Runtime via ngrok
Clone or download
Latest commit 2899757 Dec 18, 2018
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
src first commit Dec 18, 2018
.gitignore first commit Dec 18, 2018
Makefile first commit Dec 18, 2018
README.md update readme Dec 18, 2018
template.yaml first commit Dec 18, 2018

README.md

Run the bash shell interactively on Lambda Custom Runtime

Requirements

Setup

export SAM_PACKAGE_BUCKET=$YOUR_S3_BUCKET_NAME
export NGROK_AUTH_TOKEN=$YOUR_NGROK_AUTH_TOKEN
make init

Deploy

make build
make deploy

Start interaction

1. Start TCP Server on Lambda

make start

2. Check your ngrok endpoint and port on ngrok dashboard

3. Access the endpoint via telnet

telnet $YOUR_NGROK_ENDPOINT $YOUR_NGROK_PORT

End interaction

bash-4.2$ touch /tmp/exit