Drop the bastion in the clouds (AWS, Azure (kinda), and GCP)

sorry for the bad graphic :(
# session manager plugin install
curl "https://s3.amazonaws.com/session-manager-downloads/plugin/latest/mac/sessionmanager-bundle.zip" -o "sessionmanager-bundle.zip"
unzip sessionmanager-bundle.zip
sudo ./sessionmanager-bundle/install -i /usr/local/sessionmanagerplugin -b /usr/local/bin/session-manager-plugin
aws ssm start-session — target <instance_id>
Starting session with SessionId: <instance_id>
sh-4.2$ echo "success!"

Wait. wait. wait.., I thought you said “drop” the bastion…

Totally didn’t steal this from their docs…
Didn’t steal this from their docs either…
gcloud compute ssh <instance_id> --zone <instance_zone> --tunnel-through-iap

--

--

Get the Medium app

A button that says 'Download on the App Store', and if clicked it will lead you to the iOS App store
A button that says 'Get it on, Google Play', and if clicked it will lead you to the Google Play store