https://github.com/kaihendry/private-ssm-tf
Bastion host for AWS Systems Manager
https://github.com/kaihendry/private-ssm-tf
amazon-web-services aws private ssm terraform vpn
Last synced: 5 months ago
JSON representation
Bastion host for AWS Systems Manager
- Host: GitHub
- URL: https://github.com/kaihendry/private-ssm-tf
- Owner: kaihendry
- Created: 2022-06-26T04:57:33.000Z (about 4 years ago)
- Default Branch: main
- Last Pushed: 2022-09-03T08:02:23.000Z (almost 4 years ago)
- Last Synced: 2025-10-10T10:55:52.079Z (9 months ago)
- Topics: amazon-web-services, aws, private, ssm, terraform, vpn
- Language: HCL
- Homepage:
- Size: 16.6 KB
- Stars: 2
- Watchers: 1
- Forks: 2
- Open Issues: 1
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Goal
Connect to an instance in a Private subnet, a subnet with no Internet connection.

Warning: You probably need to tweak the security groups and you often need to
be patient for the Session Manager to offer a Connect button!
aws ssm start-session --target $(terraform output -raw instance_id)
# Trouble shooting
https://aws.amazon.com/premiumsupport/knowledge-center/ec2-systems-manager-vpc-endpoints/
If the instance does not have Internet connectivity, i.e. ssm.region.amazonaws.com is unreachable, you must setup VPC endpoints.
# Makefile
You can use the Makefile as inspiration for overriding the S3 backend config.