How to access/ping a server located on AWS?

Viewed 65966

With what address should a server located on AWS be accessed?

I've created an AWS instance and installed a web server on it. However the server is not reachable via any of the:

  1. ec2-174-129-24-92.compute-1.amazonaws.com
  2. the IP address from instance's ifconfig
  3. an elastic IP address I've created on the AWS dashboard and associated with the instance

Surprisingly, ssh with root@ec2-174-129-24-92.compute-1.amazonaws.com works fine.

What might be the problem and how to bind an address to the instance?

10 Answers

I found that if you install a VPN server on your AWS server, you can connect to the VPN and ping the private IP address in the virtual private network.

Related