Day 40: Troubleshooting Internet Accessibility for an EC2-Hosted Application
100 Days of Cloud (AWS)

I'm Zin Lin Htet. Who love to learn and share about Linux, Cloud, Docker and K8s. Currently working as a DevOps Engineer at one of the famous Fintech Company in Myanmar.
Welcome to Day 40. Today, we will learn how to troubleshoot internet accessibility for an application hosted on EC2. When I try to access my EC2 instance's public IP via a browser, there is no response. I then check whether my EC2 instance's subnet is public or private. My instance is in a public subnet, but I still can't access my application from the internet. Then I checked the VPC settings and saw that my public subnet's route table was not connected to the Internet gateway. So, I went to the Internet gateway settings and saw that my Internet Gateway was not attached to the VPC. That's the main cause of the issue. After I attached my Internet Gateway to the VPC, I was able to access my application from the internet.












Congratulations you did it. It looks good. This lab was successfully completed without any errors. See you in day 41. If you have any issues please let me know I will be happy to assist you. Stay tuned and learn together. If you find my article useful, please kindly like and share it.




