did you enable UFW on your EC2 instance for any kinds work like setup apache, ngnix , ftp or something. After that got stucked ? Its really sucks for a newbie like me sometimes when you are learning AWS.
Follow this step carefully, Hope you will be get rid from this problem.
1. First you need to stop the AWS instance or light-sail. Give a few seconds to be stopped.
For this just right click on the instance, you will get the option like my one.
2. Again go to the right click and change user data.
After click on instace setting-> you need to edit the user data.
2. Final action
Copy this code and paste this user data & save it. Now please start the instance , it will work like a charm 😍 Fill Free to comment to mail me if there has still problem.
Read More