2

Currently we are running an application in a single amazon ec2 machine. On our application we are using some third party solution. For using those solution, we have asked the third party service provider to whitelist our ec2 machine ip.

our EC2 machine: IP - 172.12.32.55
Third party solution like global.bank.com and we have told global.bank.com to whitelist our IP

Now we want to scale up our application. We are planing to setup multiple node (our application in multiple ec2 machine) and a load balancer.

So my questions is, how i can manage our third party solution provider? Should I give all our ec2 machine ips to our third party solution providers for whitelist? Or is their any other solution to handle the situation?

1 Answer 1

3

A possible approach could be:

  • Put your instances in a private subnet
  • Route incoming traffic through a load balancer
  • Route outgoing traffic through a NAT

Outgoing traffic will then use the elastic IP assigned to your NAT as its source IP.

An added benefit of this approach from a security perspective is that your instances won't be directly reachable from the internet, thus reducing your attack surface.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

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