I am new to Amazon EC2. The application is working fine on the Amazon EC2 Windows Server. But when i am trying to access the same through the public ip, it is not accessible. I have seen the inbound configurations and the ports(HTTP,HTTPS,SSH) are enabled.
I am unable to access the application through public ip.
http:ec2-XX-XX-XXX-XX.us-west-2.compute.amazonaws.com
is accessible when inside the EC2 region, however
XX.XX.XXX.XX:8080/myapp
is not accessible.
XX.XX.XXX.XX is the public ip.
Yess.. This is VPC..!!!
Open the Amazon EC2 console at https://console.aws.amazon.com/ec2/ . Select an AMI and an instance type that supports IPv6, and choose Next: Configure Instance Details. On the Configure Instance Details page, for Network, select a VPC and for Subnet, select a subnet. For Auto-assign IPv6 IP, choose Enable.
For accessing internet from EC2 instance in public subnet using Internet Gateway, the instance needs to have public IP address. Either one can configure the instance to have public IP address or attach EIP.
Verify that your instance is ready Check your instance to make sure it is running and has passed its status checks. Open the Amazon EC2 console at https://console.aws.amazon.com/ec2/ . In the navigation pane, choose Instances, and then select your instance.
6 Answers. Show activity on this post. Actually, When you stop/start your instance, the IP address will change. If you reboot the instance, it will keep the same IP addresses.
create security group with request you are wish to grant access. here I've created security group to any request
Then add the specific security group to network interface
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With