Day 27 SSH port 22 is not accessible for instance devops-pub-ec2

,

I am created vpc name as devops-pub-vpc and subnet all setting up and and launch an instance name as devops-pub-ec2 and i my self ssh into in and it works but after submitting task SSH port 22 is not accessible for instance devops-pub-ec2



Could you please retry this again?
When creating the EC2 instance, ensure it is attached to the newly created VPC and Subnet.

ec2-vpc

If you find difficulties, you may also refer to the solution here.

Hi there!
If you can access via SSH then i assume your IG/SG/RouteTable configurations are okay.
As Santosh mentioned, maybe the instance aws not created in the correct VPC, or maybe you have a wrong tag Name in some of your resources, thus failing the lab checks.

You could also refer to my solution if it helps.