An open API service indexing awesome lists of open source software.

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

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.