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.