Created
November 7, 2018 02:48
-
-
Save DiegoTc/777cd845263e59e70ca4ea40ed9584b4 to your computer and use it in GitHub Desktop.
Connect_to_EC2
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
ssh -i YOUR-KEYPAIR.pem -L PORT:RDS-ENDPOINT:5432 ec2-user@YOUR-JUMPING-SERVER | |
PORT: THE ONE YOU DECIDE | |
RDS-ENDPOINT: DATABASE ENDPOINT | |
YOUR-JUMPING-SERVER : THE IP OF YOUR EC2 INSTANCE |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment