I am able to connect to a bastion host created with a CloudFormation template from Cloudonaut using my own SSH key. I set this variable to true in the template.
But I am having trouble connecting to my cluster EC2 instance that was also built with IAMUserSSHAccess.
How is this supposed to work? Am I supposed log into the bastion host and then be able to hop to the EC2 (this is how we usually connect when using the key that was used to create the host)? And should I be connecting to ec2-user or my own user on the EC2instance?
Or am I supposed to open up SSHaccess to the EC2 in its security group then connect to the instance directly. That doesn’t work either.
The goal is to have developers be able to connect to a Docker container using their own keys so we don’t have to share the"baked in" key. I have read your fine article: