Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

SSM Port Forwarding Session #70

Open
Scalldog opened this issue Dec 21, 2022 · 0 comments
Open

SSM Port Forwarding Session #70

Scalldog opened this issue Dec 21, 2022 · 0 comments

Comments

@Scalldog
Copy link

A while back, AWS released SSM Port Forwarding Sessions:
https://aws.amazon.com/about-aws/whats-new/2022/05/aws-systems-manager-support-port-forwarding-remote-hosts-using-session-manager/

This is very useful when you want to use a bastion host as a proxy for other services like RDS.

This is how it currently works in the AWS CLI, a similar component should be easy enough to create in this helper tool.

aws ssm start-session --profile ${profile_name} --region us-west-1 --target i-12345678901 --document-name AWS-StartPortForwardingSessionToRemoteHost --parameters host=my-databases.endpoint-address.region.rds.amazonaws.com,portNumber="3306",localPortNumber="3306"
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant