Take the 2-minute tour ×
Server Fault is a question and answer site for professional system and network administrators. It's 100% free, no registration required.

When I spin up a machine in us-west-2 and give it an elastic IP, it gets a public DNS hostname like

ec2-XXX-XXX-XXX-XXX.us-west-2.compute.amazonaws.com

When I spin up a machine in us-east-1 and give it an elastic IP, it gets a public DNS hostname like

ec2-XXX-XXX-XXX-XXX.compute-1.amazonaws.com

Why the difference?

When I reassociate an elastic IP, will the public DNS hostname be the same?

share|improve this question
2  
Since you got the elastic IP you should use it and not CNAME to this DNS record. –  Andrew Smith Jun 30 '12 at 9:45

2 Answers 2

up vote 2 down vote accepted

Well if you wonder for such a details, the difference is because European datacentre was established after the US one, so the Europe got the sub-domain, while the US kept the original short version to preserve the backwards compatibility and increase stability of already deployed services.

share|improve this answer
    
Thanks! Sounds plausible enough. Accepted. –  Adam Monsen Jul 22 '12 at 4:35

Elastic ips' public DNS hostname always stays the same. When you associate an elastic ip to instance, the instance's public DNS hostname changes.

share|improve this answer

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.