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 a scenario where an application requires multiple private IP addresses but does not require the resources of multiple instances.

In this case, I would like to run multiple jboss instances on the same EC2 instance without port mangling.

I've seem threads up to 2009 that stated this is not possible, checking if this has changed.

EDIT: I want to re-emphasize the private IP address is the question, not the elastic/public IP address. I am sorry I did not make this more specific.

share|improve this question

migrated from stackoverflow.com Oct 11 '11 at 7:25

This question came from our site for professional and enthusiast programmers.

1  
Should be moved to serverfault –  Alexandre Jasmin Oct 28 '10 at 20:12
    
I don't understand the negativity with the down votes. It's a valid question for stackoverflow. There are tons of ec2 related questions here. –  Till Oct 30 '10 at 15:23
    
The specifics of the question is with regards to private IP addresses, not the Elastic/public IP addresses which has already been addressed. –  user468164 Nov 1 '10 at 11:18

2 Answers 2

Unfortunately this is still the case. Quoting from the Amazon EC2 Elastic IP Addresses - FAQ:

Can an instance have more than one Elastic IP or Public IP?

Today, an instance can only have one Internet routable IP address. If an Elastic IP is mapped to an instance its existing Public IP address mapping is removed.

share|improve this answer

Afaik, it's still not possible.

Some people run vserver or UML on an ec2 instance. You could set up various environments in there and then port forward from the host, etc. but that seems overcomplicated (IMHO).

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.