Server Fault is a question and answer site for system and network administrators. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

I've been setting up Amazon EC2 instances for an upcoming project which will involve hosting multiple websites on multiple web servers. They are all micro instances, running Ubuntu Server 64bit.

Here's what I have so far:

  • Web Server -- Apache
  • Database Server -- MySQL
  • Development Server -- Apache & MySQL
  • File Server -- SVN & Bacula (backups are done to S3 buckets)

Currently there's only one Web server, but I've made an image of it, so once the project starts I can launch as many instances as I need and configure them individually.

Everything has been going smoothly, but I've hit some snags.

My first problem is that many of the instances will need to communicate with each other and I would prefer to use their Private IP to reduce costs and increase performance. However, should an instance be stopped and restarted, its Private IP changes. I posted a question yesterday regarding this and its looking like the best solution is to use Dynamic DNS. Unfortunately, I've never setup a DNS server before.

Does anyone know of any detailed walkthroughs on how to do setup a DNS server for this purpose?

share|improve this question

I would look at power DNS, i think that would work, write your self a script that checks the internal IP and pulls from P DNS and if there different connect to MYSQL table and change it. thats how I do it

share|improve this answer
up vote 0 down vote accepted

I finally, decided it was simpler to use Amazon's Route53 service than setup my own DNS Server.

For more information how how I did this, look at my other StackOverflow question.

share|improve this answer

Your Answer


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.