Skip to content

Instantly share code, notes, and snippets.

@DiegoTc
Created November 7, 2018 02:48
Show Gist options
  • Save DiegoTc/777cd845263e59e70ca4ea40ed9584b4 to your computer and use it in GitHub Desktop.
Save DiegoTc/777cd845263e59e70ca4ea40ed9584b4 to your computer and use it in GitHub Desktop.
Connect_to_EC2
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