3 ms·
Best tip on the page is using CNAME's instead of A records. It's the least obvious of them.
by garyrichardson 17y ago
Best tip on the page is using CNAME's instead of A records. It's the least obvious of them.
- spudlyo 17y agoRight. Although it wasn't clear what exactly they meant by using a CNAME. They could have cleared it up greatly by saying using a CNAME to the official DNS name of the elastic IP, i.e. ec2-75-101-137-243.compute-1.amazonaws.com.
- OmarIsmail 17y agoYou can also use the internal IP address of the machine. i.e. with Windows instances if you do an IP Config you'll see an address to the effect of 10.X.X.X. Instances in the same availability zone can communicate with one another using these IP addresses without leaving the network. This saves dramatically on costs and performance.
- spudlyo 17y agoSure, you can do that, but hard coding ephemeral IP addresses into your configuration is still problematic.