I have set up below VPC configuration but the SSH to the instance is not happening at the moment:
- Created a new VPC
- Created a public and private subnet
- Launched an ec2 instance to the public subnet updated route tables for internet gateway
- Launched ec2 instance to private subnet.
- Associated a natgateway to the public subnet with in EIP
- Route table updated for private subnet with natgateway
SSH from public instance to private instance is not happening with keypair. Can you let me know what have I missed here.