To enable SSH into an instance in VPC, need to check the Route Table associated with the VPC. Add a route
Destination: 0.0.0.0/0
Target: igw-id where id is the id of the Internet Gateway of the same VPC.
More info check out https://docs.aws.amazon.com/vpc/latest/userguide/VPC_Scenario1.html