Can i have multiple public outgoing ip on an amazon aws Instance?

I have one instance with two network interfaces and two elastic ip each one, so i can ssh to my server using both publics ips.

That's enough to get multiple public outgoing ip?

  • outgoing for what, web server? yes, that's enough. – user16081-JoeT Aug 13 '13 at 23:52
  • Yes it's for my web server, but i need to rotate the outgoing public ip. Do you know how can i do that? – Luis Martin Aug 14 '13 at 16:33
  • It may be helpful to be a little more clear (and detailed) about what you want to do exactly, (and maybe even why, eg what are you trying to achieve by doing this) – Drew Khoury Aug 15 '13 at 4:42

Can i have multiple public outgoing ip on an amazon aws Instance?

Yes, though it needs to be done via a VPC as you can only assign IP per network interface.

Note: It seems a little strange to setup two public IPs for the purpose of SSHing using either, but there might be a use case for it or another reason which isn't clear.

There are some interesting articles here about working with AWS http://aws.amazon.com/whitepapers/

Do you NEED multiple public IP Addresses

First, make sure you really need multiple public IPs


By default, all accounts are limited to 5 Elastic IP addresses per region.

Q: Do I need one Elastic IP address for every instance that I have running? No. You do not need an Elastic IP address for all your instances. By default, every instance comes with a private IP address and an internet routable public IP address.

Elastic Network Interfaces in VPC

If you need multiple public IPs consider Elastic Network Interfaces in the Virtual Private Cloud.



  • 1
    Well, i'm already using amazon vpc, in fact i have two Elastic Network Interfaces with one private ip each one, and Two elastic ips, the ssh was only for test the external connection to the public ips. But i want to know how i can use both elastic ip as my source ip when the server connects to internet – Luis Martin Aug 14 '13 at 15:58
  • You need to be more clear as to what you're asking in your question. And if you're asking for something a little unusual it can help to explain what you're actually trying to achieve. – Drew Khoury Aug 15 '13 at 2:32

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

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