task is failing even after trying and completing it.
1st Time: Created new key pair and added inbound rule as http and allowed port 80
2nd Time: Created with default security group added already in the aws sandbox
Both the time I am able to access ngin using publicIP of the ec2 instance