How do i connect the private instance through public instance

How Accessing private ec2 instance reside in private subnet from the public EC2 instance with the same key pair .and in same VPC in AWS

NAt Gateways or bastion jump with same pair key you shoul use bastion jump for temporary purpose But it should be same key

Hi @cpazure,

If both instances are in the same VPC, they can talk to each other unless the security group blocks it. You can SSH into the public instance first, then from there SSH into the private instance using its private IP. Let me know if you have any other questions.