Skip to content
This repository has been archived by the owner on Sep 16, 2019. It is now read-only.

telia-oss/terraform-aws-bastion

Repository files navigation

Bastion

Build Status

Template for provisioning an auto-scaling bastion instance with static IP. Authorized keys are added at launch, and ingress is limited to the specified CIDR blocks.

  • Login: ssh forward@<bastion-ip>
  • Tunnel: ssh -t forward@<bastion-ip> "tunnel user@<destination-ip>"

NOTE: tunnel is just ssh -i <path-to-pem> in a bash script.