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.

I have assigned AutoScaling to my instance.

The problem is that I have to use a given DNS which is associated with my ElasticLoadBalance.

Not the DNS with the single instance.

Also I know that I cannot assign an elastic IP to the ElasticLoadBalance but only to a single Instance.

Q1. How can I register ElasticLoadBalance DNS to my domain since I cannot use Elastic IP?

Q2. I want to connect my Database. Since an elastic IP with an instance is not proper way to use ElasticLoadBalance, I tried to connect my Database with ElasticLoadBalance DNS but did not work but only worked with a Single Instance DNS. How can I handle this problem?

share|improve this question
What and Where is your database? Are you using RDS or are you trying to run MySQL on the scaled instances? (the latter is going to fail. A lot.) –  SmallClanger Sep 15 '11 at 10:18
I'm using mongoDB in root instance for right now.. But possibly I have to change to RDS? –  Jeong Woo Chang Sep 15 '11 at 11:57
What about simple DB they provide (NoSQL like mongoDB)? –  Jeong Woo Chang Sep 15 '11 at 11:58
But I prefer using mongoDB :) –  Jeong Woo Chang Sep 15 '11 at 12:04
So you're running mongoDB on more than one EC2 instance and you want to load balance the TCP connections between them? –  SmallClanger Sep 15 '11 at 12:26

Your Answer


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

Browse other questions tagged or ask your own question.