Add session manager to DLE CFT
Description
- added AWS SSM infra to DLE CFT for secure connections
- added dblab cli init
Usage example
to install ssm agent on ubuntu
curl "https://s3.amazonaws.com/session-manager-downloads/plugin/latest/ubuntu_64bit/session-manager-plugin.deb" -o "session-manager-plugin.deb"
sudo dpkg -i session-manager-plugin.deb
for MacOS and Windows - https://docs.aws.amazon.com/systems-manager/latest/userguide/session-manager-working-with-install-plugin.html
to open ssh connection
aws ssm start-session --target instance-id`
to open ssh tunnel
aws ssm start-session --target instance-id --document-name AWS-StartPortForwardingSessionToRemoteHost --parameters '{"portNumber":["2346"],"localPortNumber":["2346"],"host":["localhost"]}'
Edited by Dmitry Fomin