Skip to content

Instantly share code, notes, and snippets.

View obja's full-sized avatar

Matt Young obja

View GitHub Profile

Keybase proof

I hereby claim:

  • I am obja on github.
  • I am redhatmatt (https://keybase.io/redhatmatt) on keybase.
  • I have a public key ASBYMykSOL0Io1HL-176LEEvdC0WTge0Er-INrRMiduLHQo

To claim this, I am signing this object:

Keybase proof

I hereby claim:

  • I am obja on github.
  • I am redhatmatt (https://keybase.io/redhatmatt) on keybase.
  • I have a public key ASBYMykSOL0Io1HL-176LEEvdC0WTge0Er-INrRMiduLHQo

To claim this, I am signing this object:

@obja
obja / enophile
Created July 9, 2018 16:57
db tunnel connect pattern
ssh -N -L 8888:db_hostname:3306 ec2-user@jumphost_public_ip -i ec2_ssh_key.pem
"Outputs" : {
"WebsiteURL" : {
"Value" : { "Fn::Join" : ["", ["http://", { "Fn::GetAtt" : [ "WebServer", "PrivateDnsName" ]}]] },
"Description" : "Drupal Website"
},
"EC2IP" : {
"Value" : { "Fn::GetAtt" : [ "WebServer", "PrivateIp" ] },
"Description" : "Private IP"
}
}