Can someone explain EC2 private instances?
I am learning AWS.
I created an ec2 private instance, private subnet uses NAT, pubic instance uses IG. I can connect to the instance with SSM manager but I cannot ssh into it. I have sg groups that allow ssh.
The problem is I don’t fully understand this concept of private instances and the AWS docs don’t explain them.
I want to be able to ssh into the private instance without using private connection link or public ip, or SSM.
What would I need to configure?
Can the ssh connection to private ec2 be configured without ALB or NLB?
Thanks.
Edit:
Thank you all the responses and the time spared. It really helped me understand private subnets and ec2 instances better.