EC2 instance has no public DNS

amazon-ec2, amazon-vpc, amazon-web-services

Solution

I had the same problem an solved it. Have a look at the step-by-step instructions:

- Go to console.aws.amazon.com

- Go To Services -> VPC

- Open Your VPCs

- select your VPC connected to your EC2 and

- select Actions => Edit DNS Hostnames ---> Change DNS hostnames: to YES

Problem

A guy I work with gave me the EC2 credentials to log onto his EC2 console. I was not the one who set it up. Some of the instances show a public dns name and others have a blank public DNS. I want to be able to connect to the instances that have a blank public DNS. I have not been able to figure out why these show up as blank.

Original source

Related problems