code_ada
code_ada

Reputation: 884

use one common public ip address for multiple ec2 instances

I'm using aws ec2 instances as web servers.

There are more then 20 web servers and they has to connect to some external services. Those external services has ip based security rules. Because of this reason I have to use a only one or two public ip address to connect those services.

How can i route outgoing traffics to use only one public ip address ?

Upvotes: 1

Views: 3339

Answers (1)

Julio Faerman
Julio Faerman

Reputation: 13501

Yes, you could use a NAT instance for that. Just make sure your instance is large enough to accommodate the desired throughput.

See: http://docs.aws.amazon.com/AmazonVPC/latest/UserGuide/VPC_NAT_Instance.html

Upvotes: 5

Related Questions