Created
November 5, 2024 02:43
-
-
Save adenot/68b56784bd629b8808e8aa82baa0ffa5 to your computer and use it in GitHub Desktop.
Port Forward using AWS SSM Session Manager to access private services like RDS
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
aws ssm start-session --target <instance-id> --document-name AWS-StartPortForwardingSessionToRemoteHost --parameters '{"portNumber":["3306"],"localPortNumber":["3306"],"host":["remote-database-host-name"]}' |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment