Using IP Restricted APIs (White List) from the Cloud Platform

What is the best solution for calling an API that has a whitelist of IP addresses from a cloud platform such as AWS Elastic Beanstalk, which by its nature does not have a fixed IP address?

I recently ran into this problem as more and more applications that I manage are being created for cloud platforms. So far, the only real option I've come across is creating a file on a static IP server that acts as a proxy for API requests.

Are there any better solutions out there?

+4
source share
1 answer

Example β†’ This is the task of balancing the elastic load. Each AWS Elastic Bean Stitch environment has its own URL. This URL is independent - also from any instance running inside your environment. Only the load balancer is available, which instance is working, and which one it should call for the request.

So, if you want to make your API available, use your own load balancer, which directs your request to a dynamic executable instance (with dynamic ip). There are many different load balancers. Apache Tomcat has its own way for load balancing, so if you are using apache tomcat for your API, this may be the right way :).

-1
source

All Articles