I am a newbie on AWS . I did the following:
- launched an EC2 instance
- SSHed the instance and installed apache web server on it
- echoed the hostname (private DNS) of the EC2 instance back .
- created Image (AMI)
- launched another EC2 with the image created above
I see that when I access the public ip for both the instances on the browser (http://ip) then it reflects the same hostname (private DNS) that was created on the original instance I was expecting that the private DNS should change on the second instance .Am I doing something incorrect ?